Skip to content

Commit

Permalink
Use configured template REF in CI (#1851)
Browse files Browse the repository at this point in the history
* use ref from config for template

* suppress log output in getting env

* hardcode template ref

* add helper text

* revert debug changes

* aligh template ref
  • Loading branch information
avishniakov authored Oct 2, 2023
1 parent f9d5474 commit 7588668
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/update-e2e-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ jobs:
python-version: ${{ inputs.python-version }}
stack-name: local
ref-zenml: ${{ github.ref }}
ref-template: 2023-09-28 # Make sure it is aligned with ZENML_PROJECT_TEMPLATES from zenml/cli/base.py

- name: message-on-error
if: failure()
Expand Down
2 changes: 1 addition & 1 deletion src/zenml/cli/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def copier_github_url(self) -> str:
ZENML_PROJECT_TEMPLATES = dict(
e2e_batch=ZenMLProjectTemplateLocation(
github_url="zenml-io/template-e2e-batch",
github_tag="2023-09-28",
github_tag="2023-09-28", # Make sure it is aligned with .github/workflows/update-e2e-template.yml
),
starter=ZenMLProjectTemplateLocation(
github_url="zenml-io/zenml-project-templates",
Expand Down

0 comments on commit 7588668

Please sign in to comment.