Skip to content
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

ENH: Allow pathogen-repo-ci to invoke workflow in subfolder #63

Closed
1 task
corneliusroemer opened this issue Sep 25, 2023 · 2 comments
Closed
1 task
Labels
enhancement New feature or request

Comments

@corneliusroemer
Copy link
Member

corneliusroemer commented Sep 25, 2023

Context

Current pathogen-repo-ci seems to assume that we don't need to customize workdir in nextstrain build ., i.e. we can't set nextstrain build foobar.

Our nextstrain/pathogen-repo-template, however, puts the main workflow in a folder. So we should add that feature.

See https://bedfordlab.slack.com/archives/C01LCTT7JNN/p1695664810319929 for discussion

Description

A clear and concise description of what you want to happen

Possible solution

Tried in #57 but introduce a bug in upload-artifact.
Tried to address in #62 but couldn't get it to work.

Checklist

@victorlin
Copy link
Member

zika no longer has a top-level workflow, increasing the need for this. I'll make PRs to disable it from all CI for now.

genehack added a commit that referenced this issue May 22, 2024
This adds the following features to the `pathogen-repo-ci` workflow:

* defines a `build-target` argument that will get passed to
  `nextstrain build` as a target directory — this allows the targeting
  of sub-dir based workflows, which was the main original issue in #63
* defines arguments (`download-previous-artifact`,
  `previous-artifact-name`) and a conditional step (`Dowload previous
  step artifact`) to support the downloading of the build artifact from
  a previous step to allow testing of later steps in a complete
  pathogen repo build

This combination of features was all that was needed to support [a CI
workflow for
`seasonal-cov`](nextstrain/seasonal-cov#11)
that:

1. runs an ingest workflow for a subset of the regular build data
2. uploads an artifact with the ingest output
3. downloads that artifact into a phylogenetic workflow
4. runs the phylogenetic workflow for the same subset of data
@genehack genehack mentioned this issue May 31, 2024
1 task
@joverlee521
Copy link
Contributor

This has been superceded by #90

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants