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

ci: store image artifacts in separate paths #1234

Open
Ressetkk opened this issue Aug 8, 2024 · 0 comments
Open

ci: store image artifacts in separate paths #1234

Ressetkk opened this issue Aug 8, 2024 · 0 comments
Labels
area/ci Issues or PRs related to CI related topics kind/chore Categorizes issue or PR as related to a chore.

Comments

@Ressetkk
Copy link
Collaborator

Ressetkk commented Aug 8, 2024

/kind chore
/area ci

To unblock easy deployment of #1150 places where main and release images are put need to be separated.

Because we push images created by post-api-gateway-manager-build and rel-api-gateway-manager-build to the same directory with the same build tag format europe-docker.pkg.dev/kyma-project/prod/api-gateway-manager:vDATE-ShortSHA. That results in mix-matching the images used in main and in production. It also complicates developing simple automations around our images if we wanted to keep implementations of automated tasks separated.
My suggestion is to separate main and release images with subpath:

  • General idea: europe-docker.pkg.dev/kyma-project/prod/{REPOSITORY}/{TYPE}/{NAME}
  • main images build to europe-docker.pkg.dev/kyma-project/prod/api-gateway/main/api-gateway-manager
  • release images build to europe-docker.pkg.dev/kyma-project/prod/api-gateway/releases/api-gateway-manager

This will not affect the way how our images are signed or validated, as validation is configured against europe-docker.pkg.dev/kyma-project/prod

@kyma-bot kyma-bot added kind/chore Categorizes issue or PR as related to a chore. area/ci Issues or PRs related to CI related topics labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci Issues or PRs related to CI related topics kind/chore Categorizes issue or PR as related to a chore.
Projects
None yet
Development

No branches or pull requests

2 participants