From a9952edb6c2fd9c241658ac7209854ef225eae5a Mon Sep 17 00:00:00 2001 From: Tom Lebreux Date: Fri, 17 May 2024 15:09:39 -0400 Subject: [PATCH] Migrate to GHA (#505) --- .drone.yml | 46 --------------------------------------- .github/workflows/ci.yaml | 22 +++++++++++++++++++ 2 files changed, 22 insertions(+), 46 deletions(-) delete mode 100644 .drone.yml create mode 100644 .github/workflows/ci.yaml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 59917bb9b..000000000 --- a/.drone.yml +++ /dev/null @@ -1,46 +0,0 @@ ---- -kind: pipeline -name: default - -platform: - os: linux - arch: amd64 - -steps: -- name: build - pull: default - image: rancher/dapper:v0.6.0 - commands: - - dapper ci - privileged: true - volumes: - - name: socket - path: /var/run/docker.sock - -volumes: -- name: socket - host: - path: /var/run/docker.sock ---- -kind: pipeline -name: fossa - -steps: -- name: fossa - image: rancher/drone-fossa:latest - failure: ignore - settings: - api_key: - from_secret: FOSSA_API_KEY - when: - instance: - - drone-publish.rancher.io - ref: - include: - - "refs/heads/*" - - "refs/tags/v*" - - "refs/pull/*" - event: - - push - - tag - diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 000000000..ddfa4a839 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,22 @@ +name: CI + +on: + pull_request: {} + push: + branches: + - master + - release/* + +jobs: + ci: + runs-on : ubuntu-latest + container: + image: rancher/dapper:v0.6.0 + steps: + - name: Add Git + run: apk add -U git + - name: Checkout code + # https://github.com/actions/checkout/releases/tag/v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - name : Run dapper ci + run: dapper ci