Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
6dbc5784df | |||
8c2797cc82 |
2 changed files with 26 additions and 8 deletions
31
.drone.yml
31
.drone.yml
|
@ -5,11 +5,15 @@ name: test
|
||||||
steps:
|
steps:
|
||||||
- name: test-code
|
- name: test-code
|
||||||
image: golang
|
image: golang
|
||||||
environment:
|
|
||||||
commands:
|
commands:
|
||||||
- go get
|
- go get
|
||||||
- go test
|
- go test
|
||||||
|
|
||||||
|
- name: run-code
|
||||||
|
image: golang
|
||||||
|
commands:
|
||||||
|
- go get
|
||||||
|
- go run .
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: test-build
|
name: test-build
|
||||||
|
@ -143,6 +147,21 @@ steps:
|
||||||
depends_on:
|
depends_on:
|
||||||
- prepare
|
- prepare
|
||||||
|
|
||||||
|
- name: generate-checksum
|
||||||
|
image: golang
|
||||||
|
commands:
|
||||||
|
- cd bin
|
||||||
|
- md5sum * > ../md5sums.txt
|
||||||
|
- sha512sum * > ../sha512sums.txt
|
||||||
|
- cp ../md5sums.txt .
|
||||||
|
- cp ../sha512sums.txt .
|
||||||
|
depends_on:
|
||||||
|
- build-linux-amd64
|
||||||
|
- build-darwin-amd64
|
||||||
|
- build-windows-amd64
|
||||||
|
- build-linux-arm64
|
||||||
|
- build-darwin-arm64
|
||||||
|
|
||||||
- name: gitea_release
|
- name: gitea_release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
|
@ -154,11 +173,7 @@ steps:
|
||||||
base_url: https://scm.project42.io
|
base_url: https://scm.project42.io
|
||||||
files: bin/*
|
files: bin/*
|
||||||
depends_on:
|
depends_on:
|
||||||
- build-linux-amd64
|
- generate-checksum
|
||||||
- build-darwin-amd64
|
|
||||||
- build-windows-amd64
|
|
||||||
- build-linux-arm64
|
|
||||||
- build-darwin-arm64
|
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- test-build
|
- test-build
|
||||||
|
|
3
renovate.json
Normal file
3
renovate.json
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
|
}
|
Loading…
Reference in a new issue