Skip to content

Commit ec726f4

Browse files
authored
Merge pull request kubernetes-sigs#10489 from sbueringer/pr-move-nightly-manifests
🌱 Publish nightly manifests to staging bucket
2 parents 3e4c196 + 10afe11 commit ec726f4

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ REGISTRY ?= gcr.io/$(shell gcloud config get-value project)
197197
PROD_REGISTRY ?= registry.k8s.io/cluster-api
198198

199199
STAGING_REGISTRY ?= gcr.io/k8s-staging-cluster-api
200-
STAGING_BUCKET ?= artifacts.k8s-staging-cluster-api.appspot.com
200+
STAGING_BUCKET ?= k8s-staging-cluster-api
201201

202202
# core
203203
IMAGE_NAME ?= cluster-api-controller
@@ -1127,7 +1127,8 @@ release-staging-nightly: ## Tag and push container images to the staging bucket.
11271127
$(MAKE) manifest-modification-dev REGISTRY=$(STAGING_REGISTRY) RELEASE_TAG=$(NEW_RELEASE_ALIAS_TAG)
11281128
## Build the dev manifests
11291129
$(MAKE) release-manifests-dev
1130-
# Example manifest location: artifacts.k8s-staging-cluster-api.appspot.com/components/nightly_main_20210121/bootstrap-components.yaml
1130+
# Example manifest location: https://storage.googleapis.com/k8s-staging-cluster-api/components/nightly_main_20240425/core-components.yaml
1131+
# Please note that these files are deleted after a certain period, at the time of this writing 60 days after file creation.
11311132
gsutil cp $(RELEASE_DIR)/* gs://$(STAGING_BUCKET)/components/$(NEW_RELEASE_ALIAS_TAG)
11321133

11331134
.PHONY: release-alias-tag

docs/book/src/clusterctl/commands/upgrade.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ clusterctl upgrade apply \
148148

149149
<h1> Deploying nightly release images </h1>
150150

151-
Cluster API publishes nightly versions of the project componenents' manifests from the `main` branch to a Google storage bucket for user consumption. The syntax for the URL is: `https://storage.googleapis.com/artifacts.k8s-staging-cluster-api.appspot.com/components/nightly_main_<YYYYMMDD>/<COMPENENT_NAME>-components.yaml`.
151+
Cluster API publishes nightly versions of the project components' manifests from the `main` branch to a Google storage bucket for user consumption. The syntax for the URL is: `https://storage.googleapis.com/k8s-staging-cluster-api/components/nightly_main_<YYYYMMDD>/<COMPENENT_NAME>-components.yaml`.
152152

153-
For example, to retrieve the core component manifest published January 1, 2024, the following URL can be used: https://storage.googleapis.com/artifacts.k8s-staging-cluster-api.appspot.com/components/nightly_main_20240101/core-components.yaml.
153+
Please note that these files are deleted after a certain period, at the time of this writing 60 days after file creation.
154+
155+
For example, to retrieve the core component manifest published April 25, 2024, the following URL can be used: `https://storage.googleapis.com/k8s-staging-cluster-api/components/nightly_main_20240425/core-components.yaml`.

docs/book/src/clusterctl/developers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ if you want to run your tests using a Cluster API nightly build, you can run the
109109
(change the date at the end of the bucket name according to your needs):
110110

111111
```bash
112-
cmd/clusterctl/hack/create-local-repository.py https://storage.googleapis.com/artifacts.k8s-staging-cluster-api.appspot.com/components/nightly_main_20240101
112+
cmd/clusterctl/hack/create-local-repository.py https://storage.googleapis.com/k8s-staging-cluster-api/components/nightly_main_20240425
113113
```
114114

115115
Note: this works only with core Cluster API nightly builds.

0 commit comments

Comments
 (0)