From 18e6ef4d86e0792a5c9df8efa3b1b91c008d3559 Mon Sep 17 00:00:00 2001 From: Nuru Date: Fri, 8 Dec 2023 22:38:33 -0800 Subject: [PATCH] Update to RunnerSet, use concurrency control --- .github/package-template.yml | 25 ++- .../amazon-ecr-credential-helper.yml | 25 ++- .github/workflows/amtool.yml | 25 ++- .github/workflows/apkbuild.yml | 3 + .github/workflows/argocd.yml | 25 ++- .github/workflows/assume-role.yml | 25 ++- .github/workflows/atlantis.yml | 25 ++- .github/workflows/atmos.yml | 25 ++- .github/workflows/awless.yml | 25 ++- .github/workflows/aws-copilot-cli.yml | 25 ++- .github/workflows/aws-iam-authenticator.yml | 25 ++- .github/workflows/aws-nuke.yml | 25 ++- .github/workflows/aws-vault.yml | 25 ++- .github/workflows/cfssl.yml | 25 ++- .github/workflows/cfssljson.yml | 25 ++- .github/workflows/chamber.yml | 25 ++- .github/workflows/cli53.yml | 25 ++- .github/workflows/cloud-nuke.yml | 25 ++- .github/workflows/cloudflared.yml | 25 ++- .github/workflows/codefresh.yml | 25 ++- .github/workflows/conftest.yml | 25 ++- .github/workflows/consul.yml | 25 ++- .github/workflows/ctop.yml | 25 ++- .github/workflows/debbuild.yml | 3 + .github/workflows/direnv.yml | 25 ++- .github/workflows/docker.yml | 3 + .github/workflows/doctl.yml | 25 ++- .github/workflows/ec2-instance-selector.yml | 25 ++- .github/workflows/ecspresso.yml | 25 ++- .github/workflows/emailcli.yml | 25 ++- .github/workflows/envcli.yml | 25 ++- .github/workflows/fetch.yml | 25 ++- .github/workflows/figurine.yml | 25 ++- .github/workflows/fzf.yml | 25 ++- .github/workflows/gh.yml | 25 ++- .github/workflows/ghr.yml | 25 ++- .github/workflows/github-commenter.yml | 25 ++- .github/workflows/github-release.yml | 25 ++- .github/workflows/github-status-updater.yml | 25 ++- .github/workflows/gitleaks.yml | 25 ++- .github/workflows/go-jsonnet.yml | 25 ++- .github/workflows/gomplate.yml | 25 ++- .github/workflows/gonsul.yml | 25 ++- .github/workflows/goofys.yml | 25 ++- .github/workflows/gosu.yml | 25 ++- .github/workflows/gotop.yml | 25 ++- .github/workflows/grpcurl.yml | 25 ++- .github/workflows/hcledit.yml | 25 ++- .github/workflows/helm.yml | 25 ++- .github/workflows/helm2.yml | 25 ++- .github/workflows/helm3.yml | 25 ++- .github/workflows/helmfile.yml | 25 ++- .github/workflows/htmltest.yml | 25 ++- .github/workflows/hugo.yml | 25 ++- .github/workflows/infracost.yml | 25 ++- .github/workflows/jp.yml | 25 ++- .github/workflows/json2hcl.yml | 25 ++- .github/workflows/jx.yml | 25 ++- .github/workflows/k3d.yml | 25 ++- .github/workflows/k6.yml | 25 ++- .github/workflows/k9s.yml | 25 ++- .github/workflows/katafygio.yml | 25 ++- .github/workflows/kfctl.yml | 25 ++- .github/workflows/kind.yml | 25 ++- .github/workflows/kops.yml | 25 ++- .github/workflows/krew.yml | 25 ++- .github/workflows/kubecron.yml | 25 ++- .github/workflows/kubectl-1.13.yml | 25 ++- .github/workflows/kubectl-1.14.yml | 25 ++- .github/workflows/kubectl-1.15.yml | 25 ++- .github/workflows/kubectl-1.16.yml | 25 ++- .github/workflows/kubectl-1.17.yml | 25 ++- .github/workflows/kubectl-1.18.yml | 25 ++- .github/workflows/kubectl-1.19.yml | 25 ++- .github/workflows/kubectl-1.20.yml | 25 ++- .github/workflows/kubectl-1.21.yml | 25 ++- .github/workflows/kubectl-1.22.yml | 25 ++- .github/workflows/kubectl-1.23.yml | 25 ++- .github/workflows/kubectl-1.24.yml | 25 ++- .github/workflows/kubectl-1.25.yml | 25 ++- .github/workflows/kubectl-1.26.yml | 25 ++- .github/workflows/kubectl-1.27.yml | 25 ++- .github/workflows/kubectl-1.28.yml | 25 ++- .github/workflows/kubectl.yml | 25 ++- .github/workflows/kubectx.yml | 25 ++- .github/workflows/kubens.yml | 25 ++- .github/workflows/kubeval.yml | 25 ++- .github/workflows/lazydocker.yml | 25 ++- .github/workflows/lectl.yml | 25 ++- .github/workflows/minikube.yml | 25 ++- .github/workflows/misspell.yml | 25 ++- .github/workflows/opa.yml | 25 ++- .github/workflows/pack.yml | 25 ++- .github/workflows/packer.yml | 25 ++- .github/workflows/pandoc.yml | 25 ++- .github/workflows/pgmetrics.yml | 25 ++- .github/workflows/pluto.yml | 25 ++- .github/workflows/popeye.yml | 25 ++- .github/workflows/promtool.yml | 25 ++- .github/workflows/rainbow-text.yml | 25 ++- .github/workflows/rakkess.yml | 25 ++- .github/workflows/rancher.yml | 25 ++- .github/workflows/rbac-lookup.yml | 25 ++- .github/workflows/rpmbuild.yml | 3 + .github/workflows/saml2aws.yml | 25 ++- .github/workflows/sentry-cli.yml | 25 ++- .github/workflows/shellcheck.yml | 25 ++- .github/workflows/shfmt.yml | 25 ++- .github/workflows/slack-notifier.yml | 25 ++- .github/workflows/sops.yml | 25 ++- .github/workflows/spacectl.yml | 25 ++- .github/workflows/spotctl.yml | 25 ++- .github/workflows/sshm.yml | 25 ++- .github/workflows/stern.yml | 25 ++- .github/workflows/sudosh.yml | 25 ++- .github/workflows/teleport-4.3.yml | 25 ++- .github/workflows/teleport-4.4.yml | 25 ++- .github/workflows/teleport-5.0.yml | 25 ++- .github/workflows/teleport.yml | 25 ++- .github/workflows/terraform-0.11.yml | 25 ++- .github/workflows/terraform-0.12.yml | 25 ++- .github/workflows/terraform-0.13.yml | 25 ++- .github/workflows/terraform-0.14.yml | 25 ++- .github/workflows/terraform-0.15.yml | 25 ++- .github/workflows/terraform-1.yml | 25 ++- .../workflows/terraform-config-inspect.yml | 25 ++- .github/workflows/terraform-docs.yml | 25 ++- .../workflows/terraform-module-versions.yml | 25 ++- .github/workflows/terraform.yml | 25 ++- .github/workflows/terraform_0.11.yml | 25 ++- .github/workflows/terraform_0.12.yml | 25 ++- .github/workflows/terraform_0.13.yml | 25 ++- .github/workflows/terragrunt.yml | 25 ++- .github/workflows/terrahelp.yml | 25 ++- .github/workflows/tflint.yml | 25 ++- .github/workflows/tfschema.yml | 25 ++- .github/workflows/tfsec.yml | 25 ++- .github/workflows/thanos.yml | 25 ++- .github/workflows/trivy.yml | 25 ++- .github/workflows/variant.yml | 25 ++- .github/workflows/variant2.yml | 25 ++- .github/workflows/vault.yml | 25 ++- .github/workflows/vendir.yml | 25 ++- .github/workflows/venona.yml | 25 ++- .github/workflows/vert.yml | 25 ++- .github/workflows/yajsv.yml | 25 ++- .github/workflows/yq.yml | 25 ++- README.md | 152 +++++++++++++----- docs/targets.md | 8 +- tasks/Makefile.package | 4 +- 150 files changed, 1848 insertions(+), 1903 deletions(-) diff --git a/.github/package-template.yml b/.github/package-template.yml index cfac8c9333..fc227619f1 100644 --- a/.github/package-template.yml +++ b/.github/package-template.yml @@ -4,6 +4,9 @@ # name: "%PACKAGE_NAME%" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of %PACKAGE_NAME% package to publish. Defaults to vendor/%PACKAGE_NAME%/RELEASE.' + description: 'Zero-based release number of %PACKAGE_NAME% package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - %PACKAGE_NAME%_VERSION: ${{ github.event.inputs.package_version_override }} - %PACKAGE_NAME%_RELEASE: ${{ github.event.inputs.release_number_override }} + %PACKAGE_NAME%_VERSION: ${{ inputs.package_version_override }} + %PACKAGE_NAME%_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/amazon-ecr-credential-helper.yml b/.github/workflows/amazon-ecr-credential-helper.yml index 5b753cbb15..0adeb33b3e 100644 --- a/.github/workflows/amazon-ecr-credential-helper.yml +++ b/.github/workflows/amazon-ecr-credential-helper.yml @@ -4,6 +4,9 @@ # name: "amazon-ecr-credential-helper" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of amazon-ecr-credential-helper package to publish. Defaults to vendor/amazon-ecr-credential-helper/RELEASE.' + description: 'Zero-based release number of amazon-ecr-credential-helper package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - amazon-ecr-credential-helper_VERSION: ${{ github.event.inputs.package_version_override }} - amazon-ecr-credential-helper_RELEASE: ${{ github.event.inputs.release_number_override }} + amazon-ecr-credential-helper_VERSION: ${{ inputs.package_version_override }} + amazon-ecr-credential-helper_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/amtool.yml b/.github/workflows/amtool.yml index b3d75cb2ab..f99a66b643 100644 --- a/.github/workflows/amtool.yml +++ b/.github/workflows/amtool.yml @@ -4,6 +4,9 @@ # name: "amtool" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of amtool package to publish. Defaults to vendor/amtool/RELEASE.' + description: 'Zero-based release number of amtool package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - amtool_VERSION: ${{ github.event.inputs.package_version_override }} - amtool_RELEASE: ${{ github.event.inputs.release_number_override }} + amtool_VERSION: ${{ inputs.package_version_override }} + amtool_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/apkbuild.yml b/.github/workflows/apkbuild.yml index e7dd9f226f..03f905a203 100644 --- a/.github/workflows/apkbuild.yml +++ b/.github/workflows/apkbuild.yml @@ -1,4 +1,7 @@ name: "apkbuild" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} + cancel-in-progress: true on: push: branches: diff --git a/.github/workflows/argocd.yml b/.github/workflows/argocd.yml index 6716ed48d0..f1fff7fdb1 100644 --- a/.github/workflows/argocd.yml +++ b/.github/workflows/argocd.yml @@ -4,6 +4,9 @@ # name: "argocd" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of argocd package to publish. Defaults to vendor/argocd/RELEASE.' + description: 'Zero-based release number of argocd package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - argocd_VERSION: ${{ github.event.inputs.package_version_override }} - argocd_RELEASE: ${{ github.event.inputs.release_number_override }} + argocd_VERSION: ${{ inputs.package_version_override }} + argocd_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/assume-role.yml b/.github/workflows/assume-role.yml index cbc486ceab..e25ded546d 100644 --- a/.github/workflows/assume-role.yml +++ b/.github/workflows/assume-role.yml @@ -4,6 +4,9 @@ # name: "assume-role" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of assume-role package to publish. Defaults to vendor/assume-role/RELEASE.' + description: 'Zero-based release number of assume-role package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - assume-role_VERSION: ${{ github.event.inputs.package_version_override }} - assume-role_RELEASE: ${{ github.event.inputs.release_number_override }} + assume-role_VERSION: ${{ inputs.package_version_override }} + assume-role_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/atlantis.yml b/.github/workflows/atlantis.yml index 32ae714441..593277fd8f 100644 --- a/.github/workflows/atlantis.yml +++ b/.github/workflows/atlantis.yml @@ -4,6 +4,9 @@ # name: "atlantis" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of atlantis package to publish. Defaults to vendor/atlantis/RELEASE.' + description: 'Zero-based release number of atlantis package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - atlantis_VERSION: ${{ github.event.inputs.package_version_override }} - atlantis_RELEASE: ${{ github.event.inputs.release_number_override }} + atlantis_VERSION: ${{ inputs.package_version_override }} + atlantis_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/atmos.yml b/.github/workflows/atmos.yml index be123a0b0d..51c4a7a173 100644 --- a/.github/workflows/atmos.yml +++ b/.github/workflows/atmos.yml @@ -4,6 +4,9 @@ # name: "atmos" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of atmos package to publish. Defaults to vendor/atmos/RELEASE.' + description: 'Zero-based release number of atmos package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - atmos_VERSION: ${{ github.event.inputs.package_version_override }} - atmos_RELEASE: ${{ github.event.inputs.release_number_override }} + atmos_VERSION: ${{ inputs.package_version_override }} + atmos_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/awless.yml b/.github/workflows/awless.yml index ae7d79d261..4582733c0f 100644 --- a/.github/workflows/awless.yml +++ b/.github/workflows/awless.yml @@ -4,6 +4,9 @@ # name: "awless" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of awless package to publish. Defaults to vendor/awless/RELEASE.' + description: 'Zero-based release number of awless package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - awless_VERSION: ${{ github.event.inputs.package_version_override }} - awless_RELEASE: ${{ github.event.inputs.release_number_override }} + awless_VERSION: ${{ inputs.package_version_override }} + awless_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/aws-copilot-cli.yml b/.github/workflows/aws-copilot-cli.yml index ea101e4afc..1247994b58 100644 --- a/.github/workflows/aws-copilot-cli.yml +++ b/.github/workflows/aws-copilot-cli.yml @@ -4,6 +4,9 @@ # name: "aws-copilot-cli" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of aws-copilot-cli package to publish. Defaults to vendor/aws-copilot-cli/RELEASE.' + description: 'Zero-based release number of aws-copilot-cli package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - aws-copilot-cli_VERSION: ${{ github.event.inputs.package_version_override }} - aws-copilot-cli_RELEASE: ${{ github.event.inputs.release_number_override }} + aws-copilot-cli_VERSION: ${{ inputs.package_version_override }} + aws-copilot-cli_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/aws-iam-authenticator.yml b/.github/workflows/aws-iam-authenticator.yml index e3244e1632..a203acbc0f 100644 --- a/.github/workflows/aws-iam-authenticator.yml +++ b/.github/workflows/aws-iam-authenticator.yml @@ -4,6 +4,9 @@ # name: "aws-iam-authenticator" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of aws-iam-authenticator package to publish. Defaults to vendor/aws-iam-authenticator/RELEASE.' + description: 'Zero-based release number of aws-iam-authenticator package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - aws-iam-authenticator_VERSION: ${{ github.event.inputs.package_version_override }} - aws-iam-authenticator_RELEASE: ${{ github.event.inputs.release_number_override }} + aws-iam-authenticator_VERSION: ${{ inputs.package_version_override }} + aws-iam-authenticator_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/aws-nuke.yml b/.github/workflows/aws-nuke.yml index 2401c8db0e..453be67653 100644 --- a/.github/workflows/aws-nuke.yml +++ b/.github/workflows/aws-nuke.yml @@ -4,6 +4,9 @@ # name: "aws-nuke" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of aws-nuke package to publish. Defaults to vendor/aws-nuke/RELEASE.' + description: 'Zero-based release number of aws-nuke package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - aws-nuke_VERSION: ${{ github.event.inputs.package_version_override }} - aws-nuke_RELEASE: ${{ github.event.inputs.release_number_override }} + aws-nuke_VERSION: ${{ inputs.package_version_override }} + aws-nuke_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/aws-vault.yml b/.github/workflows/aws-vault.yml index a7d2636eec..02d8cc87b2 100644 --- a/.github/workflows/aws-vault.yml +++ b/.github/workflows/aws-vault.yml @@ -4,6 +4,9 @@ # name: "aws-vault" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of aws-vault package to publish. Defaults to vendor/aws-vault/RELEASE.' + description: 'Zero-based release number of aws-vault package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - aws-vault_VERSION: ${{ github.event.inputs.package_version_override }} - aws-vault_RELEASE: ${{ github.event.inputs.release_number_override }} + aws-vault_VERSION: ${{ inputs.package_version_override }} + aws-vault_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/cfssl.yml b/.github/workflows/cfssl.yml index 5143e544a2..efdab786bf 100644 --- a/.github/workflows/cfssl.yml +++ b/.github/workflows/cfssl.yml @@ -4,6 +4,9 @@ # name: "cfssl" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of cfssl package to publish. Defaults to vendor/cfssl/RELEASE.' + description: 'Zero-based release number of cfssl package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - cfssl_VERSION: ${{ github.event.inputs.package_version_override }} - cfssl_RELEASE: ${{ github.event.inputs.release_number_override }} + cfssl_VERSION: ${{ inputs.package_version_override }} + cfssl_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/cfssljson.yml b/.github/workflows/cfssljson.yml index a1411f8100..314ce5815e 100644 --- a/.github/workflows/cfssljson.yml +++ b/.github/workflows/cfssljson.yml @@ -4,6 +4,9 @@ # name: "cfssljson" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of cfssljson package to publish. Defaults to vendor/cfssljson/RELEASE.' + description: 'Zero-based release number of cfssljson package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - cfssljson_VERSION: ${{ github.event.inputs.package_version_override }} - cfssljson_RELEASE: ${{ github.event.inputs.release_number_override }} + cfssljson_VERSION: ${{ inputs.package_version_override }} + cfssljson_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/chamber.yml b/.github/workflows/chamber.yml index d51fca50d3..f6fe38b27c 100644 --- a/.github/workflows/chamber.yml +++ b/.github/workflows/chamber.yml @@ -4,6 +4,9 @@ # name: "chamber" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of chamber package to publish. Defaults to vendor/chamber/RELEASE.' + description: 'Zero-based release number of chamber package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - chamber_VERSION: ${{ github.event.inputs.package_version_override }} - chamber_RELEASE: ${{ github.event.inputs.release_number_override }} + chamber_VERSION: ${{ inputs.package_version_override }} + chamber_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/cli53.yml b/.github/workflows/cli53.yml index 68674995f7..6e514d8e07 100644 --- a/.github/workflows/cli53.yml +++ b/.github/workflows/cli53.yml @@ -4,6 +4,9 @@ # name: "cli53" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of cli53 package to publish. Defaults to vendor/cli53/RELEASE.' + description: 'Zero-based release number of cli53 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - cli53_VERSION: ${{ github.event.inputs.package_version_override }} - cli53_RELEASE: ${{ github.event.inputs.release_number_override }} + cli53_VERSION: ${{ inputs.package_version_override }} + cli53_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/cloud-nuke.yml b/.github/workflows/cloud-nuke.yml index 0288607270..8ac846916c 100644 --- a/.github/workflows/cloud-nuke.yml +++ b/.github/workflows/cloud-nuke.yml @@ -4,6 +4,9 @@ # name: "cloud-nuke" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of cloud-nuke package to publish. Defaults to vendor/cloud-nuke/RELEASE.' + description: 'Zero-based release number of cloud-nuke package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - cloud-nuke_VERSION: ${{ github.event.inputs.package_version_override }} - cloud-nuke_RELEASE: ${{ github.event.inputs.release_number_override }} + cloud-nuke_VERSION: ${{ inputs.package_version_override }} + cloud-nuke_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/cloudflared.yml b/.github/workflows/cloudflared.yml index 08b4cc84c8..69478e6796 100644 --- a/.github/workflows/cloudflared.yml +++ b/.github/workflows/cloudflared.yml @@ -4,6 +4,9 @@ # name: "cloudflared" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of cloudflared package to publish. Defaults to vendor/cloudflared/RELEASE.' + description: 'Zero-based release number of cloudflared package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - cloudflared_VERSION: ${{ github.event.inputs.package_version_override }} - cloudflared_RELEASE: ${{ github.event.inputs.release_number_override }} + cloudflared_VERSION: ${{ inputs.package_version_override }} + cloudflared_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/codefresh.yml b/.github/workflows/codefresh.yml index bba2a07771..055e143330 100644 --- a/.github/workflows/codefresh.yml +++ b/.github/workflows/codefresh.yml @@ -4,6 +4,9 @@ # name: "codefresh" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of codefresh package to publish. Defaults to vendor/codefresh/RELEASE.' + description: 'Zero-based release number of codefresh package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - codefresh_VERSION: ${{ github.event.inputs.package_version_override }} - codefresh_RELEASE: ${{ github.event.inputs.release_number_override }} + codefresh_VERSION: ${{ inputs.package_version_override }} + codefresh_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/conftest.yml b/.github/workflows/conftest.yml index 7f5bb70fbc..eea5a428c3 100644 --- a/.github/workflows/conftest.yml +++ b/.github/workflows/conftest.yml @@ -4,6 +4,9 @@ # name: "conftest" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of conftest package to publish. Defaults to vendor/conftest/RELEASE.' + description: 'Zero-based release number of conftest package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - conftest_VERSION: ${{ github.event.inputs.package_version_override }} - conftest_RELEASE: ${{ github.event.inputs.release_number_override }} + conftest_VERSION: ${{ inputs.package_version_override }} + conftest_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/consul.yml b/.github/workflows/consul.yml index 5832a28248..d83f990dad 100644 --- a/.github/workflows/consul.yml +++ b/.github/workflows/consul.yml @@ -4,6 +4,9 @@ # name: "consul" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of consul package to publish. Defaults to vendor/consul/RELEASE.' + description: 'Zero-based release number of consul package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - consul_VERSION: ${{ github.event.inputs.package_version_override }} - consul_RELEASE: ${{ github.event.inputs.release_number_override }} + consul_VERSION: ${{ inputs.package_version_override }} + consul_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/ctop.yml b/.github/workflows/ctop.yml index 0248fc0b66..c8d3cb0758 100644 --- a/.github/workflows/ctop.yml +++ b/.github/workflows/ctop.yml @@ -4,6 +4,9 @@ # name: "ctop" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of ctop package to publish. Defaults to vendor/ctop/RELEASE.' + description: 'Zero-based release number of ctop package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - ctop_VERSION: ${{ github.event.inputs.package_version_override }} - ctop_RELEASE: ${{ github.event.inputs.release_number_override }} + ctop_VERSION: ${{ inputs.package_version_override }} + ctop_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/debbuild.yml b/.github/workflows/debbuild.yml index 93783824fc..92ffb3c4bc 100644 --- a/.github/workflows/debbuild.yml +++ b/.github/workflows/debbuild.yml @@ -1,4 +1,7 @@ name: "debbuild" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} + cancel-in-progress: true on: push: branches: diff --git a/.github/workflows/direnv.yml b/.github/workflows/direnv.yml index b263eda7c1..3f95a0801c 100644 --- a/.github/workflows/direnv.yml +++ b/.github/workflows/direnv.yml @@ -4,6 +4,9 @@ # name: "direnv" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of direnv package to publish. Defaults to vendor/direnv/RELEASE.' + description: 'Zero-based release number of direnv package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - direnv_VERSION: ${{ github.event.inputs.package_version_override }} - direnv_RELEASE: ${{ github.event.inputs.release_number_override }} + direnv_VERSION: ${{ inputs.package_version_override }} + direnv_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 77a70ad551..8ec2cee2ac 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,4 +1,7 @@ name: "docker" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} + cancel-in-progress: true on: pull_request: types: [opened, synchronize, reopened] diff --git a/.github/workflows/doctl.yml b/.github/workflows/doctl.yml index 59ddc7b9df..ac6a9faba3 100644 --- a/.github/workflows/doctl.yml +++ b/.github/workflows/doctl.yml @@ -4,6 +4,9 @@ # name: "doctl" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of doctl package to publish. Defaults to vendor/doctl/RELEASE.' + description: 'Zero-based release number of doctl package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - doctl_VERSION: ${{ github.event.inputs.package_version_override }} - doctl_RELEASE: ${{ github.event.inputs.release_number_override }} + doctl_VERSION: ${{ inputs.package_version_override }} + doctl_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/ec2-instance-selector.yml b/.github/workflows/ec2-instance-selector.yml index f2170d091f..7ccbb1d67c 100644 --- a/.github/workflows/ec2-instance-selector.yml +++ b/.github/workflows/ec2-instance-selector.yml @@ -4,6 +4,9 @@ # name: "ec2-instance-selector" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of ec2-instance-selector package to publish. Defaults to vendor/ec2-instance-selector/RELEASE.' + description: 'Zero-based release number of ec2-instance-selector package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - ec2-instance-selector_VERSION: ${{ github.event.inputs.package_version_override }} - ec2-instance-selector_RELEASE: ${{ github.event.inputs.release_number_override }} + ec2-instance-selector_VERSION: ${{ inputs.package_version_override }} + ec2-instance-selector_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/ecspresso.yml b/.github/workflows/ecspresso.yml index 4ebe70acda..3df5dd2dd4 100644 --- a/.github/workflows/ecspresso.yml +++ b/.github/workflows/ecspresso.yml @@ -4,6 +4,9 @@ # name: "ecspresso" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of ecspresso package to publish. Defaults to vendor/ecspresso/RELEASE.' + description: 'Zero-based release number of ecspresso package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - ecspresso_VERSION: ${{ github.event.inputs.package_version_override }} - ecspresso_RELEASE: ${{ github.event.inputs.release_number_override }} + ecspresso_VERSION: ${{ inputs.package_version_override }} + ecspresso_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/emailcli.yml b/.github/workflows/emailcli.yml index 90a1cf5901..05f717e69c 100644 --- a/.github/workflows/emailcli.yml +++ b/.github/workflows/emailcli.yml @@ -4,6 +4,9 @@ # name: "emailcli" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of emailcli package to publish. Defaults to vendor/emailcli/RELEASE.' + description: 'Zero-based release number of emailcli package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - emailcli_VERSION: ${{ github.event.inputs.package_version_override }} - emailcli_RELEASE: ${{ github.event.inputs.release_number_override }} + emailcli_VERSION: ${{ inputs.package_version_override }} + emailcli_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/envcli.yml b/.github/workflows/envcli.yml index c7762d8f7b..115f35e36d 100644 --- a/.github/workflows/envcli.yml +++ b/.github/workflows/envcli.yml @@ -4,6 +4,9 @@ # name: "envcli" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of envcli package to publish. Defaults to vendor/envcli/RELEASE.' + description: 'Zero-based release number of envcli package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - envcli_VERSION: ${{ github.event.inputs.package_version_override }} - envcli_RELEASE: ${{ github.event.inputs.release_number_override }} + envcli_VERSION: ${{ inputs.package_version_override }} + envcli_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/fetch.yml b/.github/workflows/fetch.yml index 567fc6c0de..a6bee3e46d 100644 --- a/.github/workflows/fetch.yml +++ b/.github/workflows/fetch.yml @@ -4,6 +4,9 @@ # name: "fetch" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of fetch package to publish. Defaults to vendor/fetch/RELEASE.' + description: 'Zero-based release number of fetch package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - fetch_VERSION: ${{ github.event.inputs.package_version_override }} - fetch_RELEASE: ${{ github.event.inputs.release_number_override }} + fetch_VERSION: ${{ inputs.package_version_override }} + fetch_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/figurine.yml b/.github/workflows/figurine.yml index e47aad79f7..c4bbf0e39d 100644 --- a/.github/workflows/figurine.yml +++ b/.github/workflows/figurine.yml @@ -4,6 +4,9 @@ # name: "figurine" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of figurine package to publish. Defaults to vendor/figurine/RELEASE.' + description: 'Zero-based release number of figurine package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - figurine_VERSION: ${{ github.event.inputs.package_version_override }} - figurine_RELEASE: ${{ github.event.inputs.release_number_override }} + figurine_VERSION: ${{ inputs.package_version_override }} + figurine_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/fzf.yml b/.github/workflows/fzf.yml index 3402fe7b43..3c398349dc 100644 --- a/.github/workflows/fzf.yml +++ b/.github/workflows/fzf.yml @@ -4,6 +4,9 @@ # name: "fzf" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of fzf package to publish. Defaults to vendor/fzf/RELEASE.' + description: 'Zero-based release number of fzf package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - fzf_VERSION: ${{ github.event.inputs.package_version_override }} - fzf_RELEASE: ${{ github.event.inputs.release_number_override }} + fzf_VERSION: ${{ inputs.package_version_override }} + fzf_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/gh.yml b/.github/workflows/gh.yml index c85c33aa89..38240c0937 100644 --- a/.github/workflows/gh.yml +++ b/.github/workflows/gh.yml @@ -4,6 +4,9 @@ # name: "gh" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of gh package to publish. Defaults to vendor/gh/RELEASE.' + description: 'Zero-based release number of gh package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - gh_VERSION: ${{ github.event.inputs.package_version_override }} - gh_RELEASE: ${{ github.event.inputs.release_number_override }} + gh_VERSION: ${{ inputs.package_version_override }} + gh_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/ghr.yml b/.github/workflows/ghr.yml index 8ee366444e..97323cfaa9 100644 --- a/.github/workflows/ghr.yml +++ b/.github/workflows/ghr.yml @@ -4,6 +4,9 @@ # name: "ghr" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of ghr package to publish. Defaults to vendor/ghr/RELEASE.' + description: 'Zero-based release number of ghr package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - ghr_VERSION: ${{ github.event.inputs.package_version_override }} - ghr_RELEASE: ${{ github.event.inputs.release_number_override }} + ghr_VERSION: ${{ inputs.package_version_override }} + ghr_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/github-commenter.yml b/.github/workflows/github-commenter.yml index 975472cf10..9f6553af9b 100644 --- a/.github/workflows/github-commenter.yml +++ b/.github/workflows/github-commenter.yml @@ -4,6 +4,9 @@ # name: "github-commenter" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of github-commenter package to publish. Defaults to vendor/github-commenter/RELEASE.' + description: 'Zero-based release number of github-commenter package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - github-commenter_VERSION: ${{ github.event.inputs.package_version_override }} - github-commenter_RELEASE: ${{ github.event.inputs.release_number_override }} + github-commenter_VERSION: ${{ inputs.package_version_override }} + github-commenter_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index 332b3b059a..931870ad8a 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -4,6 +4,9 @@ # name: "github-release" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of github-release package to publish. Defaults to vendor/github-release/RELEASE.' + description: 'Zero-based release number of github-release package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - github-release_VERSION: ${{ github.event.inputs.package_version_override }} - github-release_RELEASE: ${{ github.event.inputs.release_number_override }} + github-release_VERSION: ${{ inputs.package_version_override }} + github-release_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/github-status-updater.yml b/.github/workflows/github-status-updater.yml index e7139170a9..5e0021b500 100644 --- a/.github/workflows/github-status-updater.yml +++ b/.github/workflows/github-status-updater.yml @@ -4,6 +4,9 @@ # name: "github-status-updater" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of github-status-updater package to publish. Defaults to vendor/github-status-updater/RELEASE.' + description: 'Zero-based release number of github-status-updater package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - github-status-updater_VERSION: ${{ github.event.inputs.package_version_override }} - github-status-updater_RELEASE: ${{ github.event.inputs.release_number_override }} + github-status-updater_VERSION: ${{ inputs.package_version_override }} + github-status-updater_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.yml index 34deb7c3ac..e17852802e 100644 --- a/.github/workflows/gitleaks.yml +++ b/.github/workflows/gitleaks.yml @@ -4,6 +4,9 @@ # name: "gitleaks" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of gitleaks package to publish. Defaults to vendor/gitleaks/RELEASE.' + description: 'Zero-based release number of gitleaks package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - gitleaks_VERSION: ${{ github.event.inputs.package_version_override }} - gitleaks_RELEASE: ${{ github.event.inputs.release_number_override }} + gitleaks_VERSION: ${{ inputs.package_version_override }} + gitleaks_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/go-jsonnet.yml b/.github/workflows/go-jsonnet.yml index 8d56af1062..769c96b25b 100644 --- a/.github/workflows/go-jsonnet.yml +++ b/.github/workflows/go-jsonnet.yml @@ -4,6 +4,9 @@ # name: "go-jsonnet" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of go-jsonnet package to publish. Defaults to vendor/go-jsonnet/RELEASE.' + description: 'Zero-based release number of go-jsonnet package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - go-jsonnet_VERSION: ${{ github.event.inputs.package_version_override }} - go-jsonnet_RELEASE: ${{ github.event.inputs.release_number_override }} + go-jsonnet_VERSION: ${{ inputs.package_version_override }} + go-jsonnet_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/gomplate.yml b/.github/workflows/gomplate.yml index 5c7528433e..a0026e3568 100644 --- a/.github/workflows/gomplate.yml +++ b/.github/workflows/gomplate.yml @@ -4,6 +4,9 @@ # name: "gomplate" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of gomplate package to publish. Defaults to vendor/gomplate/RELEASE.' + description: 'Zero-based release number of gomplate package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - gomplate_VERSION: ${{ github.event.inputs.package_version_override }} - gomplate_RELEASE: ${{ github.event.inputs.release_number_override }} + gomplate_VERSION: ${{ inputs.package_version_override }} + gomplate_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/gonsul.yml b/.github/workflows/gonsul.yml index 08ee0aed26..ed16d974da 100644 --- a/.github/workflows/gonsul.yml +++ b/.github/workflows/gonsul.yml @@ -4,6 +4,9 @@ # name: "gonsul" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of gonsul package to publish. Defaults to vendor/gonsul/RELEASE.' + description: 'Zero-based release number of gonsul package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - gonsul_VERSION: ${{ github.event.inputs.package_version_override }} - gonsul_RELEASE: ${{ github.event.inputs.release_number_override }} + gonsul_VERSION: ${{ inputs.package_version_override }} + gonsul_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/goofys.yml b/.github/workflows/goofys.yml index e9f42c3ccb..6acb16cac3 100644 --- a/.github/workflows/goofys.yml +++ b/.github/workflows/goofys.yml @@ -4,6 +4,9 @@ # name: "goofys" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of goofys package to publish. Defaults to vendor/goofys/RELEASE.' + description: 'Zero-based release number of goofys package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - goofys_VERSION: ${{ github.event.inputs.package_version_override }} - goofys_RELEASE: ${{ github.event.inputs.release_number_override }} + goofys_VERSION: ${{ inputs.package_version_override }} + goofys_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/gosu.yml b/.github/workflows/gosu.yml index 425e904d27..75f54e6a09 100644 --- a/.github/workflows/gosu.yml +++ b/.github/workflows/gosu.yml @@ -4,6 +4,9 @@ # name: "gosu" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of gosu package to publish. Defaults to vendor/gosu/RELEASE.' + description: 'Zero-based release number of gosu package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - gosu_VERSION: ${{ github.event.inputs.package_version_override }} - gosu_RELEASE: ${{ github.event.inputs.release_number_override }} + gosu_VERSION: ${{ inputs.package_version_override }} + gosu_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/gotop.yml b/.github/workflows/gotop.yml index f22c87a696..26518e9e5b 100644 --- a/.github/workflows/gotop.yml +++ b/.github/workflows/gotop.yml @@ -4,6 +4,9 @@ # name: "gotop" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of gotop package to publish. Defaults to vendor/gotop/RELEASE.' + description: 'Zero-based release number of gotop package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - gotop_VERSION: ${{ github.event.inputs.package_version_override }} - gotop_RELEASE: ${{ github.event.inputs.release_number_override }} + gotop_VERSION: ${{ inputs.package_version_override }} + gotop_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/grpcurl.yml b/.github/workflows/grpcurl.yml index 1784ecac1a..4fb7afdda6 100644 --- a/.github/workflows/grpcurl.yml +++ b/.github/workflows/grpcurl.yml @@ -4,6 +4,9 @@ # name: "grpcurl" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of grpcurl package to publish. Defaults to vendor/grpcurl/RELEASE.' + description: 'Zero-based release number of grpcurl package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - grpcurl_VERSION: ${{ github.event.inputs.package_version_override }} - grpcurl_RELEASE: ${{ github.event.inputs.release_number_override }} + grpcurl_VERSION: ${{ inputs.package_version_override }} + grpcurl_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/hcledit.yml b/.github/workflows/hcledit.yml index f8916ee35b..2f45cded9d 100644 --- a/.github/workflows/hcledit.yml +++ b/.github/workflows/hcledit.yml @@ -4,6 +4,9 @@ # name: "hcledit" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of hcledit package to publish. Defaults to vendor/hcledit/RELEASE.' + description: 'Zero-based release number of hcledit package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - hcledit_VERSION: ${{ github.event.inputs.package_version_override }} - hcledit_RELEASE: ${{ github.event.inputs.release_number_override }} + hcledit_VERSION: ${{ inputs.package_version_override }} + hcledit_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/helm.yml b/.github/workflows/helm.yml index fbcf136d3d..3b54618a4a 100644 --- a/.github/workflows/helm.yml +++ b/.github/workflows/helm.yml @@ -4,6 +4,9 @@ # name: "helm" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of helm package to publish. Defaults to vendor/helm/RELEASE.' + description: 'Zero-based release number of helm package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - helm_VERSION: ${{ github.event.inputs.package_version_override }} - helm_RELEASE: ${{ github.event.inputs.release_number_override }} + helm_VERSION: ${{ inputs.package_version_override }} + helm_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/helm2.yml b/.github/workflows/helm2.yml index 21d5b48877..811f2c9ba7 100644 --- a/.github/workflows/helm2.yml +++ b/.github/workflows/helm2.yml @@ -4,6 +4,9 @@ # name: "helm2" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of helm2 package to publish. Defaults to vendor/helm2/RELEASE.' + description: 'Zero-based release number of helm2 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - helm2_VERSION: ${{ github.event.inputs.package_version_override }} - helm2_RELEASE: ${{ github.event.inputs.release_number_override }} + helm2_VERSION: ${{ inputs.package_version_override }} + helm2_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/helm3.yml b/.github/workflows/helm3.yml index 9315978908..ec6800e32b 100644 --- a/.github/workflows/helm3.yml +++ b/.github/workflows/helm3.yml @@ -4,6 +4,9 @@ # name: "helm3" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of helm3 package to publish. Defaults to vendor/helm3/RELEASE.' + description: 'Zero-based release number of helm3 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - helm3_VERSION: ${{ github.event.inputs.package_version_override }} - helm3_RELEASE: ${{ github.event.inputs.release_number_override }} + helm3_VERSION: ${{ inputs.package_version_override }} + helm3_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/helmfile.yml b/.github/workflows/helmfile.yml index b0ac28c5a4..d912a36ddb 100644 --- a/.github/workflows/helmfile.yml +++ b/.github/workflows/helmfile.yml @@ -4,6 +4,9 @@ # name: "helmfile" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of helmfile package to publish. Defaults to vendor/helmfile/RELEASE.' + description: 'Zero-based release number of helmfile package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - helmfile_VERSION: ${{ github.event.inputs.package_version_override }} - helmfile_RELEASE: ${{ github.event.inputs.release_number_override }} + helmfile_VERSION: ${{ inputs.package_version_override }} + helmfile_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/htmltest.yml b/.github/workflows/htmltest.yml index 594a4a9fe3..7407ac9862 100644 --- a/.github/workflows/htmltest.yml +++ b/.github/workflows/htmltest.yml @@ -4,6 +4,9 @@ # name: "htmltest" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of htmltest package to publish. Defaults to vendor/htmltest/RELEASE.' + description: 'Zero-based release number of htmltest package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - htmltest_VERSION: ${{ github.event.inputs.package_version_override }} - htmltest_RELEASE: ${{ github.event.inputs.release_number_override }} + htmltest_VERSION: ${{ inputs.package_version_override }} + htmltest_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 02cad75092..942b076d36 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -4,6 +4,9 @@ # name: "hugo" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of hugo package to publish. Defaults to vendor/hugo/RELEASE.' + description: 'Zero-based release number of hugo package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - hugo_VERSION: ${{ github.event.inputs.package_version_override }} - hugo_RELEASE: ${{ github.event.inputs.release_number_override }} + hugo_VERSION: ${{ inputs.package_version_override }} + hugo_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/infracost.yml b/.github/workflows/infracost.yml index b349651dbe..422fec8ca2 100644 --- a/.github/workflows/infracost.yml +++ b/.github/workflows/infracost.yml @@ -4,6 +4,9 @@ # name: "infracost" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of infracost package to publish. Defaults to vendor/infracost/RELEASE.' + description: 'Zero-based release number of infracost package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - infracost_VERSION: ${{ github.event.inputs.package_version_override }} - infracost_RELEASE: ${{ github.event.inputs.release_number_override }} + infracost_VERSION: ${{ inputs.package_version_override }} + infracost_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/jp.yml b/.github/workflows/jp.yml index 9e4aec561f..0c5b4f0f16 100644 --- a/.github/workflows/jp.yml +++ b/.github/workflows/jp.yml @@ -4,6 +4,9 @@ # name: "jp" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of jp package to publish. Defaults to vendor/jp/RELEASE.' + description: 'Zero-based release number of jp package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - jp_VERSION: ${{ github.event.inputs.package_version_override }} - jp_RELEASE: ${{ github.event.inputs.release_number_override }} + jp_VERSION: ${{ inputs.package_version_override }} + jp_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/json2hcl.yml b/.github/workflows/json2hcl.yml index 4b3719fca3..247f0efabe 100644 --- a/.github/workflows/json2hcl.yml +++ b/.github/workflows/json2hcl.yml @@ -4,6 +4,9 @@ # name: "json2hcl" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of json2hcl package to publish. Defaults to vendor/json2hcl/RELEASE.' + description: 'Zero-based release number of json2hcl package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - json2hcl_VERSION: ${{ github.event.inputs.package_version_override }} - json2hcl_RELEASE: ${{ github.event.inputs.release_number_override }} + json2hcl_VERSION: ${{ inputs.package_version_override }} + json2hcl_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/jx.yml b/.github/workflows/jx.yml index bd8a0e5a5d..8547c79ba6 100644 --- a/.github/workflows/jx.yml +++ b/.github/workflows/jx.yml @@ -4,6 +4,9 @@ # name: "jx" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of jx package to publish. Defaults to vendor/jx/RELEASE.' + description: 'Zero-based release number of jx package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - jx_VERSION: ${{ github.event.inputs.package_version_override }} - jx_RELEASE: ${{ github.event.inputs.release_number_override }} + jx_VERSION: ${{ inputs.package_version_override }} + jx_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/k3d.yml b/.github/workflows/k3d.yml index abc0884068..1e0098b48f 100644 --- a/.github/workflows/k3d.yml +++ b/.github/workflows/k3d.yml @@ -4,6 +4,9 @@ # name: "k3d" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of k3d package to publish. Defaults to vendor/k3d/RELEASE.' + description: 'Zero-based release number of k3d package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - k3d_VERSION: ${{ github.event.inputs.package_version_override }} - k3d_RELEASE: ${{ github.event.inputs.release_number_override }} + k3d_VERSION: ${{ inputs.package_version_override }} + k3d_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/k6.yml b/.github/workflows/k6.yml index 008845c47a..6d482a72f8 100644 --- a/.github/workflows/k6.yml +++ b/.github/workflows/k6.yml @@ -4,6 +4,9 @@ # name: "k6" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of k6 package to publish. Defaults to vendor/k6/RELEASE.' + description: 'Zero-based release number of k6 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - k6_VERSION: ${{ github.event.inputs.package_version_override }} - k6_RELEASE: ${{ github.event.inputs.release_number_override }} + k6_VERSION: ${{ inputs.package_version_override }} + k6_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/k9s.yml b/.github/workflows/k9s.yml index ceab016e93..c40285063f 100644 --- a/.github/workflows/k9s.yml +++ b/.github/workflows/k9s.yml @@ -4,6 +4,9 @@ # name: "k9s" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of k9s package to publish. Defaults to vendor/k9s/RELEASE.' + description: 'Zero-based release number of k9s package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - k9s_VERSION: ${{ github.event.inputs.package_version_override }} - k9s_RELEASE: ${{ github.event.inputs.release_number_override }} + k9s_VERSION: ${{ inputs.package_version_override }} + k9s_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/katafygio.yml b/.github/workflows/katafygio.yml index 8ed04edc48..f7401dbd18 100644 --- a/.github/workflows/katafygio.yml +++ b/.github/workflows/katafygio.yml @@ -4,6 +4,9 @@ # name: "katafygio" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of katafygio package to publish. Defaults to vendor/katafygio/RELEASE.' + description: 'Zero-based release number of katafygio package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - katafygio_VERSION: ${{ github.event.inputs.package_version_override }} - katafygio_RELEASE: ${{ github.event.inputs.release_number_override }} + katafygio_VERSION: ${{ inputs.package_version_override }} + katafygio_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kfctl.yml b/.github/workflows/kfctl.yml index 7244665c5b..652bb02e4f 100644 --- a/.github/workflows/kfctl.yml +++ b/.github/workflows/kfctl.yml @@ -4,6 +4,9 @@ # name: "kfctl" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kfctl package to publish. Defaults to vendor/kfctl/RELEASE.' + description: 'Zero-based release number of kfctl package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kfctl_VERSION: ${{ github.event.inputs.package_version_override }} - kfctl_RELEASE: ${{ github.event.inputs.release_number_override }} + kfctl_VERSION: ${{ inputs.package_version_override }} + kfctl_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kind.yml b/.github/workflows/kind.yml index 91f7a1a160..ee099a27b6 100644 --- a/.github/workflows/kind.yml +++ b/.github/workflows/kind.yml @@ -4,6 +4,9 @@ # name: "kind" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kind package to publish. Defaults to vendor/kind/RELEASE.' + description: 'Zero-based release number of kind package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kind_VERSION: ${{ github.event.inputs.package_version_override }} - kind_RELEASE: ${{ github.event.inputs.release_number_override }} + kind_VERSION: ${{ inputs.package_version_override }} + kind_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kops.yml b/.github/workflows/kops.yml index cd237dc201..b3293b63d0 100644 --- a/.github/workflows/kops.yml +++ b/.github/workflows/kops.yml @@ -4,6 +4,9 @@ # name: "kops" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kops package to publish. Defaults to vendor/kops/RELEASE.' + description: 'Zero-based release number of kops package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kops_VERSION: ${{ github.event.inputs.package_version_override }} - kops_RELEASE: ${{ github.event.inputs.release_number_override }} + kops_VERSION: ${{ inputs.package_version_override }} + kops_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/krew.yml b/.github/workflows/krew.yml index 71842813f7..5223466f54 100644 --- a/.github/workflows/krew.yml +++ b/.github/workflows/krew.yml @@ -4,6 +4,9 @@ # name: "krew" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of krew package to publish. Defaults to vendor/krew/RELEASE.' + description: 'Zero-based release number of krew package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - krew_VERSION: ${{ github.event.inputs.package_version_override }} - krew_RELEASE: ${{ github.event.inputs.release_number_override }} + krew_VERSION: ${{ inputs.package_version_override }} + krew_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubecron.yml b/.github/workflows/kubecron.yml index fdb152294f..375ca9b386 100644 --- a/.github/workflows/kubecron.yml +++ b/.github/workflows/kubecron.yml @@ -4,6 +4,9 @@ # name: "kubecron" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubecron package to publish. Defaults to vendor/kubecron/RELEASE.' + description: 'Zero-based release number of kubecron package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubecron_VERSION: ${{ github.event.inputs.package_version_override }} - kubecron_RELEASE: ${{ github.event.inputs.release_number_override }} + kubecron_VERSION: ${{ inputs.package_version_override }} + kubecron_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.13.yml b/.github/workflows/kubectl-1.13.yml index dcc40d7b84..21c52ae3fb 100644 --- a/.github/workflows/kubectl-1.13.yml +++ b/.github/workflows/kubectl-1.13.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.13" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.13 package to publish. Defaults to vendor/kubectl-1.13/RELEASE.' + description: 'Zero-based release number of kubectl-1.13 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.13_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.13_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.13_VERSION: ${{ inputs.package_version_override }} + kubectl-1.13_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.14.yml b/.github/workflows/kubectl-1.14.yml index 43fcef434d..69942d76bd 100644 --- a/.github/workflows/kubectl-1.14.yml +++ b/.github/workflows/kubectl-1.14.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.14" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.14 package to publish. Defaults to vendor/kubectl-1.14/RELEASE.' + description: 'Zero-based release number of kubectl-1.14 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.14_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.14_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.14_VERSION: ${{ inputs.package_version_override }} + kubectl-1.14_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.15.yml b/.github/workflows/kubectl-1.15.yml index 5e429eb59b..16aa49c4f7 100644 --- a/.github/workflows/kubectl-1.15.yml +++ b/.github/workflows/kubectl-1.15.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.15" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.15 package to publish. Defaults to vendor/kubectl-1.15/RELEASE.' + description: 'Zero-based release number of kubectl-1.15 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.15_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.15_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.15_VERSION: ${{ inputs.package_version_override }} + kubectl-1.15_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.16.yml b/.github/workflows/kubectl-1.16.yml index 047087e4a8..e6a6cd3a77 100644 --- a/.github/workflows/kubectl-1.16.yml +++ b/.github/workflows/kubectl-1.16.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.16" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.16 package to publish. Defaults to vendor/kubectl-1.16/RELEASE.' + description: 'Zero-based release number of kubectl-1.16 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.16_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.16_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.16_VERSION: ${{ inputs.package_version_override }} + kubectl-1.16_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.17.yml b/.github/workflows/kubectl-1.17.yml index ccb41c33ed..7e75e50af2 100644 --- a/.github/workflows/kubectl-1.17.yml +++ b/.github/workflows/kubectl-1.17.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.17" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.17 package to publish. Defaults to vendor/kubectl-1.17/RELEASE.' + description: 'Zero-based release number of kubectl-1.17 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.17_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.17_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.17_VERSION: ${{ inputs.package_version_override }} + kubectl-1.17_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.18.yml b/.github/workflows/kubectl-1.18.yml index 8de70460d0..7e7ed48586 100644 --- a/.github/workflows/kubectl-1.18.yml +++ b/.github/workflows/kubectl-1.18.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.18" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.18 package to publish. Defaults to vendor/kubectl-1.18/RELEASE.' + description: 'Zero-based release number of kubectl-1.18 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.18_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.18_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.18_VERSION: ${{ inputs.package_version_override }} + kubectl-1.18_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.19.yml b/.github/workflows/kubectl-1.19.yml index 31545f85e0..814e2978b2 100644 --- a/.github/workflows/kubectl-1.19.yml +++ b/.github/workflows/kubectl-1.19.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.19" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.19 package to publish. Defaults to vendor/kubectl-1.19/RELEASE.' + description: 'Zero-based release number of kubectl-1.19 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.19_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.19_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.19_VERSION: ${{ inputs.package_version_override }} + kubectl-1.19_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.20.yml b/.github/workflows/kubectl-1.20.yml index 75b64e5d38..091951f148 100644 --- a/.github/workflows/kubectl-1.20.yml +++ b/.github/workflows/kubectl-1.20.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.20" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.20 package to publish. Defaults to vendor/kubectl-1.20/RELEASE.' + description: 'Zero-based release number of kubectl-1.20 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.20_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.20_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.20_VERSION: ${{ inputs.package_version_override }} + kubectl-1.20_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.21.yml b/.github/workflows/kubectl-1.21.yml index 6bb3dbba16..d53607d8b5 100644 --- a/.github/workflows/kubectl-1.21.yml +++ b/.github/workflows/kubectl-1.21.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.21" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.21 package to publish. Defaults to vendor/kubectl-1.21/RELEASE.' + description: 'Zero-based release number of kubectl-1.21 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.21_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.21_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.21_VERSION: ${{ inputs.package_version_override }} + kubectl-1.21_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.22.yml b/.github/workflows/kubectl-1.22.yml index 32d389ecab..dbcf65c3cb 100644 --- a/.github/workflows/kubectl-1.22.yml +++ b/.github/workflows/kubectl-1.22.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.22" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.22 package to publish. Defaults to vendor/kubectl-1.22/RELEASE.' + description: 'Zero-based release number of kubectl-1.22 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.22_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.22_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.22_VERSION: ${{ inputs.package_version_override }} + kubectl-1.22_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.23.yml b/.github/workflows/kubectl-1.23.yml index e3bbff7334..cd7d768598 100644 --- a/.github/workflows/kubectl-1.23.yml +++ b/.github/workflows/kubectl-1.23.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.23" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.23 package to publish. Defaults to vendor/kubectl-1.23/RELEASE.' + description: 'Zero-based release number of kubectl-1.23 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.23_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.23_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.23_VERSION: ${{ inputs.package_version_override }} + kubectl-1.23_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.24.yml b/.github/workflows/kubectl-1.24.yml index 8a480ddb52..e26f4e85fd 100644 --- a/.github/workflows/kubectl-1.24.yml +++ b/.github/workflows/kubectl-1.24.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.24" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.24 package to publish. Defaults to vendor/kubectl-1.24/RELEASE.' + description: 'Zero-based release number of kubectl-1.24 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.24_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.24_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.24_VERSION: ${{ inputs.package_version_override }} + kubectl-1.24_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.25.yml b/.github/workflows/kubectl-1.25.yml index 36a9f504fd..f5cd62e3e8 100644 --- a/.github/workflows/kubectl-1.25.yml +++ b/.github/workflows/kubectl-1.25.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.25" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.25 package to publish. Defaults to vendor/kubectl-1.25/RELEASE.' + description: 'Zero-based release number of kubectl-1.25 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.25_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.25_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.25_VERSION: ${{ inputs.package_version_override }} + kubectl-1.25_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.26.yml b/.github/workflows/kubectl-1.26.yml index 126c4645df..bb4651c153 100644 --- a/.github/workflows/kubectl-1.26.yml +++ b/.github/workflows/kubectl-1.26.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.26" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.26 package to publish. Defaults to vendor/kubectl-1.26/RELEASE.' + description: 'Zero-based release number of kubectl-1.26 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.26_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.26_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.26_VERSION: ${{ inputs.package_version_override }} + kubectl-1.26_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.27.yml b/.github/workflows/kubectl-1.27.yml index 521e08b2b2..e377f9e523 100644 --- a/.github/workflows/kubectl-1.27.yml +++ b/.github/workflows/kubectl-1.27.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.27" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.27 package to publish. Defaults to vendor/kubectl-1.27/RELEASE.' + description: 'Zero-based release number of kubectl-1.27 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.27_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.27_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.27_VERSION: ${{ inputs.package_version_override }} + kubectl-1.27_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl-1.28.yml b/.github/workflows/kubectl-1.28.yml index 08343f3ed4..5a0ae6300b 100644 --- a/.github/workflows/kubectl-1.28.yml +++ b/.github/workflows/kubectl-1.28.yml @@ -4,6 +4,9 @@ # name: "kubectl-1.28" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl-1.28 package to publish. Defaults to vendor/kubectl-1.28/RELEASE.' + description: 'Zero-based release number of kubectl-1.28 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl-1.28_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl-1.28_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl-1.28_VERSION: ${{ inputs.package_version_override }} + kubectl-1.28_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectl.yml b/.github/workflows/kubectl.yml index d254f42b4d..01331ee2a0 100644 --- a/.github/workflows/kubectl.yml +++ b/.github/workflows/kubectl.yml @@ -4,6 +4,9 @@ # name: "kubectl" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectl package to publish. Defaults to vendor/kubectl/RELEASE.' + description: 'Zero-based release number of kubectl package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectl_VERSION: ${{ github.event.inputs.package_version_override }} - kubectl_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectl_VERSION: ${{ inputs.package_version_override }} + kubectl_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubectx.yml b/.github/workflows/kubectx.yml index 8186b012d4..896365c3f2 100644 --- a/.github/workflows/kubectx.yml +++ b/.github/workflows/kubectx.yml @@ -4,6 +4,9 @@ # name: "kubectx" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubectx package to publish. Defaults to vendor/kubectx/RELEASE.' + description: 'Zero-based release number of kubectx package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubectx_VERSION: ${{ github.event.inputs.package_version_override }} - kubectx_RELEASE: ${{ github.event.inputs.release_number_override }} + kubectx_VERSION: ${{ inputs.package_version_override }} + kubectx_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubens.yml b/.github/workflows/kubens.yml index 8afeef5ae6..a50b26e838 100644 --- a/.github/workflows/kubens.yml +++ b/.github/workflows/kubens.yml @@ -4,6 +4,9 @@ # name: "kubens" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubens package to publish. Defaults to vendor/kubens/RELEASE.' + description: 'Zero-based release number of kubens package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubens_VERSION: ${{ github.event.inputs.package_version_override }} - kubens_RELEASE: ${{ github.event.inputs.release_number_override }} + kubens_VERSION: ${{ inputs.package_version_override }} + kubens_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/kubeval.yml b/.github/workflows/kubeval.yml index f68c6af08b..e834dffbe4 100644 --- a/.github/workflows/kubeval.yml +++ b/.github/workflows/kubeval.yml @@ -4,6 +4,9 @@ # name: "kubeval" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of kubeval package to publish. Defaults to vendor/kubeval/RELEASE.' + description: 'Zero-based release number of kubeval package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - kubeval_VERSION: ${{ github.event.inputs.package_version_override }} - kubeval_RELEASE: ${{ github.event.inputs.release_number_override }} + kubeval_VERSION: ${{ inputs.package_version_override }} + kubeval_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/lazydocker.yml b/.github/workflows/lazydocker.yml index 4bd78efc25..8dace7629e 100644 --- a/.github/workflows/lazydocker.yml +++ b/.github/workflows/lazydocker.yml @@ -4,6 +4,9 @@ # name: "lazydocker" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of lazydocker package to publish. Defaults to vendor/lazydocker/RELEASE.' + description: 'Zero-based release number of lazydocker package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - lazydocker_VERSION: ${{ github.event.inputs.package_version_override }} - lazydocker_RELEASE: ${{ github.event.inputs.release_number_override }} + lazydocker_VERSION: ${{ inputs.package_version_override }} + lazydocker_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/lectl.yml b/.github/workflows/lectl.yml index 26f0ebc463..f0b8aebe83 100644 --- a/.github/workflows/lectl.yml +++ b/.github/workflows/lectl.yml @@ -4,6 +4,9 @@ # name: "lectl" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of lectl package to publish. Defaults to vendor/lectl/RELEASE.' + description: 'Zero-based release number of lectl package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - lectl_VERSION: ${{ github.event.inputs.package_version_override }} - lectl_RELEASE: ${{ github.event.inputs.release_number_override }} + lectl_VERSION: ${{ inputs.package_version_override }} + lectl_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/minikube.yml b/.github/workflows/minikube.yml index 3d0c5cbea5..79a0dd75b3 100644 --- a/.github/workflows/minikube.yml +++ b/.github/workflows/minikube.yml @@ -4,6 +4,9 @@ # name: "minikube" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of minikube package to publish. Defaults to vendor/minikube/RELEASE.' + description: 'Zero-based release number of minikube package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - minikube_VERSION: ${{ github.event.inputs.package_version_override }} - minikube_RELEASE: ${{ github.event.inputs.release_number_override }} + minikube_VERSION: ${{ inputs.package_version_override }} + minikube_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/misspell.yml b/.github/workflows/misspell.yml index be73ec4414..d666d00274 100644 --- a/.github/workflows/misspell.yml +++ b/.github/workflows/misspell.yml @@ -4,6 +4,9 @@ # name: "misspell" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of misspell package to publish. Defaults to vendor/misspell/RELEASE.' + description: 'Zero-based release number of misspell package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - misspell_VERSION: ${{ github.event.inputs.package_version_override }} - misspell_RELEASE: ${{ github.event.inputs.release_number_override }} + misspell_VERSION: ${{ inputs.package_version_override }} + misspell_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/opa.yml b/.github/workflows/opa.yml index 2bb6546129..1148d91ea3 100644 --- a/.github/workflows/opa.yml +++ b/.github/workflows/opa.yml @@ -4,6 +4,9 @@ # name: "opa" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of opa package to publish. Defaults to vendor/opa/RELEASE.' + description: 'Zero-based release number of opa package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - opa_VERSION: ${{ github.event.inputs.package_version_override }} - opa_RELEASE: ${{ github.event.inputs.release_number_override }} + opa_VERSION: ${{ inputs.package_version_override }} + opa_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index a81cfbe730..d65bc511c5 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -4,6 +4,9 @@ # name: "pack" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of pack package to publish. Defaults to vendor/pack/RELEASE.' + description: 'Zero-based release number of pack package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - pack_VERSION: ${{ github.event.inputs.package_version_override }} - pack_RELEASE: ${{ github.event.inputs.release_number_override }} + pack_VERSION: ${{ inputs.package_version_override }} + pack_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/packer.yml b/.github/workflows/packer.yml index 7815b5c989..d0139f2c01 100644 --- a/.github/workflows/packer.yml +++ b/.github/workflows/packer.yml @@ -4,6 +4,9 @@ # name: "packer" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of packer package to publish. Defaults to vendor/packer/RELEASE.' + description: 'Zero-based release number of packer package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - packer_VERSION: ${{ github.event.inputs.package_version_override }} - packer_RELEASE: ${{ github.event.inputs.release_number_override }} + packer_VERSION: ${{ inputs.package_version_override }} + packer_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/pandoc.yml b/.github/workflows/pandoc.yml index d997d1a0cd..9bc1f2100e 100644 --- a/.github/workflows/pandoc.yml +++ b/.github/workflows/pandoc.yml @@ -4,6 +4,9 @@ # name: "pandoc" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of pandoc package to publish. Defaults to vendor/pandoc/RELEASE.' + description: 'Zero-based release number of pandoc package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - pandoc_VERSION: ${{ github.event.inputs.package_version_override }} - pandoc_RELEASE: ${{ github.event.inputs.release_number_override }} + pandoc_VERSION: ${{ inputs.package_version_override }} + pandoc_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/pgmetrics.yml b/.github/workflows/pgmetrics.yml index 1c91a48b4c..61f182f9f5 100644 --- a/.github/workflows/pgmetrics.yml +++ b/.github/workflows/pgmetrics.yml @@ -4,6 +4,9 @@ # name: "pgmetrics" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of pgmetrics package to publish. Defaults to vendor/pgmetrics/RELEASE.' + description: 'Zero-based release number of pgmetrics package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - pgmetrics_VERSION: ${{ github.event.inputs.package_version_override }} - pgmetrics_RELEASE: ${{ github.event.inputs.release_number_override }} + pgmetrics_VERSION: ${{ inputs.package_version_override }} + pgmetrics_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/pluto.yml b/.github/workflows/pluto.yml index 70a8ea3c7f..36976f7fc8 100644 --- a/.github/workflows/pluto.yml +++ b/.github/workflows/pluto.yml @@ -4,6 +4,9 @@ # name: "pluto" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of pluto package to publish. Defaults to vendor/pluto/RELEASE.' + description: 'Zero-based release number of pluto package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - pluto_VERSION: ${{ github.event.inputs.package_version_override }} - pluto_RELEASE: ${{ github.event.inputs.release_number_override }} + pluto_VERSION: ${{ inputs.package_version_override }} + pluto_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/popeye.yml b/.github/workflows/popeye.yml index a71b100a54..00e149849e 100644 --- a/.github/workflows/popeye.yml +++ b/.github/workflows/popeye.yml @@ -4,6 +4,9 @@ # name: "popeye" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of popeye package to publish. Defaults to vendor/popeye/RELEASE.' + description: 'Zero-based release number of popeye package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - popeye_VERSION: ${{ github.event.inputs.package_version_override }} - popeye_RELEASE: ${{ github.event.inputs.release_number_override }} + popeye_VERSION: ${{ inputs.package_version_override }} + popeye_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/promtool.yml b/.github/workflows/promtool.yml index a7580fefe3..9788e4ea16 100644 --- a/.github/workflows/promtool.yml +++ b/.github/workflows/promtool.yml @@ -4,6 +4,9 @@ # name: "promtool" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of promtool package to publish. Defaults to vendor/promtool/RELEASE.' + description: 'Zero-based release number of promtool package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - promtool_VERSION: ${{ github.event.inputs.package_version_override }} - promtool_RELEASE: ${{ github.event.inputs.release_number_override }} + promtool_VERSION: ${{ inputs.package_version_override }} + promtool_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/rainbow-text.yml b/.github/workflows/rainbow-text.yml index 5ce7634ee7..ea701f9d68 100644 --- a/.github/workflows/rainbow-text.yml +++ b/.github/workflows/rainbow-text.yml @@ -4,6 +4,9 @@ # name: "rainbow-text" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of rainbow-text package to publish. Defaults to vendor/rainbow-text/RELEASE.' + description: 'Zero-based release number of rainbow-text package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - rainbow-text_VERSION: ${{ github.event.inputs.package_version_override }} - rainbow-text_RELEASE: ${{ github.event.inputs.release_number_override }} + rainbow-text_VERSION: ${{ inputs.package_version_override }} + rainbow-text_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/rakkess.yml b/.github/workflows/rakkess.yml index c2359a7469..1c108b9466 100644 --- a/.github/workflows/rakkess.yml +++ b/.github/workflows/rakkess.yml @@ -4,6 +4,9 @@ # name: "rakkess" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of rakkess package to publish. Defaults to vendor/rakkess/RELEASE.' + description: 'Zero-based release number of rakkess package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - rakkess_VERSION: ${{ github.event.inputs.package_version_override }} - rakkess_RELEASE: ${{ github.event.inputs.release_number_override }} + rakkess_VERSION: ${{ inputs.package_version_override }} + rakkess_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/rancher.yml b/.github/workflows/rancher.yml index a0a2f957a7..206be59c02 100644 --- a/.github/workflows/rancher.yml +++ b/.github/workflows/rancher.yml @@ -4,6 +4,9 @@ # name: "rancher" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of rancher package to publish. Defaults to vendor/rancher/RELEASE.' + description: 'Zero-based release number of rancher package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - rancher_VERSION: ${{ github.event.inputs.package_version_override }} - rancher_RELEASE: ${{ github.event.inputs.release_number_override }} + rancher_VERSION: ${{ inputs.package_version_override }} + rancher_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/rbac-lookup.yml b/.github/workflows/rbac-lookup.yml index 6fe32c7ca9..0ebdb060b6 100644 --- a/.github/workflows/rbac-lookup.yml +++ b/.github/workflows/rbac-lookup.yml @@ -4,6 +4,9 @@ # name: "rbac-lookup" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of rbac-lookup package to publish. Defaults to vendor/rbac-lookup/RELEASE.' + description: 'Zero-based release number of rbac-lookup package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - rbac-lookup_VERSION: ${{ github.event.inputs.package_version_override }} - rbac-lookup_RELEASE: ${{ github.event.inputs.release_number_override }} + rbac-lookup_VERSION: ${{ inputs.package_version_override }} + rbac-lookup_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/rpmbuild.yml b/.github/workflows/rpmbuild.yml index bacf4d45ad..2e6c84cef9 100644 --- a/.github/workflows/rpmbuild.yml +++ b/.github/workflows/rpmbuild.yml @@ -1,4 +1,7 @@ name: "rpmbuild" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} + cancel-in-progress: true on: push: branches: diff --git a/.github/workflows/saml2aws.yml b/.github/workflows/saml2aws.yml index 39de8fb32d..b5277e8d36 100644 --- a/.github/workflows/saml2aws.yml +++ b/.github/workflows/saml2aws.yml @@ -4,6 +4,9 @@ # name: "saml2aws" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of saml2aws package to publish. Defaults to vendor/saml2aws/RELEASE.' + description: 'Zero-based release number of saml2aws package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - saml2aws_VERSION: ${{ github.event.inputs.package_version_override }} - saml2aws_RELEASE: ${{ github.event.inputs.release_number_override }} + saml2aws_VERSION: ${{ inputs.package_version_override }} + saml2aws_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/sentry-cli.yml b/.github/workflows/sentry-cli.yml index 3fe38858c2..1f754e28dd 100644 --- a/.github/workflows/sentry-cli.yml +++ b/.github/workflows/sentry-cli.yml @@ -4,6 +4,9 @@ # name: "sentry-cli" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of sentry-cli package to publish. Defaults to vendor/sentry-cli/RELEASE.' + description: 'Zero-based release number of sentry-cli package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - sentry-cli_VERSION: ${{ github.event.inputs.package_version_override }} - sentry-cli_RELEASE: ${{ github.event.inputs.release_number_override }} + sentry-cli_VERSION: ${{ inputs.package_version_override }} + sentry-cli_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index 807bf717f1..a085c3dd94 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -4,6 +4,9 @@ # name: "shellcheck" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of shellcheck package to publish. Defaults to vendor/shellcheck/RELEASE.' + description: 'Zero-based release number of shellcheck package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - shellcheck_VERSION: ${{ github.event.inputs.package_version_override }} - shellcheck_RELEASE: ${{ github.event.inputs.release_number_override }} + shellcheck_VERSION: ${{ inputs.package_version_override }} + shellcheck_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/shfmt.yml b/.github/workflows/shfmt.yml index f0ff1f6ce0..ce2d46bc16 100644 --- a/.github/workflows/shfmt.yml +++ b/.github/workflows/shfmt.yml @@ -4,6 +4,9 @@ # name: "shfmt" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of shfmt package to publish. Defaults to vendor/shfmt/RELEASE.' + description: 'Zero-based release number of shfmt package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - shfmt_VERSION: ${{ github.event.inputs.package_version_override }} - shfmt_RELEASE: ${{ github.event.inputs.release_number_override }} + shfmt_VERSION: ${{ inputs.package_version_override }} + shfmt_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/slack-notifier.yml b/.github/workflows/slack-notifier.yml index 17118b00d3..2dd23a47b0 100644 --- a/.github/workflows/slack-notifier.yml +++ b/.github/workflows/slack-notifier.yml @@ -4,6 +4,9 @@ # name: "slack-notifier" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of slack-notifier package to publish. Defaults to vendor/slack-notifier/RELEASE.' + description: 'Zero-based release number of slack-notifier package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - slack-notifier_VERSION: ${{ github.event.inputs.package_version_override }} - slack-notifier_RELEASE: ${{ github.event.inputs.release_number_override }} + slack-notifier_VERSION: ${{ inputs.package_version_override }} + slack-notifier_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/sops.yml b/.github/workflows/sops.yml index 0dd20985c1..e5d5b95ea4 100644 --- a/.github/workflows/sops.yml +++ b/.github/workflows/sops.yml @@ -4,6 +4,9 @@ # name: "sops" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of sops package to publish. Defaults to vendor/sops/RELEASE.' + description: 'Zero-based release number of sops package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - sops_VERSION: ${{ github.event.inputs.package_version_override }} - sops_RELEASE: ${{ github.event.inputs.release_number_override }} + sops_VERSION: ${{ inputs.package_version_override }} + sops_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/spacectl.yml b/.github/workflows/spacectl.yml index c7d69fc98f..43e4c25bcb 100644 --- a/.github/workflows/spacectl.yml +++ b/.github/workflows/spacectl.yml @@ -4,6 +4,9 @@ # name: "spacectl" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of spacectl package to publish. Defaults to vendor/spacectl/RELEASE.' + description: 'Zero-based release number of spacectl package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - spacectl_VERSION: ${{ github.event.inputs.package_version_override }} - spacectl_RELEASE: ${{ github.event.inputs.release_number_override }} + spacectl_VERSION: ${{ inputs.package_version_override }} + spacectl_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/spotctl.yml b/.github/workflows/spotctl.yml index 1400b64e81..46f250bedf 100644 --- a/.github/workflows/spotctl.yml +++ b/.github/workflows/spotctl.yml @@ -4,6 +4,9 @@ # name: "spotctl" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of spotctl package to publish. Defaults to vendor/spotctl/RELEASE.' + description: 'Zero-based release number of spotctl package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - spotctl_VERSION: ${{ github.event.inputs.package_version_override }} - spotctl_RELEASE: ${{ github.event.inputs.release_number_override }} + spotctl_VERSION: ${{ inputs.package_version_override }} + spotctl_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/sshm.yml b/.github/workflows/sshm.yml index 673a6ee0f7..37fc403c8a 100644 --- a/.github/workflows/sshm.yml +++ b/.github/workflows/sshm.yml @@ -4,6 +4,9 @@ # name: "sshm" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of sshm package to publish. Defaults to vendor/sshm/RELEASE.' + description: 'Zero-based release number of sshm package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - sshm_VERSION: ${{ github.event.inputs.package_version_override }} - sshm_RELEASE: ${{ github.event.inputs.release_number_override }} + sshm_VERSION: ${{ inputs.package_version_override }} + sshm_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/stern.yml b/.github/workflows/stern.yml index b16230c17b..559e6c4bf8 100644 --- a/.github/workflows/stern.yml +++ b/.github/workflows/stern.yml @@ -4,6 +4,9 @@ # name: "stern" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of stern package to publish. Defaults to vendor/stern/RELEASE.' + description: 'Zero-based release number of stern package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - stern_VERSION: ${{ github.event.inputs.package_version_override }} - stern_RELEASE: ${{ github.event.inputs.release_number_override }} + stern_VERSION: ${{ inputs.package_version_override }} + stern_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/sudosh.yml b/.github/workflows/sudosh.yml index 7a495b0a16..3930cb4d31 100644 --- a/.github/workflows/sudosh.yml +++ b/.github/workflows/sudosh.yml @@ -4,6 +4,9 @@ # name: "sudosh" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of sudosh package to publish. Defaults to vendor/sudosh/RELEASE.' + description: 'Zero-based release number of sudosh package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - sudosh_VERSION: ${{ github.event.inputs.package_version_override }} - sudosh_RELEASE: ${{ github.event.inputs.release_number_override }} + sudosh_VERSION: ${{ inputs.package_version_override }} + sudosh_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/teleport-4.3.yml b/.github/workflows/teleport-4.3.yml index 73dd4e8be9..2a34d9f17c 100644 --- a/.github/workflows/teleport-4.3.yml +++ b/.github/workflows/teleport-4.3.yml @@ -4,6 +4,9 @@ # name: "teleport-4.3" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of teleport-4.3 package to publish. Defaults to vendor/teleport-4.3/RELEASE.' + description: 'Zero-based release number of teleport-4.3 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - teleport-4.3_VERSION: ${{ github.event.inputs.package_version_override }} - teleport-4.3_RELEASE: ${{ github.event.inputs.release_number_override }} + teleport-4.3_VERSION: ${{ inputs.package_version_override }} + teleport-4.3_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/teleport-4.4.yml b/.github/workflows/teleport-4.4.yml index 640fcb8374..5e58222126 100644 --- a/.github/workflows/teleport-4.4.yml +++ b/.github/workflows/teleport-4.4.yml @@ -4,6 +4,9 @@ # name: "teleport-4.4" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of teleport-4.4 package to publish. Defaults to vendor/teleport-4.4/RELEASE.' + description: 'Zero-based release number of teleport-4.4 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - teleport-4.4_VERSION: ${{ github.event.inputs.package_version_override }} - teleport-4.4_RELEASE: ${{ github.event.inputs.release_number_override }} + teleport-4.4_VERSION: ${{ inputs.package_version_override }} + teleport-4.4_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/teleport-5.0.yml b/.github/workflows/teleport-5.0.yml index af0315b2e1..61320ca85a 100644 --- a/.github/workflows/teleport-5.0.yml +++ b/.github/workflows/teleport-5.0.yml @@ -4,6 +4,9 @@ # name: "teleport-5.0" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of teleport-5.0 package to publish. Defaults to vendor/teleport-5.0/RELEASE.' + description: 'Zero-based release number of teleport-5.0 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - teleport-5.0_VERSION: ${{ github.event.inputs.package_version_override }} - teleport-5.0_RELEASE: ${{ github.event.inputs.release_number_override }} + teleport-5.0_VERSION: ${{ inputs.package_version_override }} + teleport-5.0_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/teleport.yml b/.github/workflows/teleport.yml index 5d253076d4..35ac1295b3 100644 --- a/.github/workflows/teleport.yml +++ b/.github/workflows/teleport.yml @@ -4,6 +4,9 @@ # name: "teleport" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of teleport package to publish. Defaults to vendor/teleport/RELEASE.' + description: 'Zero-based release number of teleport package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - teleport_VERSION: ${{ github.event.inputs.package_version_override }} - teleport_RELEASE: ${{ github.event.inputs.release_number_override }} + teleport_VERSION: ${{ inputs.package_version_override }} + teleport_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/terraform-0.11.yml b/.github/workflows/terraform-0.11.yml index f5ddf3ab6b..72d99b1f69 100644 --- a/.github/workflows/terraform-0.11.yml +++ b/.github/workflows/terraform-0.11.yml @@ -4,6 +4,9 @@ # name: "terraform-0.11" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of terraform-0.11 package to publish. Defaults to vendor/terraform-0.11/RELEASE.' + description: 'Zero-based release number of terraform-0.11 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - terraform-0.11_VERSION: ${{ github.event.inputs.package_version_override }} - terraform-0.11_RELEASE: ${{ github.event.inputs.release_number_override }} + terraform-0.11_VERSION: ${{ inputs.package_version_override }} + terraform-0.11_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/terraform-0.12.yml b/.github/workflows/terraform-0.12.yml index a4a7c2f8a9..ca97b28806 100644 --- a/.github/workflows/terraform-0.12.yml +++ b/.github/workflows/terraform-0.12.yml @@ -4,6 +4,9 @@ # name: "terraform-0.12" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of terraform-0.12 package to publish. Defaults to vendor/terraform-0.12/RELEASE.' + description: 'Zero-based release number of terraform-0.12 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - terraform-0.12_VERSION: ${{ github.event.inputs.package_version_override }} - terraform-0.12_RELEASE: ${{ github.event.inputs.release_number_override }} + terraform-0.12_VERSION: ${{ inputs.package_version_override }} + terraform-0.12_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/terraform-0.13.yml b/.github/workflows/terraform-0.13.yml index edbcfd4d31..29517630a9 100644 --- a/.github/workflows/terraform-0.13.yml +++ b/.github/workflows/terraform-0.13.yml @@ -4,6 +4,9 @@ # name: "terraform-0.13" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of terraform-0.13 package to publish. Defaults to vendor/terraform-0.13/RELEASE.' + description: 'Zero-based release number of terraform-0.13 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - terraform-0.13_VERSION: ${{ github.event.inputs.package_version_override }} - terraform-0.13_RELEASE: ${{ github.event.inputs.release_number_override }} + terraform-0.13_VERSION: ${{ inputs.package_version_override }} + terraform-0.13_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/terraform-0.14.yml b/.github/workflows/terraform-0.14.yml index ab53749685..0074b201d9 100644 --- a/.github/workflows/terraform-0.14.yml +++ b/.github/workflows/terraform-0.14.yml @@ -4,6 +4,9 @@ # name: "terraform-0.14" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of terraform-0.14 package to publish. Defaults to vendor/terraform-0.14/RELEASE.' + description: 'Zero-based release number of terraform-0.14 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - terraform-0.14_VERSION: ${{ github.event.inputs.package_version_override }} - terraform-0.14_RELEASE: ${{ github.event.inputs.release_number_override }} + terraform-0.14_VERSION: ${{ inputs.package_version_override }} + terraform-0.14_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/terraform-0.15.yml b/.github/workflows/terraform-0.15.yml index 9bc70218b8..a2f1831942 100644 --- a/.github/workflows/terraform-0.15.yml +++ b/.github/workflows/terraform-0.15.yml @@ -4,6 +4,9 @@ # name: "terraform-0.15" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of terraform-0.15 package to publish. Defaults to vendor/terraform-0.15/RELEASE.' + description: 'Zero-based release number of terraform-0.15 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - terraform-0.15_VERSION: ${{ github.event.inputs.package_version_override }} - terraform-0.15_RELEASE: ${{ github.event.inputs.release_number_override }} + terraform-0.15_VERSION: ${{ inputs.package_version_override }} + terraform-0.15_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/terraform-1.yml b/.github/workflows/terraform-1.yml index 135f697fe4..253087e22f 100644 --- a/.github/workflows/terraform-1.yml +++ b/.github/workflows/terraform-1.yml @@ -4,6 +4,9 @@ # name: "terraform-1" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of terraform-1 package to publish. Defaults to vendor/terraform-1/RELEASE.' + description: 'Zero-based release number of terraform-1 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - terraform-1_VERSION: ${{ github.event.inputs.package_version_override }} - terraform-1_RELEASE: ${{ github.event.inputs.release_number_override }} + terraform-1_VERSION: ${{ inputs.package_version_override }} + terraform-1_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/terraform-config-inspect.yml b/.github/workflows/terraform-config-inspect.yml index 20cee5bc40..9d4b6ea4c5 100644 --- a/.github/workflows/terraform-config-inspect.yml +++ b/.github/workflows/terraform-config-inspect.yml @@ -4,6 +4,9 @@ # name: "terraform-config-inspect" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of terraform-config-inspect package to publish. Defaults to vendor/terraform-config-inspect/RELEASE.' + description: 'Zero-based release number of terraform-config-inspect package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - terraform-config-inspect_VERSION: ${{ github.event.inputs.package_version_override }} - terraform-config-inspect_RELEASE: ${{ github.event.inputs.release_number_override }} + terraform-config-inspect_VERSION: ${{ inputs.package_version_override }} + terraform-config-inspect_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/terraform-docs.yml b/.github/workflows/terraform-docs.yml index ce4b356f6c..87dd1efa77 100644 --- a/.github/workflows/terraform-docs.yml +++ b/.github/workflows/terraform-docs.yml @@ -4,6 +4,9 @@ # name: "terraform-docs" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of terraform-docs package to publish. Defaults to vendor/terraform-docs/RELEASE.' + description: 'Zero-based release number of terraform-docs package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - terraform-docs_VERSION: ${{ github.event.inputs.package_version_override }} - terraform-docs_RELEASE: ${{ github.event.inputs.release_number_override }} + terraform-docs_VERSION: ${{ inputs.package_version_override }} + terraform-docs_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/terraform-module-versions.yml b/.github/workflows/terraform-module-versions.yml index 394e2fc3b0..51355abd0c 100644 --- a/.github/workflows/terraform-module-versions.yml +++ b/.github/workflows/terraform-module-versions.yml @@ -4,6 +4,9 @@ # name: "terraform-module-versions" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of terraform-module-versions package to publish. Defaults to vendor/terraform-module-versions/RELEASE.' + description: 'Zero-based release number of terraform-module-versions package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - terraform-module-versions_VERSION: ${{ github.event.inputs.package_version_override }} - terraform-module-versions_RELEASE: ${{ github.event.inputs.release_number_override }} + terraform-module-versions_VERSION: ${{ inputs.package_version_override }} + terraform-module-versions_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 7df193fa90..90b6a3e82a 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -4,6 +4,9 @@ # name: "terraform" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of terraform package to publish. Defaults to vendor/terraform/RELEASE.' + description: 'Zero-based release number of terraform package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - terraform_VERSION: ${{ github.event.inputs.package_version_override }} - terraform_RELEASE: ${{ github.event.inputs.release_number_override }} + terraform_VERSION: ${{ inputs.package_version_override }} + terraform_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/terraform_0.11.yml b/.github/workflows/terraform_0.11.yml index 8983c2e665..aa4db3c2ce 100644 --- a/.github/workflows/terraform_0.11.yml +++ b/.github/workflows/terraform_0.11.yml @@ -4,6 +4,9 @@ # name: "terraform_0.11" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of terraform_0.11 package to publish. Defaults to vendor/terraform_0.11/RELEASE.' + description: 'Zero-based release number of terraform_0.11 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - terraform_0.11_VERSION: ${{ github.event.inputs.package_version_override }} - terraform_0.11_RELEASE: ${{ github.event.inputs.release_number_override }} + terraform_0.11_VERSION: ${{ inputs.package_version_override }} + terraform_0.11_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/terraform_0.12.yml b/.github/workflows/terraform_0.12.yml index e8d398c948..dfba7d1f00 100644 --- a/.github/workflows/terraform_0.12.yml +++ b/.github/workflows/terraform_0.12.yml @@ -4,6 +4,9 @@ # name: "terraform_0.12" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of terraform_0.12 package to publish. Defaults to vendor/terraform_0.12/RELEASE.' + description: 'Zero-based release number of terraform_0.12 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - terraform_0.12_VERSION: ${{ github.event.inputs.package_version_override }} - terraform_0.12_RELEASE: ${{ github.event.inputs.release_number_override }} + terraform_0.12_VERSION: ${{ inputs.package_version_override }} + terraform_0.12_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/terraform_0.13.yml b/.github/workflows/terraform_0.13.yml index ea62e56e74..b56413083a 100644 --- a/.github/workflows/terraform_0.13.yml +++ b/.github/workflows/terraform_0.13.yml @@ -4,6 +4,9 @@ # name: "terraform_0.13" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of terraform_0.13 package to publish. Defaults to vendor/terraform_0.13/RELEASE.' + description: 'Zero-based release number of terraform_0.13 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - terraform_0.13_VERSION: ${{ github.event.inputs.package_version_override }} - terraform_0.13_RELEASE: ${{ github.event.inputs.release_number_override }} + terraform_0.13_VERSION: ${{ inputs.package_version_override }} + terraform_0.13_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/terragrunt.yml b/.github/workflows/terragrunt.yml index 09b1585ba4..ef5b0aa5f0 100644 --- a/.github/workflows/terragrunt.yml +++ b/.github/workflows/terragrunt.yml @@ -4,6 +4,9 @@ # name: "terragrunt" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of terragrunt package to publish. Defaults to vendor/terragrunt/RELEASE.' + description: 'Zero-based release number of terragrunt package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - terragrunt_VERSION: ${{ github.event.inputs.package_version_override }} - terragrunt_RELEASE: ${{ github.event.inputs.release_number_override }} + terragrunt_VERSION: ${{ inputs.package_version_override }} + terragrunt_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/terrahelp.yml b/.github/workflows/terrahelp.yml index e74d3c6c30..4654e9c97c 100644 --- a/.github/workflows/terrahelp.yml +++ b/.github/workflows/terrahelp.yml @@ -4,6 +4,9 @@ # name: "terrahelp" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of terrahelp package to publish. Defaults to vendor/terrahelp/RELEASE.' + description: 'Zero-based release number of terrahelp package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - terrahelp_VERSION: ${{ github.event.inputs.package_version_override }} - terrahelp_RELEASE: ${{ github.event.inputs.release_number_override }} + terrahelp_VERSION: ${{ inputs.package_version_override }} + terrahelp_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/tflint.yml b/.github/workflows/tflint.yml index 62e8b38447..c30edda703 100644 --- a/.github/workflows/tflint.yml +++ b/.github/workflows/tflint.yml @@ -4,6 +4,9 @@ # name: "tflint" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of tflint package to publish. Defaults to vendor/tflint/RELEASE.' + description: 'Zero-based release number of tflint package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - tflint_VERSION: ${{ github.event.inputs.package_version_override }} - tflint_RELEASE: ${{ github.event.inputs.release_number_override }} + tflint_VERSION: ${{ inputs.package_version_override }} + tflint_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/tfschema.yml b/.github/workflows/tfschema.yml index eef392233c..3d096afbeb 100644 --- a/.github/workflows/tfschema.yml +++ b/.github/workflows/tfschema.yml @@ -4,6 +4,9 @@ # name: "tfschema" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of tfschema package to publish. Defaults to vendor/tfschema/RELEASE.' + description: 'Zero-based release number of tfschema package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - tfschema_VERSION: ${{ github.event.inputs.package_version_override }} - tfschema_RELEASE: ${{ github.event.inputs.release_number_override }} + tfschema_VERSION: ${{ inputs.package_version_override }} + tfschema_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/tfsec.yml b/.github/workflows/tfsec.yml index f59a698a41..b278462c77 100644 --- a/.github/workflows/tfsec.yml +++ b/.github/workflows/tfsec.yml @@ -4,6 +4,9 @@ # name: "tfsec" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of tfsec package to publish. Defaults to vendor/tfsec/RELEASE.' + description: 'Zero-based release number of tfsec package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - tfsec_VERSION: ${{ github.event.inputs.package_version_override }} - tfsec_RELEASE: ${{ github.event.inputs.release_number_override }} + tfsec_VERSION: ${{ inputs.package_version_override }} + tfsec_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/thanos.yml b/.github/workflows/thanos.yml index 7049a5c79b..77bb6832ed 100644 --- a/.github/workflows/thanos.yml +++ b/.github/workflows/thanos.yml @@ -4,6 +4,9 @@ # name: "thanos" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of thanos package to publish. Defaults to vendor/thanos/RELEASE.' + description: 'Zero-based release number of thanos package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - thanos_VERSION: ${{ github.event.inputs.package_version_override }} - thanos_RELEASE: ${{ github.event.inputs.release_number_override }} + thanos_VERSION: ${{ inputs.package_version_override }} + thanos_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 4b8c813c6f..0cd38bbdda 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -4,6 +4,9 @@ # name: "trivy" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of trivy package to publish. Defaults to vendor/trivy/RELEASE.' + description: 'Zero-based release number of trivy package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - trivy_VERSION: ${{ github.event.inputs.package_version_override }} - trivy_RELEASE: ${{ github.event.inputs.release_number_override }} + trivy_VERSION: ${{ inputs.package_version_override }} + trivy_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/variant.yml b/.github/workflows/variant.yml index 4dd0aa2867..b8b436dbda 100644 --- a/.github/workflows/variant.yml +++ b/.github/workflows/variant.yml @@ -4,6 +4,9 @@ # name: "variant" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of variant package to publish. Defaults to vendor/variant/RELEASE.' + description: 'Zero-based release number of variant package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - variant_VERSION: ${{ github.event.inputs.package_version_override }} - variant_RELEASE: ${{ github.event.inputs.release_number_override }} + variant_VERSION: ${{ inputs.package_version_override }} + variant_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/variant2.yml b/.github/workflows/variant2.yml index a5bbebf56a..60724bafc7 100644 --- a/.github/workflows/variant2.yml +++ b/.github/workflows/variant2.yml @@ -4,6 +4,9 @@ # name: "variant2" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of variant2 package to publish. Defaults to vendor/variant2/RELEASE.' + description: 'Zero-based release number of variant2 package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - variant2_VERSION: ${{ github.event.inputs.package_version_override }} - variant2_RELEASE: ${{ github.event.inputs.release_number_override }} + variant2_VERSION: ${{ inputs.package_version_override }} + variant2_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/vault.yml b/.github/workflows/vault.yml index 31d95c8bdd..d736e027d6 100644 --- a/.github/workflows/vault.yml +++ b/.github/workflows/vault.yml @@ -4,6 +4,9 @@ # name: "vault" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of vault package to publish. Defaults to vendor/vault/RELEASE.' + description: 'Zero-based release number of vault package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - vault_VERSION: ${{ github.event.inputs.package_version_override }} - vault_RELEASE: ${{ github.event.inputs.release_number_override }} + vault_VERSION: ${{ inputs.package_version_override }} + vault_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/vendir.yml b/.github/workflows/vendir.yml index 67584e9c5e..ee6b5744e3 100644 --- a/.github/workflows/vendir.yml +++ b/.github/workflows/vendir.yml @@ -4,6 +4,9 @@ # name: "vendir" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of vendir package to publish. Defaults to vendor/vendir/RELEASE.' + description: 'Zero-based release number of vendir package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - vendir_VERSION: ${{ github.event.inputs.package_version_override }} - vendir_RELEASE: ${{ github.event.inputs.release_number_override }} + vendir_VERSION: ${{ inputs.package_version_override }} + vendir_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/venona.yml b/.github/workflows/venona.yml index df8f501936..aa8224f3d5 100644 --- a/.github/workflows/venona.yml +++ b/.github/workflows/venona.yml @@ -4,6 +4,9 @@ # name: "venona" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of venona package to publish. Defaults to vendor/venona/RELEASE.' + description: 'Zero-based release number of venona package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - venona_VERSION: ${{ github.event.inputs.package_version_override }} - venona_RELEASE: ${{ github.event.inputs.release_number_override }} + venona_VERSION: ${{ inputs.package_version_override }} + venona_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/vert.yml b/.github/workflows/vert.yml index 858ffa95f9..fd94b1410f 100644 --- a/.github/workflows/vert.yml +++ b/.github/workflows/vert.yml @@ -4,6 +4,9 @@ # name: "vert" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of vert package to publish. Defaults to vendor/vert/RELEASE.' + description: 'Zero-based release number of vert package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - vert_VERSION: ${{ github.event.inputs.package_version_override }} - vert_RELEASE: ${{ github.event.inputs.release_number_override }} + vert_VERSION: ${{ inputs.package_version_override }} + vert_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/yajsv.yml b/.github/workflows/yajsv.yml index e357d869d6..7732d1d0a4 100644 --- a/.github/workflows/yajsv.yml +++ b/.github/workflows/yajsv.yml @@ -4,6 +4,9 @@ # name: "yajsv" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of yajsv package to publish. Defaults to vendor/yajsv/RELEASE.' + description: 'Zero-based release number of yajsv package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - yajsv_VERSION: ${{ github.event.inputs.package_version_override }} - yajsv_RELEASE: ${{ github.event.inputs.release_number_override }} + yajsv_VERSION: ${{ inputs.package_version_override }} + yajsv_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/.github/workflows/yq.yml b/.github/workflows/yq.yml index e0612128b8..416433d637 100644 --- a/.github/workflows/yq.yml +++ b/.github/workflows/yq.yml @@ -4,6 +4,9 @@ # name: "yq" +concurrency: + group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} (${{ inputs.package_version_override || 'LATEST' }}_r${{ inputs.release_number_override || '0' }}) + cancel-in-progress: true on: push: branches: @@ -36,13 +39,13 @@ on: required: false type: string release_number_override: - description: 'Zero-based release number of yq package to publish. Defaults to vendor/yq/RELEASE.' + description: 'Zero-based release number of yq package to publish. Defaults to 0 (zero) when version is specified, ignored if not.' required: false type: string env: - yq_VERSION: ${{ github.event.inputs.package_version_override }} - yq_RELEASE: ${{ github.event.inputs.release_number_override }} + yq_VERSION: ${{ inputs.package_version_override }} + yq_RELEASE: ${{ inputs.release_number_override }} jobs: # Mergify cannot distinguish between 2 jobs with the same name run from different workflows, @@ -101,7 +104,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Export the apk keys as files from secrets - name: "Export keys" @@ -173,16 +176,12 @@ jobs: include: # Default value for runs-on. Original matrix values will not be overridden, but added ones (like runs-on) can be. # See https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations - - runs-on: - - "self-hosted" - - "arm64" - - "packages" - # By including `arch: amd64` here, we override the `runs-on` value `arch` is `amd64`. + - runs-on: "self-hosted-arm64-large" + # By including `arch: amd64` here, we override the `runs-on` value when the matrix `arch` is `amd64`. # This also forces the matrix to include `arch: amd64` even if it is not in the original matrix. - # This is why we do not default for amd64 and then override for arm64. + # This is why we do not default for amd64 and then override for arm64. (Because it would force arm64 to be included, and some tools are not available for arm64.) - arch: amd64 - runs-on: - - "ubuntu-latest" + runs-on: "ubuntu-latest" runs-on: ${{ matrix.runs-on }} env: # We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 @@ -208,7 +207,7 @@ jobs: steps: # Checkout the packages repo so we can build the packages as a monorepo - name: "Checkout source code at current commit" - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Build the packages for the matrix version - name: "Build ${{matrix.package-type}} packages" diff --git a/README.md b/README.md index 1befa4f7b7..1bf7ac2249 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,14 @@ Cloud Posse distribution of awesome apps. --- This project is part of our comprehensive ["SweetOps"](https://cpco.io/sweetops) approach towards DevOps. +[][share_email] +[][share_googleplus] +[][share_facebook] +[][share_reddit] +[][share_linkedin] +[][share_twitter] + + It's 100% Open Source and licensed under the [APACHE2](LICENSE). @@ -69,6 +77,8 @@ Package repository hosting is graciously provided by [cloudsmith](https://clouds + + ## Usage @@ -489,56 +499,32 @@ Here are some solutions to several common problems that may occur when adding a [![yq](https://github.com/cloudposse/packages/workflows/yq/badge.svg?branch=master)](https://github.com/cloudposse/packages/actions?query=workflow%3Ayq) | 4.40.4 | yq is a portable command-line YAML processor -## Related Projects - -Check out these related projects. - -- [build-harness](https://github.com/cloudposse/build-harness) - Collection of Makefiles to facilitate building Golang projects, Dockerfiles, Helm charts, and more -- [geodesic](https://github.com/cloudposse/geodesic) - Geodesic is the fastest way to get up and running with a rock solid, production grade cloud platform built on strictly Open Source tools. - -## ✨ Contributing -This project is under active development, and we encourage contributions from our community. -Many thanks to our outstanding contributors: +## Share the Love - - - +Like this project? Please give it a ★ on [our GitHub](https://github.com/cloudposse/packages)! (it helps us **a lot**) -### 🐛 Bug Reports & Feature Requests +Are you using this project or any of our other projects? Consider [leaving a testimonial][testimonial]. =) -Please use the [issue tracker](https://github.com/cloudposse/packages/issues) to report any bugs or file feature requests. -### 💻 Developing -If you are interested in being a contributor and want to get involved in developing this project or [help out](https://cpco.io/help-out) with our other projects, we would love to hear from you! Shoot us an [email][email]. - -In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow. - - 1. **Fork** the repo on GitHub - 2. **Clone** the project to your own machine - 3. **Commit** changes to your own branch - 4. **Push** your work back up to your fork - 5. Submit a **Pull Request** so that we can review your changes - -**NOTE:** Be sure to merge the latest changes from "upstream" before making a pull request! +## Related Projects -### 🌎 Slack Community +Check out these related projects. -Join our [Open Source Community][slack] on Slack. It's **FREE** for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally *sweet* infrastructure. +- [build-harness](https://github.com/cloudposse/build-harness) - Collection of Makefiles to facilitate building Golang projects, Dockerfiles, Helm charts, and more +- [geodesic](https://github.com/cloudposse/geodesic) - Geodesic is the fastest way to get up and running with a rock solid, production grade cloud platform built on strictly Open Source tools. -### 📰 Newsletter +## Help -Sign up for [our newsletter][newsletter] that covers everything on our technology radar. Receive updates on what we're up to on GitHub as well as awesome new projects we discover. +**Got a question?** We got answers. -### 📆 Office Hours +File a GitHub [issue](https://github.com/cloudposse/packages/issues), send us an [email][email] or join our [Slack Community][slack]. -[Join us every Wednesday via Zoom][office_hours] for our weekly "Lunch & Learn" sessions. It's **FREE** for everyone! +[![README Commercial Support][readme_commercial_support_img]][readme_commercial_support_link] -## About +## DevOps Accelerator for Startups -This project is maintained and funded by [Cloud Posse, LLC][website]. - We are a [**DevOps Accelerator**][commercial_support]. We'll help you build your cloud infrastructure from the ground up so you can own it. Then we'll show you how to operate it and stick around for as long as you need us. @@ -559,7 +545,51 @@ We deliver 10x the value for a fraction of the cost of a full-time engineer. Our - **Code Reviews.** You'll receive constructive feedback on Pull Requests. - **Bug Fixes.** We'll rapidly work with you to fix any bugs in our projects. -[![README Commercial Support][readme_commercial_support_img]][readme_commercial_support_link] +## Slack Community + +Join our [Open Source Community][slack] on Slack. It's **FREE** for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally *sweet* infrastructure. + +## Discourse Forums + +Participate in our [Discourse Forums][discourse]. Here you'll find answers to commonly asked questions. Most questions will be related to the enormous number of projects we support on our GitHub. Come here to collaborate on answers, find solutions, and get ideas about the products and services we value. It only takes a minute to get started! Just sign in with SSO using your GitHub account. + +## Newsletter + +Sign up for [our newsletter][newsletter] that covers everything on our technology radar. Receive updates on what we're up to on GitHub as well as awesome new projects we discover. + +## Office Hours + +[Join us every Wednesday via Zoom][office_hours] for our weekly "Lunch & Learn" sessions. It's **FREE** for everyone! + +[![zoom](https://img.cloudposse.com/fit-in/200x200/https://cloudposse.com/wp-content/uploads/2019/08/Powered-by-Zoom.png")][office_hours] + +## Contributing + +### Bug Reports & Feature Requests + +Please use the [issue tracker](https://github.com/cloudposse/packages/issues) to report any bugs or file feature requests. + +### Developing + +If you are interested in being a contributor and want to get involved in developing this project or [help out](https://cpco.io/help-out) with our other projects, we would love to hear from you! Shoot us an [email][email]. + +In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow. + + 1. **Fork** the repo on GitHub + 2. **Clone** the project to your own machine + 3. **Commit** changes to your own branch + 4. **Push** your work back up to your fork + 5. Submit a **Pull Request** so that we can review your changes + +**NOTE:** Be sure to merge the latest changes from "upstream" before making a pull request! + + +## Copyright + +Copyright © 2017-2023 [Cloud Posse, LLC](https://cpco.io/copyright) + + + ## License [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) @@ -585,11 +615,46 @@ specific language governing permissions and limitations under the License. ``` + + + + + + + + ## Trademarks All other trademarks referenced herein are the property of their respective owners. ---- -Copyright © 2017-2023 [Cloud Posse, LLC](https://cpco.io/copyright) + +## About + +This project is maintained and funded by [Cloud Posse, LLC][website]. Like it? Please let us know by [leaving a testimonial][testimonial]! + +[![Cloud Posse][logo]][website] + +We're a [DevOps Professional Services][hire] company based in Los Angeles, CA. We ❤️ [Open Source Software][we_love_open_source]. + +We offer [paid support][commercial_support] on all of our projects. + +Check out [our other projects][github], [follow us on twitter][twitter], [apply for a job][jobs], or [hire us][hire] to help with your cloud strategy and implementation. + + + +### Contributors + + +| [![Erik Osterman][osterman_avatar]][osterman_homepage]
[Erik Osterman][osterman_homepage] | [![Igor Rodionov][goruha_avatar]][goruha_homepage]
[Igor Rodionov][goruha_homepage] | [![Andriy Knysh][aknysh_avatar]][aknysh_homepage]
[Andriy Knysh][aknysh_homepage] | +|---|---|---| + + + [osterman_homepage]: https://github.com/osterman + [osterman_avatar]: https://img.cloudposse.com/150x150/https://github.com/osterman.png + [goruha_homepage]: https://github.com/goruha + [goruha_avatar]: https://img.cloudposse.com/150x150/https://github.com/goruha.png + [aknysh_homepage]: https://github.com/aknysh + [aknysh_avatar]: https://img.cloudposse.com/150x150/https://github.com/aknysh.png + [![README Footer][readme_footer_img]][readme_footer_link] [![Beacon][beacon]][website] @@ -600,9 +665,12 @@ Copyright © 2017-2023 [Cloud Posse, LLC](https://cpco.io/copyright) [jobs]: https://cpco.io/jobs?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/packages&utm_content=jobs [hire]: https://cpco.io/hire?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/packages&utm_content=hire [slack]: https://cpco.io/slack?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/packages&utm_content=slack + [linkedin]: https://cpco.io/linkedin?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/packages&utm_content=linkedin [twitter]: https://cpco.io/twitter?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/packages&utm_content=twitter + [testimonial]: https://cpco.io/leave-testimonial?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/packages&utm_content=testimonial [office_hours]: https://cloudposse.com/office-hours?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/packages&utm_content=office_hours [newsletter]: https://cpco.io/newsletter?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/packages&utm_content=newsletter + [discourse]: https://ask.sweetops.com/?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/packages&utm_content=discourse [email]: https://cpco.io/email?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/packages&utm_content=email [commercial_support]: https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/packages&utm_content=commercial_support [we_love_open_source]: https://cpco.io/we-love-open-source?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/packages&utm_content=we_love_open_source @@ -613,5 +681,11 @@ Copyright © 2017-2023 [Cloud Posse, LLC](https://cpco.io/copyright) [readme_footer_link]: https://cloudposse.com/readme/footer/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/packages&utm_content=readme_footer_link [readme_commercial_support_img]: https://cloudposse.com/readme/commercial-support/img [readme_commercial_support_link]: https://cloudposse.com/readme/commercial-support/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/packages&utm_content=readme_commercial_support_link + [share_twitter]: https://twitter.com/intent/tweet/?text=Packages&url=https://github.com/cloudposse/packages + [share_linkedin]: https://www.linkedin.com/shareArticle?mini=true&title=Packages&url=https://github.com/cloudposse/packages + [share_reddit]: https://reddit.com/submit/?url=https://github.com/cloudposse/packages + [share_facebook]: https://facebook.com/sharer/sharer.php?u=https://github.com/cloudposse/packages + [share_googleplus]: https://plus.google.com/share?url=https://github.com/cloudposse/packages + [share_email]: mailto:?subject=Packages&body=https://github.com/cloudposse/packages [beacon]: https://ga-beacon.cloudposse.com/UA-76589703-4/cloudposse/packages?pixel&cs=github&cm=readme&an=packages diff --git a/docs/targets.md b/docs/targets.md index 148b619fae..5668869cde 100644 --- a/docs/targets.md +++ b/docs/targets.md @@ -43,10 +43,10 @@ github-status-updater 0.9.0 Command line utility for updating GitHub co gitleaks 8.18.1 Audit git repos for secrets 🔑 go-jsonnet 0.20.0 This an implementation of Jsonnet in pure Go. gomplate 3.11.6 A flexible commandline tool for template rendering. Supports lots of local and remote datasources. -gonsul* 1.0.2 A stand-alone alternative to git2consul +gonsul 1.0.2 A stand-alone alternative to git2consul goofys* 0.24.0 a high-performance, POSIX-ish Amazon S3 file system written in Go gosu 1.17.0 Simple Go-based setuid+setgid+setgroups+exec -gotop 3.0.0 A terminal based graphical activity monitor inspired by gtop and vtop +gotop* 3.0.0 A terminal based graphical activity monitor inspired by gtop and vtop grpcurl 1.8.9 Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers hcledit 0.2.10 A command line editor for HCL helm 3.13.2 The Kubernetes Package Manager @@ -105,7 +105,7 @@ popeye 0.11.1 A Kubernetes cluster resource sanitizer promtool 2.48.0 Prometheus CLI tool rainbow-text 1.2.1 Tasty rainbows for your terminal! (lolcat clone) rakkess* 0.5.0 Review Access - kubectl plugin to show an access matrix for all available resources -rancher 2.8.0 Rancher CLI +rancher* 2.8.0 Rancher CLI rbac-lookup 0.10.2 Find Kubernetes roles and cluster roles bound to any user, service account, or group name. retry OBSOLETE ♻️ Functional mechanism based on channels to perform actions repetitively until successful. saml2aws 2.36.13 CLI tool which enables you to login and retrieve AWS temporary credentials using a SAML IDP @@ -155,7 +155,7 @@ vault 1.15.4 Hashicorp vault vendir 0.38.0 Easy way to vendor portions of git repos, github releases, helm charts, docker image contents, etc. declaratively. venona* 1.10.4 Codefresh runtime-environment agent vert 0.1.0 Simple CLI for comparing two or more versions -yajsv* 1.4.1 Yet Another JSON Schema Validator [CLI] +yajsv 1.4.1 Yet Another JSON Schema Validator [CLI] yq 4.40.4 yq is a portable command-line YAML processor ``` diff --git a/tasks/Makefile.package b/tasks/Makefile.package index 5b930ecfd6..48e5666b27 100644 --- a/tasks/Makefile.package +++ b/tasks/Makefile.package @@ -104,8 +104,10 @@ ifneq ($(strip $($(VERSION_ENV))),) PACKAGE_VERSION_OVERRIDE = $() (overridden by $(VERSION_ENV) environment variable) ifneq ($(strip $($(RELEASE_ENV))),) PACKAGE_RELEASE=$(strip $($(RELEASE_ENV))) - # $() is hack to include leading space in variable assignment PACKAGE_RELEASE_OVERRIDE = $() (overridden by $(RELEASE_ENV) environment variable) + else # If the package version is overridden, but the release is not, then set the release to 0 + PACKAGE_RELEASE=0 + PACKAGE_RELEASE_OVERRIDE = $() (because version overridden by $(VERSION_ENV) environment variable) endif endif