Skip to content

Commit

Permalink
GCR -> Artifact-Registry (#296)
Browse files Browse the repository at this point in the history
* cleanup: rm obsolete/redundant attributes

* switch GCR -> Artifact-Registry

GCR has been deprecated [0] in favour of Artifact-Registry.

Thus, change push-targets for OCI-Images:

- europe-docker.pkg.dev/gardener-project/snapshots for snapshots
- europe-docker.pkg.dev/gardener-project/releases for releases
- europe-docker.pkg.dev/gardener-project/public for read-access to
  snapshots + releases

[0]
https://cloud.google.com/artifact-registry/docs/transition/transition-from-gc
  • Loading branch information
ccwienk authored Jan 26, 2024
1 parent c1520ba commit a722253
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .ci/pipeline_definitions
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
autoscaler:
template: 'default'
base_definition:
repo:
source_labels:
Expand All @@ -19,6 +18,8 @@ autoscaler:
preprocess:
'inject-commit-hash'
inject_effective_version: true
component_descriptor:
ocm_repository: europe-docker.pkg.dev/gardener-project/snapshots
publish:
oci-builder: docker-buildx
platforms:
Expand All @@ -31,8 +32,7 @@ autoscaler:
source: ~ # default
steps:
build: ~
registry: 'gcr-readwrite'
image: 'eu.gcr.io/gardener-project/gardener/autoscaler/cluster-autoscaler'
image: europe-docker.pkg.dev/gardener-project/snapshots/gardener/autoscaler/cluster-autoscaler
dockerfile: './cluster-autoscaler/Dockerfile'
steps:
test:
Expand All @@ -44,7 +44,8 @@ autoscaler:
head-update:
traits:
component_descriptor:
ocm_repository: gardener-public
ocm_repository_mappings:
- repository: europe-docker.pkg.dev/gardener-project/releases
draft_release: ~
pull-request:
traits:
Expand All @@ -53,6 +54,12 @@ autoscaler:
traits:
version:
preprocess: 'finalize'
component_descriptor:
ocm_repository: europe-docker.pkg.dev/gardener-project/releases
publish:
dockerimages:
cluster-autoscaler:
image: europe-docker.pkg.dev/gardener-project/releases/gardener/autoscaler/cluster-autoscaler
release:
nextversion: 'bump_minor'
slack:
Expand All @@ -61,4 +68,3 @@ autoscaler:
internal_scp_workspace:
channel_name: 'C0170QTBJUW' # gardener-mcm
slack_cfg_name: 'scp_workspace'
component_descriptor: ~

0 comments on commit a722253

Please sign in to comment.