Skip to content

Commit

Permalink
Restore teleport-private deb/rpm gating
Browse files Browse the repository at this point in the history
This was removed in #9783, and should not have been.
  • Loading branch information
wadells committed Feb 23, 2022
1 parent 07f1a14 commit ef67345
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4838,11 +4838,16 @@ steps:
# this step exits early and skips all remaining steps in the pipeline if the
# tag looks like a pre-release, to avoid pushing pre-release RPMs and DEBs to
# our yum / apt repos.
- name: Check if repo is public
image: alpine
commands:
- if [ "${DRONE_REPO}" != "gravitational/teleport" ]; then echo "---> Not publishing ${DRONE_REPO} packages to RPM and DEB repos" && exit 78; fi

- name: Check if tag is prerelease
image: golang:1.17-alpine
commands:
- cd /go/src/github.com/gravitational/teleport/build.assets/tooling
- go run ./cmd/check -tag ${DRONE_TAG} -check prerelease || (echo '---> Not publishing ${DRONE_REPO} packages to RPM and DEB repos' && exit 78)
- go run ./cmd/check -tag ${DRONE_TAG} -check prerelease || (echo '---> Not publishing ${DRONE_TAG} packages to RPM and DEB repos' && exit 78)

- name: Download RPM repo contents
image: amazon/aws-cli
Expand Down Expand Up @@ -5035,6 +5040,6 @@ volumes:
name: drone-s3-debrepo-pvc
---
kind: signature
hmac: 7212c3b6f83e020958e4c90cacee6b2b746c728ee0a22d3ce4605f40273f0115
hmac: 0c5316489efc1bfa9acfd87bed0e2807ec4f2b8e123649c168c9d675e3c8a4cc

...

0 comments on commit ef67345

Please sign in to comment.