Skip to content

Commit e8eee54

Browse files
committed
Publish nightly manifests to new staging bucket
This PR starts publishing the nightly artifacts to the k8s-staging-cluster-api-aws bucket, instead of to the artifacts.k8s-staging-cluster-api-aws.appspot.com. The latter is the backing bucket of the google container registry and will go away eventually when we migrate from the container registry to the artifact registry. It was never meant to be used to store files that are not part of container images. Please note that the new location has a retention of 60 days (as of now). But that should be okay for nightly manifests.
1 parent 63c6635 commit e8eee54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ endif
9191
# Release variables
9292

9393
STAGING_REGISTRY ?= gcr.io/k8s-staging-cluster-api-aws
94-
STAGING_BUCKET ?= artifacts.k8s-staging-cluster-api-aws.appspot.com
94+
STAGING_BUCKET ?= k8s-staging-cluster-api-aws
9595
BUCKET ?= $(STAGING_BUCKET)
9696
PROD_REGISTRY := registry.k8s.io/cluster-api-aws
9797
REGISTRY ?= $(STAGING_REGISTRY)
@@ -631,6 +631,8 @@ release-alias-tag: # Adds the tag to the last build tag.
631631

632632
.PHONY: upload-staging-artifacts
633633
upload-staging-artifacts: ## Upload release artifacts to the staging bucket
634+
# Example manifest location: https://storage.googleapis.com/k8s-staging-cluster-api-aws/components/nightly_main_20240425/infrastructure-components.yaml
635+
# Please note that these files are deleted after a certain period, at the time of this writing 60 days after file creation.
634636
gsutil cp $(RELEASE_DIR)/* gs://$(BUCKET)/components/$(RELEASE_ALIAS_TAG)
635637

636638
IMAGE_PATCH_DIR := $(ARTIFACTS)/image-patch

0 commit comments

Comments
 (0)