-
Notifications
You must be signed in to change notification settings - Fork 11
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
Should the pathogen-repo-ci be louder if no workflows are run? #92
Comments
I think fine to leave each ingest/phylogenetic/nextclade workflow as optional, but maybe we should have a final conclusion job that checks at least one of the workflows ran? |
In this particular case, every repo where the Maybe instead of testing for the presence of that file in the individual build steps, and skipping if it's absent, there should be a preliminary job that checks once, and generates a failure (e.g., |
Yup, definitely support erroring early on this! In addition, I still think it'd be helpful to fail when none of the expected workflows ran. |
You wouldn't happen to be able to point me to an example of that sort of aggregated failure check in a GitHub Action, would you? |
I think the .github/.github/workflows/pathogen-repo-build.yaml Lines 596 to 613 in 7f910e6
|
Ah, yeah, cool, I can do the couple changes here. |
* Add ids to build steps in `pathogen-repo-ci` * Add `run-attempted` output to `run-nextstrain-ci-build` * Set output to true or false depending on whether build was attempted * Add step to `pathogen-repo-ci` to read outputs from `run-nextstrain-ci-build` and validate at least one build was tried
* Add ids to build steps in `pathogen-repo-ci` * Add `run-attempted` output to `run-nextstrain-ci-build` * Set output to true or false depending on whether build was attempted * Add step to `pathogen-repo-ci` to read outputs from `run-nextstrain-ci-build` and validate at least one build was tried
* Add ids to build steps in `pathogen-repo-ci` * Add `run-attempted` output to `run-nextstrain-ci-build` * Set output to true or false depending on whether build was attempted * Add step to `pathogen-repo-ci` to read outputs from `run-nextstrain-ci-build` and validate at least one build was tried
* Add ids to build steps in `pathogen-repo-ci` * Add `run-attempted` output to `run-nextstrain-ci-build` * Set output to true or false depending on whether build was attempted * Add step to `pathogen-repo-ci` to read outputs from `run-nextstrain-ci-build` and validate at least one build was tried
* Add ids to build steps in `pathogen-repo-ci` * Add `run-attempted` output to `run-nextstrain-ci-build` * Set output to true or false depending on whether build was attempted * Add step to `pathogen-repo-ci` to read outputs from `run-nextstrain-ci-build` and validate at least one build was tried
* Add ids to build steps in `pathogen-repo-ci` * Add `run-attempted` output to `run-nextstrain-ci-build` * Set output to true or false depending on whether build was attempted * Add step to `pathogen-repo-ci` to read outputs from `run-nextstrain-ci-build` and validate at least one build was tried
* Add ids to build steps in `pathogen-repo-ci` * Add `run-attempted` output to `run-nextstrain-ci-build` * Set output to true or false depending on whether build was attempted * Add step to `pathogen-repo-ci` to read outputs from `run-nextstrain-ci-build` and validate at least one build was tried
* Add ids to build steps in `pathogen-repo-ci` * Add `run-attempted` output to `run-nextstrain-ci-build` * Set output to true or false depending on whether build was attempted * Add step to `pathogen-repo-ci` to read outputs from `run-nextstrain-ci-build` and validate at least one build was tried
* Add ids to build steps in `pathogen-repo-ci` * Add `run-attempted` output to `run-nextstrain-ci-build` * Set output to true or false depending on whether build was attempted * Add step to `pathogen-repo-ci` to read outputs from `run-nextstrain-ci-build` and validate at least one build was tried
* Add ids to build steps in `pathogen-repo-ci` * Add `run-attempted` output to `run-nextstrain-ci-build` * Set output to true or false depending on whether build was attempted * Add step to `pathogen-repo-ci` to read outputs from `run-nextstrain-ci-build` and validate at least one build was tried
* Add ids to build steps in `pathogen-repo-ci` * Add `run-attempted` output to `run-nextstrain-ci-build` * Set output to true or false depending on whether build was attempted * Add step to `pathogen-repo-ci` to read outputs from `run-nextstrain-ci-build` and validate at least one build was tried
TODO
nextstrain-pathogen.yaml
file checks out into a single step prior to workflow run stepspathogen-repo-build
wait-conclusion
logic to trigger failure when no build steps are runOriginal issue content
Follow up to #89
Just noticed in our docker-base CI workflow that all the pathogen-repo-ci jobs have "succeeded" even though none of them ran any workflows.
This outcome is pretty misleading and can potentially lead to us missing when changes actually break pathogen workflows if we don't notice that the workflows never actually ran within CI.
The text was updated successfully, but these errors were encountered: