-
Notifications
You must be signed in to change notification settings - Fork 21
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
E2e tests fixes after 0.19 updates #267
Conversation
@@ -276,8 +276,8 @@ def init(ctx, kfp_url: str, with_github_actions: bool): | |||
context_helper = ctx.obj["context_helper"] | |||
project_name = context_helper.context.project_path.name | |||
if with_github_actions: | |||
image = f"gcr.io/${{google_project_id}}/{project_name}:${{commit_id}}" | |||
run_name = f"{project_name}:${{commit_id}}" | |||
image = f"gcr.io/${{oc.env:KEDRO_CONFIG_GOOGLE_PROJECT_ID}}/{project_name}:${{oc.env:KEDRO_CONFIG_COMMIT_ID, unknown-commit}}" # noqa: E501 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Lasica Shouldn't this be just oc.env:google_project_id
as we are replacing the env variable's prefix and converting to lowercase here ?
Further reference: kedro-kubeflow doc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It used to be the case, now it's a bit irrelevant. It should work in the way I specified with the env variables provided. In general I want to remove and deprecate EnvTemplatedConfigLoader and replace it with recommendations to use oc.env directly.
Description
describe the purpose of the change here
Resolves
<issue nr here>
PR Checklist