[release-0.26] 🐛 Fix impersonation for non-system users #1358
Workflow file for this run
This file contains hidden or 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
| name: E2E tests for ppc64le | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 'release-*' | |
| pull_request: | |
| branches: | |
| - main | |
| - 'release-*' | |
| paths-ignore: | |
| - "docs/**" | |
| - "**/*.md" | |
| - ".github/ISSUE_TEMPLATE/*" | |
| - ".goreleaser.yaml" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| # NOTE!!! | |
| # | |
| # If you add a job here that is a REQUIRED status check in GitHub, you MUST add a job with the same name to ci-docs-only.yaml | |
| # | |
| # NOTE!!! | |
| env: | |
| # etcd uses fsync by default, disable it for running on github actions to avoid disk contention | |
| # xref: https://github.com/kcp-dev/kcp/pull/435/commits/064a517747d69c2cd8f7f8b4a595ad909e595c89 | |
| UNSAFE_E2E_HACK_DISABLE_ETCD_FSYNC: true | |
| jobs: | |
| e2e-tests-ppc64le: | |
| name: e2e-tests-ppc64le | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: uraimo/[email protected] | |
| name: E2E KCP tests | |
| id: build-ppc | |
| with: | |
| arch: ppc64le | |
| distro: ubuntu20.04 | |
| dockerRunArgs: | | |
| --volume "/var/run/docker.sock:/var/run/docker.sock" | |
| run: | | |
| apt-get update -y | |
| apt-get install wget tar gcc git curl runc iptables libdevmapper1.02.1 make jq -y | |
| #Install docker | |
| apt-get install apt-transport-https ca-certificates software-properties-common -y | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | |
| add-apt-repository "deb [arch=ppc64el] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
| apt-get update -y | |
| apt-get install docker-ce -y | |
| service docker start | |
| #Install Go, Kind, kubectl | |
| cd /root/ && wget https://go.dev/dl/go1.19.linux-ppc64le.tar.gz | |
| tar -C /usr/local -xzf go1.19.linux-ppc64le.tar.gz | |
| export PATH=$PATH:/usr/local/go/bin | |
| go install github.com/google/ko@latest | |
| go install sigs.k8s.io/[email protected] | |
| export PATH=$PATH:$(go env GOPATH)/bin | |
| curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/ppc64le/kubectl" | |
| chmod +x kubectl | |
| export PATH=$PATH:/root/ | |
| git clone https://github.com/kcp-dev/kcp.git && cd kcp | |
| export PATH=$PWD/bin:$PATH | |
| LOG_DIR=/tmp/e2e/shared-server/artifacts ARTIFACT_DIR=/tmp/e2e \ | |
| OS=linux ARCH=ppc64le E2E_PARALLELISM=4 make test-e2e -e TEST_ARGS="-timeout 50m" |