Skip to content

Commit

Permalink
ci: add .drone.yml
Browse files Browse the repository at this point in the history
Signed-off-by: PoAn Yang <yangpoan@gmail.com>
  • Loading branch information
FrankYang0529 committed Feb 29, 2024
1 parent 25f1b5b commit bc21201
Showing 1 changed file with 75 additions and 0 deletions.
75 changes: 75 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
kind: pipeline
name: default-amd64

platform:
os: linux
arch: amd64

trigger:
branch:
- main

steps:
- name: fetch
image: ubuntu:22.04
commands:
- apt-get update
- apt-get install -y git
- git fetch --tags

- name: build
pull: default
image: rancher/dapper:v0.5.3
commands:
- dapper ci
volumes:
- name: socket
path: /var/run/docker.sock

- name: codecov
image: robertstettner/drone-codecov
settings:
token:
from_secret: CODECOV_TOKEN
debug: true

volumes:
- name: socket
host:
path: /var/run/docker.sock

---
kind: pipeline
name: default-arm64

platform:
os: linux
arch: arm64

trigger:
branch:
- main

steps:
- name: fetch
image: ubuntu:22.04
commands:
- apt-get update
- apt-get install -y git
- git fetch --tags

- name: build
pull: default
image: rancher/dapper:v0.5.3
commands:
- dapper ci
volumes:
- name: socket
path: /var/run/docker.sock

volumes:
- name: socket
host:
path: /var/run/docker.sock

0 comments on commit bc21201

Please sign in to comment.