mirror of https://github.com/linkerd/linkerd2.git
Trigger ARM int tests for edge releases as well (#5073)
Used to be triggered only for stable releases, but now that 2.9 stable approaches let's turn it on for the upcoming RCs.
This commit is contained in:
parent
5e7e7e6477
commit
865e140be9
|
@ -137,11 +137,11 @@ jobs:
|
||||||
needs: [docker_build]
|
needs: [docker_build]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: startsWith(github.ref, 'refs/tags/stable')
|
#if: startsWith(github.ref, 'refs/tags/stable')
|
||||||
# actions/checkout@v2
|
# actions/checkout@v2
|
||||||
uses: actions/checkout@722adc6
|
uses: actions/checkout@722adc6
|
||||||
- name: Try to load cached Go modules
|
- name: Try to load cached Go modules
|
||||||
if: startsWith(github.ref, 'refs/tags/stable')
|
#if: startsWith(github.ref, 'refs/tags/stable')
|
||||||
# actions/cache@v1.1.2
|
# actions/cache@v1.1.2
|
||||||
uses: actions/cache@70655ec
|
uses: actions/cache@70655ec
|
||||||
with:
|
with:
|
||||||
|
@ -150,7 +150,7 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-go-
|
${{ runner.os }}-go-
|
||||||
- name: Install linkerd CLI
|
- name: Install linkerd CLI
|
||||||
if: startsWith(github.ref, 'refs/tags/stable')
|
#if: startsWith(github.ref, 'refs/tags/stable')
|
||||||
run: |
|
run: |
|
||||||
TAG="$(CI_FORCE_CLEAN=1 bin/root-tag)"
|
TAG="$(CI_FORCE_CLEAN=1 bin/root-tag)"
|
||||||
CMD="$PWD/target/release/linkerd2-cli-$TAG-linux-amd64"
|
CMD="$PWD/target/release/linkerd2-cli-$TAG-linux-amd64"
|
||||||
|
@ -161,19 +161,19 @@ jobs:
|
||||||
echo "Installed Linkerd CLI version: $TAG"
|
echo "Installed Linkerd CLI version: $TAG"
|
||||||
echo "CMD=$CMD" >> $GITHUB_ENV
|
echo "CMD=$CMD" >> $GITHUB_ENV
|
||||||
- name: Set KUBECONFIG environment variables
|
- name: Set KUBECONFIG environment variables
|
||||||
if: startsWith(github.ref, 'refs/tags/stable')
|
#if: startsWith(github.ref, 'refs/tags/stable')
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $HOME/.kube
|
mkdir -p $HOME/.kube
|
||||||
echo "${{ secrets.ARM64_KUBECONFIG }}" > $HOME/.kube/config
|
echo "${{ secrets.ARM64_KUBECONFIG }}" > $HOME/.kube/config
|
||||||
echo "KUBECONFIG=$HOME/.kube/config" >> $GITHUB_ENV
|
echo "KUBECONFIG=$HOME/.kube/config" >> $GITHUB_ENV
|
||||||
kubectl cluster-info
|
kubectl cluster-info
|
||||||
- name: Run integration tests
|
- name: Run integration tests
|
||||||
if: startsWith(github.ref, 'refs/tags/stable')
|
#if: startsWith(github.ref, 'refs/tags/stable')
|
||||||
env:
|
env:
|
||||||
RUN_ARM_TEST: 1
|
RUN_ARM_TEST: 1
|
||||||
run: bin/tests --images skip --skip-kind-create "$CMD"
|
run: bin/tests --images skip --skip-kind-create "$CMD"
|
||||||
- name: CNI tests
|
- name: CNI tests
|
||||||
if: startsWith(github.ref, 'refs/tags/stable')
|
#if: startsWith(github.ref, 'refs/tags/stable')
|
||||||
run: |
|
run: |
|
||||||
export TAG="$($CMD version --client --short)"
|
export TAG="$($CMD version --client --short)"
|
||||||
go test -cover -race -v -mod=readonly ./cni-plugin/test -integration-tests
|
go test -cover -race -v -mod=readonly ./cni-plugin/test -integration-tests
|
||||||
|
|
Loading…
Reference in New Issue