-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move arm64 testing to Runs-On (#5448)
- Loading branch information
Showing
153 changed files
with
1,835 additions
and
298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,6 +151,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
@@ -181,13 +186,13 @@ 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-large" | ||
- runs-on: "runs-on=${{ github.run_id }}/runner=packages-arm64" | ||
# 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. (Because it would force arm64 to be included, and some tools are not available for arm64.) | ||
- arch: amd64 | ||
runs-on: "ubuntu-latest" | ||
runs-on: ${{ matrix.runs-on }} | ||
runs-on: ${{ matrix.arch == 'arm64' && format('{0}/tag=pkg-{1}', matrix.runs-on, matrix.package-type) || matrix.runs-on }} | ||
env: | ||
# We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 | ||
# Although the "workspace" is mounted to the container, it is not mounted | ||
|
@@ -253,6 +258,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,6 +151,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
@@ -181,13 +186,13 @@ 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-large" | ||
- runs-on: "runs-on=${{ github.run_id }}/runner=packages-arm64" | ||
# 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. (Because it would force arm64 to be included, and some tools are not available for arm64.) | ||
- arch: amd64 | ||
runs-on: "ubuntu-latest" | ||
runs-on: ${{ matrix.runs-on }} | ||
runs-on: ${{ matrix.arch == 'arm64' && format('{0}/tag=pkg-{1}', matrix.runs-on, matrix.package-type) || matrix.runs-on }} | ||
env: | ||
# We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 | ||
# Although the "workspace" is mounted to the container, it is not mounted | ||
|
@@ -253,6 +258,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,6 +151,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
@@ -181,13 +186,13 @@ 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-large" | ||
- runs-on: "runs-on=${{ github.run_id }}/runner=packages-arm64" | ||
# 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. (Because it would force arm64 to be included, and some tools are not available for arm64.) | ||
- arch: amd64 | ||
runs-on: "ubuntu-latest" | ||
runs-on: ${{ matrix.runs-on }} | ||
runs-on: ${{ matrix.arch == 'arm64' && format('{0}/tag=pkg-{1}', matrix.runs-on, matrix.package-type) || matrix.runs-on }} | ||
env: | ||
# We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 | ||
# Although the "workspace" is mounted to the container, it is not mounted | ||
|
@@ -253,6 +258,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,6 +151,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
@@ -181,13 +186,13 @@ 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-large" | ||
- runs-on: "runs-on=${{ github.run_id }}/runner=packages-arm64" | ||
# 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. (Because it would force arm64 to be included, and some tools are not available for arm64.) | ||
- arch: amd64 | ||
runs-on: "ubuntu-latest" | ||
runs-on: ${{ matrix.runs-on }} | ||
runs-on: ${{ matrix.arch == 'arm64' && format('{0}/tag=pkg-{1}', matrix.runs-on, matrix.package-type) || matrix.runs-on }} | ||
env: | ||
# We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 | ||
# Although the "workspace" is mounted to the container, it is not mounted | ||
|
@@ -253,6 +258,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,6 +151,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
@@ -181,13 +186,13 @@ 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-large" | ||
- runs-on: "runs-on=${{ github.run_id }}/runner=packages-arm64" | ||
# 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. (Because it would force arm64 to be included, and some tools are not available for arm64.) | ||
- arch: amd64 | ||
runs-on: "ubuntu-latest" | ||
runs-on: ${{ matrix.runs-on }} | ||
runs-on: ${{ matrix.arch == 'arm64' && format('{0}/tag=pkg-{1}', matrix.runs-on, matrix.package-type) || matrix.runs-on }} | ||
env: | ||
# We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 | ||
# Although the "workspace" is mounted to the container, it is not mounted | ||
|
@@ -253,6 +258,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,6 +151,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
@@ -181,13 +186,13 @@ 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-large" | ||
- runs-on: "runs-on=${{ github.run_id }}/runner=packages-arm64" | ||
# 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. (Because it would force arm64 to be included, and some tools are not available for arm64.) | ||
- arch: amd64 | ||
runs-on: "ubuntu-latest" | ||
runs-on: ${{ matrix.runs-on }} | ||
runs-on: ${{ matrix.arch == 'arm64' && format('{0}/tag=pkg-{1}', matrix.runs-on, matrix.package-type) || matrix.runs-on }} | ||
env: | ||
# We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 | ||
# Although the "workspace" is mounted to the container, it is not mounted | ||
|
@@ -253,6 +258,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,6 +151,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
@@ -181,13 +186,13 @@ 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-large" | ||
- runs-on: "runs-on=${{ github.run_id }}/runner=packages-arm64" | ||
# 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. (Because it would force arm64 to be included, and some tools are not available for arm64.) | ||
- arch: amd64 | ||
runs-on: "ubuntu-latest" | ||
runs-on: ${{ matrix.runs-on }} | ||
runs-on: ${{ matrix.arch == 'arm64' && format('{0}/tag=pkg-{1}', matrix.runs-on, matrix.package-type) || matrix.runs-on }} | ||
env: | ||
# We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 | ||
# Although the "workspace" is mounted to the container, it is not mounted | ||
|
@@ -253,6 +258,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,6 +151,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
@@ -181,13 +186,13 @@ 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-large" | ||
- runs-on: "runs-on=${{ github.run_id }}/runner=packages-arm64" | ||
# 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. (Because it would force arm64 to be included, and some tools are not available for arm64.) | ||
- arch: amd64 | ||
runs-on: "ubuntu-latest" | ||
runs-on: ${{ matrix.runs-on }} | ||
runs-on: ${{ matrix.arch == 'arm64' && format('{0}/tag=pkg-{1}', matrix.runs-on, matrix.package-type) || matrix.runs-on }} | ||
env: | ||
# We are in a bit of a bind here because of how GitHub actions work as of 2020-11-19 | ||
# Although the "workspace" is mounted to the container, it is not mounted | ||
|
@@ -253,6 +258,11 @@ jobs: | |
# Publish the artifacts | ||
- name: "Push artifact to package repository" | ||
uses: cloudsmith-io/[email protected] | ||
env: | ||
# This is a hack. We need to hack the action by setting up a `curl` wrapper | ||
# that injects the GIT_TOKEN into API requests so our rate limit is high enough | ||
# that we do not have half the packages timing out. | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
api-key: ${{ secrets.CLOUDSMITH_API_KEY }} | ||
command: 'push' | ||
|
Oops, something went wrong.