[cherry-pick for release-1.10] enquable and allocatable compare resource with the required dimensions and add testcaes #5654
Workflow file for this run
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
name: Vcctl Test | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
pull_request: | |
jobs: | |
e2e_vcctl: | |
runs-on: ubuntu-24.04 | |
name: E2E about Volcano CLI | |
timeout-minutes: 20 | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22.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 | |
- uses: actions/cache@v2 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
- name: Install dependences | |
run: | | |
GO111MODULE="on" go install sigs.k8s.io/[email protected] | |
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.30.1/bin/linux/amd64/kubectl && sudo install kubectl /usr/local/bin/kubectl | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run E2E Tests | |
run: | | |
make e2e-test-vcctl CC=/usr/local/musl/bin/musl-gcc |