2022-06-23 04:41:01 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
2022-09-25 06:57:10 +00:00
|
|
|
image: rust:latest
|
2022-06-23 04:41:01 +00:00
|
|
|
commands:
|
|
|
|
- cargo build --verbose --all
|
2022-09-25 06:57:10 +00:00
|
|
|
- cargo test --verbose --all
|
|
|
|
|
|
|
|
- deploy:
|
|
|
|
image: rust:latest
|
|
|
|
commands:
|
|
|
|
- cargo build --release
|
|
|
|
- ./mc alias set fivesigma https://objects.5sigma.io $MINIOID $MINIOSECRET
|
|
|
|
- ./mc cp target/release/conductor fivesigma/public/conductor
|
|
|
|
# when:
|
|
|
|
# event:
|
|
|
|
# - promote
|
|
|
|
# target:
|
|
|
|
# - staging
|
|
|
|
# - production
|