Skip to content

Add the support for custom labels for resources created by ArgoRolloutManager #505

Add the support for custom labels for resources created by ArgoRolloutManager

Add the support for custom labels for resources created by ArgoRolloutManager #505

name: Run upstream Argo-Rollouts E2E tests
on:
push:
branches:
- 'main'
- 'release-*'
pull_request:
branches:
- '*'
jobs:
test-e2e:
name: Run end-to-end tests from upstream Argo Rollouts repo
runs-on: ubuntu-latest
timeout-minutes: 90
strategy:
fail-fast: false
matrix:
kubernetes:
- version: '1.28'
latest: false
steps:
- name: Install K3S
env:
INSTALL_K3S_CHANNEL: v${{ matrix.kubernetes.version }}
run: |
set -x
curl -sfL https://get.k3s.io | sh -
sudo chmod -R a+rw /etc/rancher/k3s
sudo mkdir -p $HOME/.kube && sudo chown -R runner $HOME/.kube
sudo k3s kubectl config view --raw > $HOME/.kube/config
sudo chown runner $HOME/.kube/config
sudo chmod go-r $HOME/.kube/config
kubectl version
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Golang
uses: actions/[email protected]
with:
go-version-file: './go.mod'
- name: GH actions workaround - Kill XSP4 process
run: |
sudo pkill mono || true
- name: Add /usr/local/bin to PATH
run: |
echo "/usr/local/bin" >> $GITHUB_PATH
- name: Download Go dependencies
run: |
go mod download
- name: Run the Argo Rollouts E2E tests
run: |
set -o pipefail
./hack/run-upstream-argo-rollouts-e2e-tests.sh