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

switch GCR -> Artifact-Registry #156

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions .ci/pipeline_definitions
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ cert-management:
version:
preprocess: inject-branch-name
inject_effective_version: true
component_descriptor: ~
component_descriptor:
ocm_repository: europe-docker.pkg.dev/gardener-project/snapshots
publish:
dockerimages:
cert-management:
dockerfile: build/Dockerfile
image: eu.gcr.io/gardener-project/cert-controller-manager
image: europe-docker.pkg.dev/gardener-project/snapshots/cert-controller-manager
inputs:
repos:
source: ~
Expand All @@ -36,6 +37,8 @@ cert-management:
preprocess: inject-commit-hash
component_descriptor:
retention_policy: 'clean-snapshots'
ocm_repository_mappings:
- repository: europe-docker.pkg.dev/gardener-project/releases

pull-request:
traits:
Expand All @@ -47,10 +50,16 @@ cert-management:
traits:
version:
preprocess: 'finalize'
component_descriptor:
ocm_repository: europe-docker.pkg.dev/gardener-project/releases
release:
nextversion: 'bump_minor'
next_version_callback: '.ci/prepare_release'
release_callback: '.ci/prepare_release'
publish:
dockerimages:
cert-management:
image: europe-docker.pkg.dev/gardener-project/releases/cert-controller-manager
slack:
default_channel: 'internal_scp_workspace'
channel_cfgs:
Expand All @@ -62,6 +71,12 @@ cert-management:
traits:
version:
preprocess: finalize
component_descriptor:
ocm_repository: europe-docker.pkg.dev/gardener-project/releases
publish:
dockerimages:
cert-management:
image: europe-docker.pkg.dev/gardener-project/releases/cert-controller-manager
release:
nextversion: bump_patch
next_version_callback: '.ci/prepare_release'
Expand All @@ -78,6 +93,12 @@ cert-management:
release:
nextversion: noop
release_callback: .ci/prepare_release
component_descriptor:
ocm_repository: europe-docker.pkg.dev/gardener-project/releases
publish:
dockerimages:
cert-management:
image: europe-docker.pkg.dev/gardener-project/releases/cert-controller-manager
slack:
channel_cfgs:
internal_scp_workspace:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: Apache-2.0

REGISTRY := eu.gcr.io/gardener-project
REGISTRY := europe-docker.pkg.dev/gardener-project/public
EXECUTABLE := cert-controller-manager
REPO_ROOT := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
PROJECT := github.com/gardener/cert-management
Expand Down
2 changes: 1 addition & 1 deletion charts/cert-management/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fullnameOverride: cert-controller-manager
replicaCount: 1

image:
repository: eu.gcr.io/gardener-project/cert-controller-manager
repository: europe-docker.pkg.dev/gardener-project/public/cert-controller-manager
tag: v0.11.4-master
pullPolicy: IfNotPresent

Expand Down