You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
584 B
YAML
27 lines
584 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: test
|
|
image: rust:latest
|
|
commands:
|
|
- rustup component add clippy
|
|
- cargo clippy
|
|
- cargo test --all
|
|
|
|
- name: deploy
|
|
image: rust:latest
|
|
commands:
|
|
- cargo build --release
|
|
- tar cvzf conductor.tar.gz -C target/release conductor
|
|
- wget https://dl.min.io/client/mc/release/linux-amd64/mc
|
|
- chmod +x mc
|
|
- ./mc alias set fivesigma https://objects.5sigma.io $MINIOID $MINIOSECRET
|
|
- ./mc cp conductor.tar.gz fivesigma/public/conductor.tar.gz
|
|
when:
|
|
event:
|
|
- promote
|
|
target:
|
|
- staging
|
|
- production
|