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 #128

Merged
merged 2 commits 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
18 changes: 12 additions & 6 deletions .ci/pipeline_definitions
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
hvpa-controller:
template: 'default'
base_definition:
repo: ~
traits:
version:
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:
- linux/amd64
- linux/arm64
dockerimages:
hvpa-controller:
registry: 'gcr-readwrite'
image: 'eu.gcr.io/gardener-project/gardener/hvpa-controller'
image: europe-docker.pkg.dev/gardener-project/snapshots/gardener/hvpa-controller
dockerfile: 'Dockerfile'
inputs:
repos:
Expand All @@ -29,7 +28,9 @@ hvpa-controller:
jobs:
head-update:
traits:
component_descriptor: ~
component_descriptor:
ocm_repository_mappings:
- repository: europe-docker.pkg.dev/gardener-project/releases
draft_release: ~
pull-request:
traits:
Expand All @@ -38,6 +39,12 @@ hvpa-controller:
traits:
version:
preprocess: 'finalize'
component_descriptor:
ocm_repository: europe-docker.pkg.dev/gardener-project/releases
publish:
dockerimages:
hvpa-controller:
image: europe-docker.pkg.dev/gardener-project/releases/gardener/hvpa-controller
release:
nextversion: 'bump_minor'
git_tags:
Expand All @@ -49,4 +56,3 @@ hvpa-controller:
internal_scp_workspace:
channel_name: 'C017KSLTF4H' # gardener-autoscaling
slack_cfg_name: 'scp_workspace'
component_descriptor: ~
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

VERSION := $(shell cat VERSION)
PACKAGES :="$(go list -e ./... | grep -vE '/tmp/|/vendor/')"
REGISTRY := eu.gcr.io/gardener-project/gardener
REGISTRY := europe-docker.pkg.dev/gardener-project/public
REPO_ROOT := $(shell dirname "$(realpath $(lastword $(MAKEFILE_LIST)))")

IMAGE_REPOSITORY := $(REGISTRY)/hvpa-controller
IMAGE_REPOSITORY := $(REGISTRY)/gardener/hvpa-controller
IMAGE_TAG := $(VERSION)

# Image URL to use all building/pushing image targets
Expand Down