.drone.yml aktualisiert
This commit is contained in:
parent
4697d30502
commit
c40c4f1ec1
1 changed files with 42 additions and 5 deletions
47
.drone.yml
47
.drone.yml
|
@ -1,18 +1,18 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: Compile
|
name: Test-Push
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare Repo
|
- name: Prepare Repo (amd64,test)
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
- name: Compile gmqcc
|
- name: Compile gmqcc (amd64,test)
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- chmod +x ci-dependencies.sh
|
- chmod +x ci-dependencies.sh
|
||||||
|
@ -21,7 +21,7 @@ steps:
|
||||||
- make
|
- make
|
||||||
- cd ..
|
- cd ..
|
||||||
|
|
||||||
- name: Compile SpecialSauce
|
- name: Compile SpecialSauce (amd64,test)
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- chmod +x ci-dependencies.sh
|
- chmod +x ci-dependencies.sh
|
||||||
|
@ -29,7 +29,44 @@ steps:
|
||||||
- ./ci-dependencies.sh
|
- ./ci-dependencies.sh
|
||||||
- sh build.sh
|
- sh build.sh
|
||||||
|
|
||||||
- name: Release_binary
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: Release-Tag
|
||||||
|
|
||||||
|
platform:
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Prepare Repo (amd64,prod)
|
||||||
|
image: alpine/git
|
||||||
|
commands:
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
|
- name: Compile gmqcc (amd64,prod)
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- chmod +x ci-dependencies.sh
|
||||||
|
- ./ci-dependencies.sh
|
||||||
|
- cd gmqcc
|
||||||
|
- make
|
||||||
|
- cd ..
|
||||||
|
|
||||||
|
- name: Compile SpecialSauce (amd64,prod)
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- chmod +x ci-dependencies.sh
|
||||||
|
- chmod +x build.sh
|
||||||
|
- ./ci-dependencies.sh
|
||||||
|
- sh build.sh
|
||||||
|
|
||||||
|
- name: Release_binary (amd64,prod)
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
|
|
Loading…
Reference in a new issue