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

E2e tests fixes after 0.19 updates #267

Merged
merged 8 commits into from
Jun 26, 2024
Merged

E2e tests fixes after 0.19 updates #267

merged 8 commits into from
Jun 26, 2024

Conversation

Lasica
Copy link
Contributor

@Lasica Lasica commented Jun 25, 2024

Description

describe the purpose of the change here

Resolves <issue nr here>

PR Checklist

@@ -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
Copy link
Contributor

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

Copy link
Contributor Author

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.

@Lasica Lasica changed the title tested pydantic 2.0, works but needs migration Finallizing updates needed to fix e2e tests after 0.19 updates Jun 25, 2024
@Lasica Lasica changed the title Finallizing updates needed to fix e2e tests after 0.19 updates E2e tests fixes after 0.19 updates Jun 25, 2024
@Lasica Lasica merged commit be41475 into develop Jun 26, 2024
8 of 10 checks passed
@Lasica Lasica deleted the force-e2e branch June 26, 2024 08:10
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