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
|
- 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
|
||||||
|
|
Loading…
Reference in New Issue