mirror of
https://github.com/rancher/norman.git
synced 2025-08-28 11:50:34 +00:00
Migrate to GHA (#505)
This commit is contained in:
parent
9f5f6586bb
commit
17053b35e0
46
.drone.yml
46
.drone.yml
@ -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
22
.github/workflows/ci.yaml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user