-
Notifications
You must be signed in to change notification settings - Fork 0
Fix CI #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix CI #2
Conversation
54e9146 to
5afb292
Compare
7c7845d to
662b4a6
Compare
| steps: | ||
| - name: Waiting for ci/hydra-build:required to complete | ||
| run: | | ||
| while [[ true ]]; do | ||
| check_name='ci/hydra-build:required' | ||
| conclusion=$(gh api "repos/$GITHUB_REPOSITORY/commits/$GITHUB_SHA/check-runs?check_name=$check_name" --paginate --jq '.check_runs[].conclusion') | ||
| case "$conclusion" in | ||
| success) | ||
| echo "$check_name succeeded" | ||
| exit 0;; | ||
| '') | ||
| echo "$check_name pending. Waiting 30s..." | ||
| sleep 30;; | ||
| *) | ||
| echo "$check_name terminated unsuccessfully" | ||
| exit 1;; | ||
| esac | ||
| done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 we could use something similar to download cross compilation build artifacts in ouroboros-network.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to build the docker image, what what be the use case in ouroboros-network?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Download test artefacts and run them on native Windows machines (they don't run on Wine, and even if they did, it's not good enough).
014c858 to
7157091
Compare
1ae3cc4 to
b34b404
Compare
046c93e to
a0c59d7
Compare
f7a471e to
953f98d
Compare
Add CI work flows Formatting
953f98d to
290e7d8
Compare
290e7d8 to
91abf6b
Compare
List of changes
Checklist