Merge pull request #4632 from Haibara-Ai97/dev-cgroup #2
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 Parallel Jobs | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| actions: write | |
| jobs: | |
| e2e_parallel_jobs: | |
| runs-on: ubuntu-24.04 | |
| name: E2E about Parallel Jobs | |
| timeout-minutes: 40 | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.24.x | |
| - name: Install musl | |
| run: | | |
| wget http://musl.libc.org/releases/musl-1.2.1.tar.gz | |
| tar -xf musl-1.2.1.tar.gz && cd musl-1.2.1 | |
| ./configure | |
| make && sudo make install | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/go/pkg/mod | |
| key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
| - name: Install dependences | |
| run: | | |
| GO111MODULE="on" go install sigs.k8s.io/kind@v0.29.0 | |
| curl -LO https://dl.k8s.io/release/v1.32.0/bin/linux/amd64/kubectl && sudo install kubectl /usr/local/bin/kubectl | |
| - name: Run E2E Tests | |
| run: | | |
| export ARTIFACTS_PATH=${{ github.workspace }}/e2e-parallel-jobs-logs | |
| make e2e-test-jobp CC=/usr/local/musl/bin/musl-gcc | |
| - name: Upload e2e parallel jobs logs | |
| if: '!success()' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: volcano_e2e_parallel_jobs_logs | |
| path: ${{ github.workspace }}/e2e-parallel-jobs-logs |