Compare commits
No commits in common. "1c1b101d4145e3eb9e1d4e220479bf2c8c3a2a6b" and "7e94017c4bc1a982dea812452b89bd2215988ad4" have entirely different histories.
1c1b101d41
...
7e94017c4b
45
drone.yml
45
drone.yml
|
@ -1,45 +0,0 @@
|
||||||
kind: pipeline
|
|
||||||
name: main-pipeline
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: amd64
|
|
||||||
steps:
|
|
||||||
- name: test
|
|
||||||
image: rust
|
|
||||||
commands:
|
|
||||||
- cargo test
|
|
||||||
- name: build
|
|
||||||
image: rust
|
|
||||||
volumes:
|
|
||||||
- name: temp
|
|
||||||
path: /app
|
|
||||||
commands:
|
|
||||||
- cargo build --release
|
|
||||||
- cp target/release/vade /app/vade
|
|
||||||
when:
|
|
||||||
event:
|
|
||||||
- promote
|
|
||||||
- name: stage-deploy
|
|
||||||
image: plugins/docker
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- name: temp
|
|
||||||
path: /app
|
|
||||||
settings:
|
|
||||||
username:
|
|
||||||
from_secret: CONTAINER_USER
|
|
||||||
password:
|
|
||||||
from_secret: CONTAINER_PASSWORD
|
|
||||||
registry: git.5sigma.io
|
|
||||||
context: /app
|
|
||||||
repo: git.5sigma.io/vade/app
|
|
||||||
tags: latest
|
|
||||||
when:
|
|
||||||
event:
|
|
||||||
- promote
|
|
||||||
target:
|
|
||||||
- staging
|
|
||||||
- production
|
|
||||||
volumes:
|
|
||||||
- name: temp
|
|
||||||
temp: {}
|
|
Loading…
Reference in New Issue