-
Notifications
You must be signed in to change notification settings - Fork 594
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 GHA for rke 1.4 (#3616)
- Loading branch information
1 parent
fae8f4e
commit ae7d518
Showing
11 changed files
with
230 additions
and
245 deletions.
There are no files selected for viewing
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,29 @@ | ||
name: Fossa scan | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
fossa: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
id-token: write | ||
timeout-minutes: 20 | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Read FOSSA token | ||
uses: rancher-eio/read-vault-secrets@main | ||
with: | ||
secrets: | | ||
secret/data/github/org/rancher/fossa/push token | FOSSA_API_KEY_PUSH_ONLY | ||
- name: FOSSA scan | ||
uses: fossas/fossa-action@main | ||
with: | ||
api-key: ${{ env.FOSSA_API_KEY_PUSH_ONLY }} | ||
run-tests: false |
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,27 @@ | ||
name: Test CNI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- '**' | ||
|
||
jobs: | ||
integration-cni-tests: | ||
permissions: | ||
contents: read | ||
runs-on: runs-on,runner=4cpu-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.