Skip to content

Commit

Permalink
Move from drone to Github Actions for 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mitulshah-suse committed May 24, 2024
1 parent 25d3846 commit b214846
Show file tree
Hide file tree
Showing 6 changed files with 211 additions and 241 deletions.
207 changes: 0 additions & 207 deletions .drone.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .droneignore

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/fossa.yaml
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 }}
32 changes: 32 additions & 0 deletions .github/workflows/test-cni.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test CNI

on:
pull_request:
branches:
- '**'

jobs:
integration-cni-tests:
permissions:
contents: read
runs-on: ubuntu-latest
timeout-minutes: 30
container:
image: rancher/dapper:v0.6.0
options: --privileged
strategy:
matrix:
cni: [flannel, calico, weave]
steps:
- name: Force Install GIT latest
run: |
apk add git --update-cache
git --version
- name: Checkout code
uses: actions/checkout@v4
- name: Run build
run: |
dapper build
- name: Run ${{ matrix.cni }} check
run: |
dapper integration ${{ matrix.cni }}
Loading

0 comments on commit b214846

Please sign in to comment.