[go: up one dir, main page]

Skip to content

Commit

Permalink
cleanup: Delete dead release machinery
Browse files Browse the repository at this point in the history
Signed-off-by: Luke Shumaker <lukeshu@datawire.io>
  • Loading branch information
LukeShu committed Feb 17, 2022
1 parent e8faa82 commit 27a9cf4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 81 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/promote-ga.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ jobs:
- name: "make release/promote-oss/to-ga"
run: |
make release/promote-oss/to-ga
# TODO: need to get dev mirror to test
#- name: "make release/ga-mirror"
#run: |
#make release/ga-mirror
- name: Slack notification
if: always()
uses: edge/simple-slack-notify@master
Expand Down
27 changes: 0 additions & 27 deletions builder/builder.mk
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ COPY_GOLD = $(abspath $(BUILDER_HOME)/copy-gold.sh)

AWS_S3_BUCKET ?= datawire-static-files

GCR_RELEASE_REGISTRY ?= gcr.io/datawire

# the image used for running the Ingress v1 tests with KIND.
# the current, official image does not support Ingress v1, so we must build our own image with k8s 1.18.
# build this image with:
Expand Down Expand Up @@ -597,31 +595,6 @@ else
endif
.PHONY: release/promote-oss/to-ga

# `make release/go VERSION=v2.Y.Z` is meant to be run by the human
# maintainer who is preparing to promote an RC to GA. It will create
# and push a v2.Y.Z Git tag.
release/go:
@[[ -n "$(RELEASE_REGISTRY)" || (printf '$(RED)ERROR: RELEASE_REGISTRY must be set$(END)\n'; exit 1)
@[[ "$(VERSION)" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$$ ]] || (printf '$(RED)ERROR: VERSION must be set to a GA "v2.Y.Z" value; it is set to "%s"$(END)\n' "$(VERSION)"; exit 1)
@[[ -z "$$(git status -s)" ]] || (printf '$(RED)ERROR: tree must be clean$(END)\n'; exit 1)
{ \
export RELEASE_REGISTRY=$(RELEASE_REGISTRY); \
export IMAGE_NAME=$(LCNAME); \
$(OSS_HOME)/releng/02-release-ga $(patsubst v%,%,$(VERSION)) $(patsubst v%,%,$(CHART_VERSION)); \
}
.PHONY: release/go

# `make release/ga-mirror` aught to be run by CI, but because
# credentials are a nightmare it currently has to be run by a human
# maintainer.
release/ga-mirror:
@[[ -n "$(RELEASE_REGISTRY)" || (printf '$(RED)ERROR: RELEASE_REGISTRY must be set$(END)\n'; exit 1)
@[[ "$(VERSION)" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$$ ]] || (printf '$(RED)ERROR: VERSION must be set to a GA "v2.Y.Z" value; it is set to "%s"$(END)\n' "$(VERSION)"; exit 1)
{ $(OSS_HOME)/releng/release-mirror-images \
--ga-version=$(patsubst v%,%,$(VERSION)) \
--source-repo=$(RELEASE_REGISTRY)/$(LCNAME) \
--image-name=$(LCNAME); }

# `make release/ga-check` is meant to be run by a human maintainer to
# check that CI did all the right things.
release/ga-check:
Expand Down
50 changes: 0 additions & 50 deletions releng/02-release-ga

This file was deleted.

0 comments on commit 27a9cf4

Please sign in to comment.