Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

feat: Migrate image registry from GAR to AWS ECR #431

Merged
merged 4 commits into from
Sep 20, 2024

Conversation

Rupeekshan
Copy link
Member

Description

This PR addresses the image registry migration from GAR to AWS ECR.

  • Final release images will be published to MLOps ECR, H2O ECR, and MC ECR.
  • Snapshots and latest images will be published to MLOps ECR.

We also updated the tag format for events like merges to the main/release branch and manual pushes:

  • For commits: sha-{commit}
  • For manual pushes: branch-{branch_name}

We applied ECR lifecycle policies for the repo:

  • Rule 1: Remove images older than 7 days with the branch-* wildcard tag (for manually published images).
  • Rule 2: Remove images older than 30 days with the sha-* wildcard tag (for snapshots/latest).

@Rupeekshan Rupeekshan changed the title eat: Migrate image registry from GAR to AWS ECR feat: Migrate image registry from GAR to AWS ECR Sep 19, 2024
jakubhava
jakubhava previously approved these changes Sep 19, 2024
@Rupeekshan Rupeekshan merged commit 364f35c into main Sep 20, 2024
12 checks passed
@Rupeekshan Rupeekshan deleted the rupee/migrate-gar-to-ecr branch September 20, 2024 10:45
Rupeekshan added a commit that referenced this pull request Sep 26, 2024
* eat: Migrate image registry from GAR to AWS ECR

* fix
jakubhava pushed a commit that referenced this pull request Sep 26, 2024
* feat: Migrate image registry from GAR to AWS ECR (#431)

* eat: Migrate image registry from GAR to AWS ECR

* fix

* chore: Disable release publishing to MLOps ECR
jakubhava added a commit that referenced this pull request Sep 30, 2024
* fix: Inherit secrets and update branch retrieval for manual publish workflow (#415)

* chore: bump slackapi/slack-github-action in /.github/workflows (#416)

Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](slackapi/slack-github-action@v1.26.0...v1.27.0)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Run Full CI/CD on release tag and release branch creation (#417)

* chore: Run Full CI/CD on release tag and release branch creation

* chore: Run Full CI/CD on release tag and release branch creation

* chore: Run Full CI/CD on release tag and release branch creation

---------

Co-authored-by: Rupeekshan Maheswaran <[email protected]>

* chore: Make the Image Security Scan as a part of CI workflow (#418)

* chore: add commit to manually published image tag (#422)

* chore: use github_sha variable as in other repos

* chore: Switch to wolfi to fix critical vulnerability (#421)

* chore: Switch to wolfi to fix critical vulnerability

* nl

* fix nl

* fix

* fix

* Fix manual

* needs'

* make more clear

* toolchains

* Fix

* fix: Fix job dependencies and commit hash input for scheduled scans (#424)

* fix: Improve commit hash input logic for CI versioning

* fix: Resolve job dependencies for scheduled scans

* fix: use numeric uid (#425)

* fix: Fix CVE-2024-38816 vulnerability (#426)

* fix: Fix CVE-2024-38816 vulnerability

* comment

* chore: bump joda-time:joda-time from 2.12.7 to 2.13.0 (#427)

* fix: Upgrade spring (#428)

* fix: Upgrade spring

* gradle.properties

* chore: bump chainguard/wolfi-base in /local-rest-scorer (#429)

Bumps [chainguard/wolfi-base](https://github.com/chainguard-images/images) from `0f1d816` to `b06d453`.
- [Commits](https://github.com/chainguard-images/images/commits)

---
updated-dependencies:
- dependency-name: chainguard/wolfi-base
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: bump chainguard/wolfi-base in /local-rest-scorer (#430)

Bumps [chainguard/wolfi-base](https://github.com/chainguard-images/images) from `b06d453` to `7574456`.
- [Commits](https://github.com/chainguard-images/images/commits)

---
updated-dependencies:
- dependency-name: chainguard/wolfi-base
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: Upgrade Spring 3.3.4 (#432)

* feat: Migrate image registry from GAR to AWS ECR (#431)

* eat: Migrate image registry from GAR to AWS ECR

* fix

* chore: Disable release publishing to MLOps ECR (#433)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Rupeekshan Maheswaran <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sivakajan Sivaparan <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants