Skip to content

Commit

Permalink
Merge branch 'master' of github.com:/volcano-sh/volcano into dev
Browse files Browse the repository at this point in the history
Conflicts:
	docs/user-guide/how_to_use_gpu_sharing.md
	pkg/scheduler/plugins/predicates/predicates.go
  • Loading branch information
peiniliu committed Aug 23, 2021
2 parents ccb5a36 + 6f5bb36 commit a45949b
Show file tree
Hide file tree
Showing 2,076 changed files with 251,038 additions and 138,065 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/code_verify.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Code Verify

on:
push:
branches:
- master
tags:
pull_request:

jobs:
verify:
runs-on: ubuntu-18.04
name: Verify codes, generated files
timeout-minutes: 40
env:
GOPATH: /home/runner/work/${{ github.repository }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16.x

- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
path: ./src/github.com/${{ github.repository }}

- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

- name: Run verify test
run: |
make lint
make verify
make TAG=latest generate-yaml
make verify-generated-yaml
make unit-test
working-directory: ./src/github.com/${{ github.repository }}
42 changes: 42 additions & 0 deletions .github/workflows/e2e_parallel_jobs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: E2E Parallel Jobs

on:
push:
branches:
- master
tags:
pull_request:

jobs:
e2e_parallel_jobs:
runs-on: ubuntu-18.04
name: E2E about Parallel Jobs
timeout-minutes: 40
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16.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 get sigs.k8s.io/[email protected]
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.19.3/bin/linux/amd64/kubectl && sudo install kubectl /usr/local/bin/kubectl
- name: Checkout code
uses: actions/checkout@v2

- name: Run E2E Tests
run: |
make images CC=/usr/local/musl/bin/musl-gcc
make e2e-test-jobp
42 changes: 42 additions & 0 deletions .github/workflows/e2e_scheduling_actions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Scheduling Actions

on:
push:
branches:
- master
tags:
pull_request:

jobs:
e2e_scheduling_actions:
runs-on: ubuntu-18.04
name: E2E about Scheduling Actions
timeout-minutes: 40
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16.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 get sigs.k8s.io/[email protected]
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.19.3/bin/linux/amd64/kubectl && sudo install kubectl /usr/local/bin/kubectl
- name: Checkout code
uses: actions/checkout@v2

- name: Run E2E Tests
run: |
make images CC=/usr/local/musl/bin/musl-gcc
make e2e-test-schedulingaction
42 changes: 42 additions & 0 deletions .github/workflows/e2e_scheduling_basic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Basic scheduling Jobs

on:
push:
branches:
- master
tags:
pull_request:

jobs:
e2e_scheduling_basic:
runs-on: ubuntu-18.04
name: E2E about Basic Scheduling
timeout-minutes: 40
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16.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 get sigs.k8s.io/[email protected]
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.19.3/bin/linux/amd64/kubectl && sudo install kubectl /usr/local/bin/kubectl
- name: Checkout code
uses: actions/checkout@v2

- name: Run E2E Tests
run: |
make images CC=/usr/local/musl/bin/musl-gcc
make e2e-test-schedulingbase
42 changes: 42 additions & 0 deletions .github/workflows/e2e_sequence.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: E2E Sequence Jobs

on:
push:
branches:
- master
tags:
pull_request:

jobs:
e2e_sequence:
runs-on: ubuntu-18.04
name: E2E about Sequence
timeout-minutes: 40
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16.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 get sigs.k8s.io/[email protected]
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.19.3/bin/linux/amd64/kubectl && sudo install kubectl /usr/local/bin/kubectl
- name: Checkout code
uses: actions/checkout@v2

- name: Run E2E Tests
run: |
make images CC=/usr/local/musl/bin/musl-gcc
make e2e-test-jobseq
43 changes: 43 additions & 0 deletions .github/workflows/e2e_vcctl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Vcctl Test

on:
push:
branches:
- master
tags:
pull_request:

jobs:
e2e_vcctl:
runs-on: ubuntu-18.04
name: E2E about Volcano CLI
timeout-minutes: 20
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16.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 get sigs.k8s.io/[email protected]
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.19.3/bin/linux/amd64/kubectl && sudo install kubectl /usr/local/bin/kubectl
- name: Checkout code
uses: actions/checkout@v2

- name: Run E2E Tests
run: |
make vcctl
make images CC=/usr/local/musl/bin/musl-gcc
make e2e-test-vcctl
7 changes: 4 additions & 3 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ jobs:
env:
# FOSSA Push-Only API Token
FOSSA_API_KEY: '1a92b8d8ee4304c0ad85a726b9e9acab'
BINDIR: /home/runner/work/volcano/volcano
run: |
export GOPATH=$HOME/go
export PATH=$PATH:$(go env GOPATH)/bin
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash
fossa init
fossa analyze
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash -s -- -b /home/runner/work/volcano/volcano
/home/runner/work/volcano/volcano/fossa init
/home/runner/work/volcano/volcano/fossa analyze
Loading

0 comments on commit a45949b

Please sign in to comment.