Added mc download and clippy
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
1774796466
commit
a16c7d042d
10
.drone.yml
10
.drone.yml
|
@ -5,15 +5,19 @@ steps:
|
|||
- name: test
|
||||
image: rust:latest
|
||||
commands:
|
||||
- cargo build --verbose --all
|
||||
- cargo test --verbose --all
|
||||
- cargo install clippy
|
||||
- cargo clippy
|
||||
- cargo test --all
|
||||
|
||||
- name: deploy
|
||||
image: rust:latest
|
||||
commands:
|
||||
- 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 cp target/release/conductor fivesigma/public/conductor
|
||||
- ./mc cp conductor.tar.gz fivesigma/public/conductor.tar.gz
|
||||
# when:
|
||||
# event:
|
||||
# - promote
|
||||
|
|
Loading…
Reference in New Issue