Skip to content

Commit

Permalink
Move from drone to GHA for rke 1.5 (#3615)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitulshah-suse authored Jul 2, 2024
1 parent 901cb5a commit 6958487
Show file tree
Hide file tree
Showing 9 changed files with 222 additions and 247 deletions.
207 changes: 0 additions & 207 deletions .drone.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .droneignore

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/fossa.yaml
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
27 changes: 27 additions & 0 deletions .github/workflows/test-cni.yaml
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 }}
Loading

0 comments on commit 6958487

Please sign in to comment.