Compare commits
No commits in common. "87088a93934bbf2309d175a6bc7ee7d3bf0d9754" and "4ed4d8d50fd6bca0c2daa041de581e057a4f843d" have entirely different histories.
87088a9393
...
4ed4d8d50f
60
drone.yml
60
drone.yml
|
@ -1,60 +0,0 @@
|
|||
kind: pipeline
|
||||
name: main-pipeline
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
steps:
|
||||
- name: build-ui
|
||||
image: node:16.13-slim
|
||||
volumes:
|
||||
- name: dist
|
||||
path: dist/
|
||||
commands:
|
||||
- apt-get update
|
||||
- apt-get -y install libssl-dev
|
||||
- npm install
|
||||
- npm run build
|
||||
|
||||
- name: test
|
||||
image: rust
|
||||
commands:
|
||||
- cargo test
|
||||
- name: build
|
||||
image: rust
|
||||
volumes:
|
||||
- name: temp
|
||||
path: /app
|
||||
- name: dist
|
||||
path: dist/
|
||||
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: {}
|
||||
- name: dist
|
||||
temp: {}
|
Loading…
Reference in New Issue