2.0 Refactor #2

Merged
joe merged 16 commits from ci into main 2022-09-25 18:06:35 +00:00
1 changed files with 7 additions and 3 deletions
Showing only changes of commit a16c7d042d - Show all commits

View File

@ -5,15 +5,19 @@ steps:
- name: test - name: test
image: rust:latest image: rust:latest
commands: commands:
- cargo build --verbose --all - cargo install clippy
- cargo test --verbose --all - cargo clippy
- cargo test --all
- name: deploy - name: deploy
image: rust:latest image: rust:latest
commands: commands:
- cargo build --release - cargo build --release
- tar cvzf conductor.tar.gz 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 alias set fivesigma https://objects.5sigma.io $MINIOID $MINIOSECRET
- ./mc cp target/release/conductor fivesigma/public/conductor - ./mc cp conductor.tar.gz fivesigma/public/conductor.tar.gz
# when: # when:
# event: # event:
# - promote # - promote