diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa9432714..afc7257f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,5 @@ # Generated by: gromit policy +# Generated on: Wed Apr 3 06:48:24 UTC 2024 # Distribution channels covered by this workflow # - Ubuntu and Debian @@ -86,24 +87,21 @@ jobs: goreleaser release --clean -f ${{ matrix.goreleaser }} ${{ !startsWith(github.ref, 'refs/tags/') && ' --snapshot' || '' }}' | tee /tmp/build.sh chmod +x /tmp/build.sh docker run --rm --privileged -e GITHUB_TOKEN=${{ github.token }} \ - -e GOPRIVATE=github.com/TykTechnologies \ + -e GOPRIVATE=github.com/TykTechnologies \ -e GO111MODULE=on \ - -e DEBVERS='${{ matrix.debvers }}' \ - -e RPMVERS='${{ matrix.rpmvers }}' \ - -e CGO_ENABLED=${{ matrix.cgo }} \ - -e NFPM_STD_PASSPHRASE="$NFPM_STD_PASSPHRASE" \ - -e GPG_FINGERPRINT=12B5D62C28F57592D1575BD51ED14C59E37DAC20 \ - -e PKG_SIGNING_KEY="$PKG_SIGNING_KEY" \ - -e PACKAGECLOUD_TOKEN=$PACKAGECLOUD_TOKEN \ + -e DEBVERS='${{ matrix.debvers }}' \ + -e RPMVERS='${{ matrix.rpmvers }}' \ + -e CGO_ENABLED=${{ matrix.cgo }} \ + -e NFPM_STD_PASSPHRASE="$NFPM_STD_PASSPHRASE" \ + -e GPG_FINGERPRINT=12B5D62C28F57592D1575BD51ED14C59E37DAC20 \ + -e PKG_SIGNING_KEY="$PKG_SIGNING_KEY" \ + -e PACKAGECLOUD_TOKEN=$PACKAGECLOUD_TOKEN \ -v ${{github.workspace}}:/go/src/github.com/TykTechnologies/tyk-pump \ - -v /var/run/docker.sock:/var/run/docker.sock \ - -v ~/.docker/config.json:/root/.docker/config.json \ - -e GOCACHE=/cache/go-build \ - -e GOMODCACHE=/go/pkg/mod \ - -v ~/go/pkg/mod:/go/pkg/mod \ - -v ~/.cache/go-build:/cache/go-build \ - -v /tmp/build.sh:/tmp/build.sh \ - -w /go/src/github.com/TykTechnologies/tyk-pump \ + -v /var/run/docker.sock:/var/run/docker.sock \ + -v ~/.docker/config.json:/root/.docker/config.json \ + -v ~/go/pkg/mod:/go/pkg/mod \ + -v /tmp/build.sh:/tmp/build.sh \ + -w /go/src/github.com/TykTechnologies/tyk-pump \ tykio/golang-cross:${{ matrix.golang_cross }} /tmp/build.sh - uses: aws-actions/configure-aws-credentials@v4 with: diff --git a/ci/Dockerfile.std b/ci/Dockerfile.std index 7dad9cc3b..5d946bb4b 100644 --- a/ci/Dockerfile.std +++ b/ci/Dockerfile.std @@ -1,4 +1,5 @@ # Generated by: gromit policy +# Generated on: Wed Apr 3 06:48:24 UTC 2024 FROM debian:bullseye-slim ARG TARGETARCH diff --git a/ci/bin/pc.sh b/ci/bin/pc.sh index 08a7cd9ce..25ef1fe96 100755 --- a/ci/bin/pc.sh +++ b/ci/bin/pc.sh @@ -1,6 +1,7 @@ #!/bin/bash # Generated by: gromit policy +# Generated on: Wed Apr 3 06:48:24 UTC 2024 # goreleaser calls a custom publisher for each artefact packagecloud # expects the distro version when pushing this script bridges both by diff --git a/ci/bin/unlock-agent.sh b/ci/bin/unlock-agent.sh index 3b58a58d4..62c60900c 100755 --- a/ci/bin/unlock-agent.sh +++ b/ci/bin/unlock-agent.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash # Generated by: gromit policy +# Generated on: Wed Apr 3 06:48:24 UTC 2024 # Get the GPG fingerprint with gpg --with-keygrip --list-secret-keys if [[ -z "${PKG_SIGNING_KEY}" || -z "${NFPM_STD_PASSPHRASE}" || -z "${GPG_FINGERPRINT}" ]]; then diff --git a/ci/goreleaser/goreleaser.yml b/ci/goreleaser/goreleaser.yml index 2eaa30090..992246647 100644 --- a/ci/goreleaser/goreleaser.yml +++ b/ci/goreleaser/goreleaser.yml @@ -1,4 +1,5 @@ # Generated by: gromit policy +# Generated on: Wed Apr 3 06:48:24 UTC 2024 # Check the documentation at http://goreleaser.com # This project needs CGO_ENABLED=1 and the cross-compiler toolchains for diff --git a/ci/install/before_install.sh b/ci/install/before_install.sh index a95418ac6..504d28148 100755 --- a/ci/install/before_install.sh +++ b/ci/install/before_install.sh @@ -1,6 +1,7 @@ #!/bin/bash # Generated by: gromit policy +# Generated on: Wed Apr 3 06:48:24 UTC 2024 echo "Creating user and group..." GROUPNAME="tyk" diff --git a/ci/install/post_install.sh b/ci/install/post_install.sh index 6348afe7f..100326389 100755 --- a/ci/install/post_install.sh +++ b/ci/install/post_install.sh @@ -2,6 +2,7 @@ # Generated by: gromit policy +# Generated on: Wed Apr 3 06:48:24 UTC 2024 # If "True" the install directory ownership will be changed to "tyk:tyk" change_ownership="True" diff --git a/ci/install/post_remove.sh b/ci/install/post_remove.sh index 64e213c5b..df444b637 100755 --- a/ci/install/post_remove.sh +++ b/ci/install/post_remove.sh @@ -1,6 +1,7 @@ #!/bin/sh # Generated by: gromit policy +# Generated on: Wed Apr 3 06:48:24 UTC 2024 cleanRemove() { diff --git a/ci/install/post_trans.sh b/ci/install/post_trans.sh index bc9dfe991..2d7aeaef1 100755 --- a/ci/install/post_trans.sh +++ b/ci/install/post_trans.sh @@ -1,6 +1,7 @@ #!/bin/sh # Generated by: gromit policy +# Generated on: Wed Apr 3 06:48:24 UTC 2024 if command -V systemctl >/dev/null 2>&1; then if [ ! -f /lib/systemd/system/tyk-pump.service ]; then