23 lines
451 B
YAML
23 lines
451 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: test
|
|
image: rust:latest
|
|
commands:
|
|
- cargo build --verbose --all
|
|
- 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
|