-
Notifications
You must be signed in to change notification settings - Fork 584
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move from drone to Github Actions for 1.6
- Loading branch information
1 parent
25d3846
commit efdd5ca
Showing
6 changed files
with
203 additions
and
241 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Fossa scan | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
tags: | ||
- '*' | ||
pull_request: | ||
branches: | ||
- '*' | ||
|
||
jobs: | ||
fossa: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
id-token: write | ||
continue-on-error: true # we know that fossa test will report errors | ||
steps: | ||
- name: Load Secrets from Vault | ||
uses: rancher-eio/read-vault-secrets@main | ||
with: | ||
secrets: | | ||
secret/data/github/repo/${{ github.repository }}/fossa/credentials token | FOSSA | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Run FOSSA scan | ||
uses: fossas/fossa-action@v1.3.3 | ||
with: | ||
api-key: ${{ env.FOSSA }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Test CNI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- '**' | ||
|
||
jobs: | ||
integration-cni-tests: | ||
permissions: | ||
contents: read | ||
# runs-on: runs-on, cpu=4, ram=16, hdd=80, image=ubuntu20-full-x64, run-id=${{ github.run_id }} | ||
runs-on: runs-on, runner=16cpu-linux-x64, run-id=${{ github.run_id }} | ||
timeout-minutes: 60 | ||
strategy: | ||
matrix: | ||
cni: [flannel, calico, weave] | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Setup Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: 'go.mod' | ||
- name: Run ${{ matrix.cni }} check | ||
run: | | ||
./scripts/build | ||
./scripts/integration ${{ matrix.cni }} |
Oops, something went wrong.