-
Notifications
You must be signed in to change notification settings - Fork 13
chore: eval test to release workflow #573
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
chore: eval test to release workflow #573
Conversation
Note(s) for PR Auther:
Note(s) for PR Reviewer(s):
|
@@ -38,7 +37,6 @@ on: | |||
# global env variables. | |||
env: | |||
REPOSITORY_FULL_NAME: "${{ github.repository }}" # <owner>/<repository-name>. | |||
IMAGE_NAME: "europe-docker.pkg.dev/kyma-project/prod/kyma-companion" # without tag. |
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.
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.
this is a draft and not ready for review.
## in the run-integration-test.yaml workflow as well. | ||
name: Run evaluation tests | ||
env: | ||
IMAGE_NAME: "europe-docker.pkg.dev/kyma-project/prod/kyma-companion" # without tag. |
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.
this is without tag. At this stage in the pipeline, we have not build the image for the tag.
So, I think we can use the ref/sha to fetch status of build job of that commit, and use that tag to test.
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.
For example: europe-docker.pkg.dev/kyma-project/prod/kyma-companion:7ba3567babc5cb8c494a83dc4e291d14deee9666
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.
so,
- Get the SHA of head commit from release branch.
- Use the image
europe-docker.pkg.dev/kyma-project/prod/kyma-companion:<SHA>
You would need another job to compute the image name and export it as job output, to use it in with
section. Example.
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.
this is a draft and not ready for review.
Description
Changes proposed in this pull request:
Related issue(s)