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

feat: studios custom template option and extra validation #482

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

endre-seqera
Copy link
Member

@endre-seqera endre-seqera commented Jan 31, 2025

Fixes that came out of the validation task: https://seqera.atlassian.net/browse/PLAT-1338

  • add - template vs --custom-template, (white space removal)
  • start-as-new double check yaml file works with available templates, and does not work with custom templates (mutually exclusive --custom-template and conda env)
➜ ./gradlew run -q --args="--insecure studios add -n medve -w 22117901918827 -c 2rZkbXfTkiJxTVz18OJs3i -ct alma --conda-env-yml /Users/eend/a.yml"

 ERROR: DataStudio template provided is a custom template and cannot be used together with conda environment option.

➜  ./gradlew run -q --args="--insecure studios add -n medve -w 22117901918827 -c 2rZkbXfTkiJxTVz18OJs3i -t alma -ct korte"
Error: --template=<standardTemplate>, --custom-template=<customTemplate> are mutually exclusive (specify only one)

@endre-seqera endre-seqera merged commit 9eee2a1 into master Jan 31, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants