Skip to content

Commit 43d72f3

Browse files
g-gastonk8s-infra-cherrypick-robot
authored and
k8s-infra-cherrypick-robot
committed
Revert "🌱 Improve release staging build speed"
1 parent 6e5d950 commit 43d72f3

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -979,9 +979,7 @@ release-binary: $(RELEASE_DIR)
979979

980980
.PHONY: release-staging
981981
release-staging: ## Build and push container images to the staging bucket
982-
REGISTRY=$(STAGING_REGISTRY) $(MAKE) docker-build-all
983-
REGISTRY=$(STAGING_REGISTRY) $(MAKE) docker-push-all
984-
REGISTRY=$(STAGING_REGISTRY) $(MAKE) release-alias-tag
982+
REGISTRY=$(STAGING_REGISTRY) $(MAKE) docker-build-all docker-push-all release-alias-tag
985983

986984
.PHONY: release-staging-nightly
987985
release-staging-nightly: ## Tag and push container images to the staging bucket. Example image tag: cluster-api-controller:nightly_main_20210121

cloudbuild.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ steps:
1212
- TAG=$_GIT_TAG
1313
- PULL_BASE_REF=$_PULL_BASE_REF
1414
- DOCKER_BUILDKIT=1
15-
args: ['release-staging', '-j', '8', '-O']
15+
args:
16+
- release-staging
1617
substitutions:
1718
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and
1819
# can be used as a substitution
1920
_GIT_TAG: '12345'
20-
_PULL_BASE_REF: 'dev'
21+
_PULL_BASE_REF: 'dev'

0 commit comments

Comments
 (0)