Skip to content

Commit 3419ea7

Browse files
committed
chore(stacks): use woodpecker replace drone
1 parent 1980ae6 commit 3419ea7

3 files changed

Lines changed: 45 additions & 74 deletions

File tree

.drone.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

.woodpecker/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
matrix:
2+
platform:
3+
- linux/amd64
4+
- linux/arm64
5+
6+
platform: ${platform}
7+
8+
labels:
9+
type: exec
10+
11+
pipeline:
12+
- name: publish-linux
13+
image: bash
14+
commands:
15+
- CODENAME=bullseye ./build.sh all $CI_COMMIT_TAG
16+
secrets:
17+
- oss_endpoint
18+
- oss_access_key_id
19+
- oss_access_key_secret
20+
- container_pull_secrets
21+
when:
22+
event:
23+
- tag

.woodpecker/check.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
platform: linux/amd64
2+
3+
labels:
4+
type: exec
5+
6+
pipeline:
7+
- name: check
8+
image: bash
9+
commands:
10+
- docker run --rm
11+
-e GITHUB_TOKEN=$GITHUB_TOKEN
12+
-v "$(pwd):$(pwd)"
13+
-w "$(pwd)"
14+
drycc/python-dev
15+
python scripts/checker.py
16+
secrets:
17+
- github_token
18+
- dev_registry
19+
- drycc_registry
20+
when:
21+
event:
22+
- cron

0 commit comments

Comments
 (0)