1
0
mirror of https://github.com/rancher/norman.git synced 2025-04-27 03:01:21 +00:00

Migrate to GHA (#505)

This commit is contained in:
Tom Lebreux 2024-05-17 15:09:39 -04:00 committed by GitHub
parent 9f5f6586bb
commit 17053b35e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 46 deletions

View File

@ -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

22
.github/workflows/ci.yaml vendored Normal file
View File

@ -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