Skip to content

Fix run filtering in nightly distribution script #1512

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

Merged
merged 1 commit into from
Jul 27, 2020

Conversation

MaxDesiatov
Copy link

Currently the script filters out completed runs, but failed runs are completed too and end up as candidates for nightly distribution. This is fixed by passing the additional conclusion=success argument to the API request. Additionally the branch API request argument does substring filtering, which means that swiftwasm-release/5.3 runs end up as candidates for swiftwasm snapshots, since the former is a substring of the latter. I've added exact string filtering to the jq pipeline to fix this.

@MaxDesiatov MaxDesiatov added continuous integration Improvements to continuous integration bug Something isn't working labels Jul 27, 2020
Copy link
Member

@kateinoigakukun kateinoigakukun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🙏

@MaxDesiatov MaxDesiatov merged commit b922205 into swiftwasm Jul 27, 2020
@MaxDesiatov MaxDesiatov deleted the maxd/fix-nightly-distribution branch July 27, 2020 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working continuous integration Improvements to continuous integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants