Skip to content

Commit

Permalink
[TD-196] Commits to rel-eng on master sync'd to release-3.2 (TykTechn…
Browse files Browse the repository at this point in the history
…ologies#3500)

Commit directly to release heads for older branches. This PR also adds the tagging and pushing of ancillary docker images (plugin compiler and hybrid) for -rc tags.

This will complete the release engineering automation for tyk.
  • Loading branch information
alephnull authored Mar 22, 2021
1 parent 84ff3a4 commit abea9fe
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/del-env.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Generated by: tyk-ci/wf-gen
# Generated on: Wednesday 17 March 2021 01:11:52 PM UTC
# Generated on: Mon 22 Mar 05:04:49 UTC 2021

# Generation commands:
# ./pr.zsh -branch goreleaser/fixes -title rel-eng: osx tarballs and other fixes
# ./pr.zsh -title Push ancillary docker images -branch releng/sync -base releng/sync -repos tyk -p
# m4 -E -DxREPO=tyk

name: Retiring dev env
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Generated by: tyk-ci/wf-gen
# Generated on: Wednesday 17 March 2021 01:11:52 PM UTC
# Generated on: Mon 22 Mar 05:04:49 UTC 2021

# Generation commands:
# ./pr.zsh -branch goreleaser/fixes -title rel-eng: osx tarballs and other fixes
# ./pr.zsh -title Push ancillary docker images -branch releng/sync -base releng/sync -repos tyk -p
# m4 -E -DxREPO=tyk

# Distribution channels covered by this workflow
Expand Down Expand Up @@ -176,9 +176,15 @@ jobs:
- name: Push unstable docker image
if: steps.targets.outputs.hub == 'unstable' && steps.targets.outputs.upload == 'true'
run: |
tag=${GITHUB_REF##*/}
docker tag tykio/tyk-gateway tykio/tyk-gateway:${{ steps.targets.outputs.hub }}
docker tag tykio/tyk-gateway tykio/tyk-gateway:${GITHUB_REF##*/}
docker tag tykio/tyk-gateway tykio/tyk-gateway:${tag}
docker push --all-tags tykio/tyk-gateway
docker tag tykio/tyk-plugin-compiler tykio/tyk-plugin-compiler:${tag}
docker push tykio/tyk-plugin-compiler:${tag}
docker tag tykio/tyk-hybrid-docker tykio/tyk-hybrid-docker:${tag}
docker push tykio/tyk-hybrid-docker:${tag}
# AWS mktplace update only for LTS releases
aws-mktplace-byol:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
branch: [ release-3, release-3-lts, release-3.2 ]
branch: [ release-3.2 ]

steps:
- uses: actions/checkout@v2
Expand All @@ -44,6 +44,6 @@ jobs:
for f in $FILES; do
git checkout --theirs origin/master -- $f || true
done
git commit -a -m "[CI] Syncing automation from master"
git commit -a -m "[CI] Syncing release automation from master"
git push origin
echo "::warning::${FILES} syncd for ${{matrix.branch}}"
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Generated by: tyk-ci/wf-gen
# Generated on: Wednesday 17 March 2021 01:11:52 PM UTC
# Generated on: Mon 22 Mar 05:04:49 UTC 2021

# Generation commands:
# ./pr.zsh -branch goreleaser/fixes -title rel-eng: osx tarballs and other fixes
# ./pr.zsh -title Push ancillary docker images -branch releng/sync -base releng/sync -repos tyk -p
# m4 -E -DxREPO=tyk


Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.slim
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Generated by: tyk-ci/wf-gen
# Generated on: Wednesday 17 March 2021 01:11:52 PM UTC
# Generated on: Mon 22 Mar 05:04:49 UTC 2021

# Generation commands:
# ./pr.zsh -branch goreleaser/fixes -title rel-eng: osx tarballs and other fixes
# ./pr.zsh -title Push ancillary docker images -branch releng/sync -base releng/sync -repos tyk -p
# m4 -E -DxREPO=tyk

FROM gcr.io/distroless/static-debian10
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.std
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Generated by: tyk-ci/wf-gen
# Generated on: Wednesday 17 March 2021 01:11:52 PM UTC
# Generated on: Mon 22 Mar 05:04:49 UTC 2021

# Generation commands:
# ./pr.zsh -branch goreleaser/fixes -title rel-eng: osx tarballs and other fixes
# ./pr.zsh -title Push ancillary docker images -branch releng/sync -base releng/sync -repos tyk -p
# m4 -E -DxREPO=tyk

FROM debian:buster-slim
Expand Down
4 changes: 2 additions & 2 deletions aws/byol.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Generated by: tyk-ci/wf-gen
# Generated on: Wednesday 17 March 2021 01:11:52 PM UTC
# Generated on: Mon 22 Mar 05:04:49 UTC 2021

# Generation commands:
# ./pr.zsh -branch goreleaser/fixes -title rel-eng: osx tarballs and other fixes
# ./pr.zsh -title Push ancillary docker images -branch releng/sync -base releng/sync -repos tyk -p
# m4 -E -DxREPO=tyk

variable "aws_access_key" {
Expand Down
4 changes: 2 additions & 2 deletions integration/terraform/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Generated by: tyk-ci/wf-gen
# Generated on: Wednesday 17 March 2021 01:11:52 PM UTC
# Generated on: Mon 22 Mar 05:04:49 UTC 2021

# Generation commands:
# ./pr.zsh -branch goreleaser/fixes -title rel-eng: osx tarballs and other fixes
# ./pr.zsh -title Push ancillary docker images -branch releng/sync -base releng/sync -repos tyk -p
# m4 -E -DxREPO=tyk


Expand Down

0 comments on commit abea9fe

Please sign in to comment.