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

Promote images on release #22

Merged
merged 2 commits into from
Oct 31, 2023
Merged

Promote images on release #22

merged 2 commits into from
Oct 31, 2023

Conversation

vladem
Copy link
Contributor

@vladem vladem commented Oct 30, 2023

Description of changes:

Adjust actions to match the release process (runbook):

  • e2e tests workflow pushes verified images to <TEST_ECR>/s3-csi-driver:<COMMIT_HASH>
  • release workflow copies images from test ECR to prod ECR (will be public in feature)

TODOs:

  • release.yaml: replace private ECR with public;
  • release.yaml: push to ARS source repo as well;
  • e2e-tests.yaml: promote images from v* branches (for old release fixes)

Testing:


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@vladem vladem changed the title Promote images on release Promote images on release [WIP] Oct 30, 2023
@vladem vladem changed the title Promote images on release [WIP] Promote images on release Oct 30, 2023
concurrency: e2e-cluster
env:
AWS_REGION : "us-east-1"
KUBECONFIG: "/tmp/kubeconfig"
COMMIT_ID: ${{ github.event_name == 'push' && github.sha || github.event.pull_request.head.sha }}
TMP_IMAGE_NAME: "s3-csi-driver-tmp"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need a private ecr repo that's named this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, tmp here signifies that images will be removed from it (retention is set for 7 days), or what do you mean?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh I thought this was repo name, image name makes sense

@dlakhaws
Copy link
Contributor

does this change the documentation that we have in our release pipeline runbook at all?

@vladem vladem merged commit 866e0fe into main Oct 31, 2023
3 checks passed
@vladem vladem deleted the release-action branch October 31, 2023 10:28
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.

None yet

2 participants