updated .drone.yml
This commit is contained in:
parent
db7001c749
commit
59ad4a6624
20
.drone.yml
20
.drone.yml
@ -14,8 +14,13 @@ steps:
|
||||
commands:
|
||||
- apt-get update -y
|
||||
- apt-get install -y libnftnl-dev libmnl-dev
|
||||
- curl -o /usr/bin/sccache https://assets.paulbsd.com/sccache_linux_amd64
|
||||
- chmod +x /usr/bin/sccache
|
||||
- cargo build --verbose --all
|
||||
- cargo test --verbose --all
|
||||
environment:
|
||||
RUSTC_WRAPPER: /usr/bin/sccache
|
||||
SCCACHE_REDIS: redis://sys01.paulbsd.com:6379/1
|
||||
volumes:
|
||||
- name: cargo
|
||||
path: /usr/local/cargo/registry
|
||||
@ -31,9 +36,14 @@ steps:
|
||||
commands:
|
||||
- apt-get update -y
|
||||
- apt-get install -y libnftnl-dev libmnl-dev
|
||||
- curl -o /usr/bin/sccache https://assets.paulbsd.com/sccache_linux_amd64
|
||||
- chmod +x /usr/bin/sccache
|
||||
- cargo build --release --verbose --all
|
||||
- cd target/release
|
||||
- tar -czvf ipblc-${DRONE_TAG}-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}.tar.gz ipblc
|
||||
environment:
|
||||
RUSTC_WRAPPER: /usr/bin/sccache
|
||||
SCCACHE_REDIS: redis://sys01.paulbsd.com:6379/1
|
||||
volumes:
|
||||
- name: cargo
|
||||
path: /usr/local/cargo/registry
|
||||
@ -81,8 +91,13 @@ steps:
|
||||
commands:
|
||||
- apt-get update -y
|
||||
- apt-get install -y libnftnl-dev libmnl-dev
|
||||
- curl -o /usr/bin/sccache https://assets.paulbsd.com/sccache_linux_arm64
|
||||
- chmod +x /usr/bin/sccache
|
||||
- cargo build --verbose --all
|
||||
- cargo test --verbose --all
|
||||
environment:
|
||||
RUSTC_WRAPPER: /usr/bin/sccache
|
||||
SCCACHE_REDIS: redis://sys01.paulbsd.com:6379/1
|
||||
volumes:
|
||||
- name: cargo
|
||||
path: /usr/local/cargo/registry
|
||||
@ -98,9 +113,14 @@ steps:
|
||||
commands:
|
||||
- apt-get update -y
|
||||
- apt-get install -y libnftnl-dev libmnl-dev
|
||||
- curl -o /usr/bin/sccache https://assets.paulbsd.com/sccache_linux_arm64
|
||||
- chmod +x /usr/bin/sccache
|
||||
- cargo build --release --verbose --all
|
||||
- cd target/release
|
||||
- tar -czvf ipblc-${DRONE_TAG}-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}.tar.gz ipblc
|
||||
environment:
|
||||
RUSTC_WRAPPER: /usr/bin/sccache
|
||||
SCCACHE_REDIS: redis://sys01.paulbsd.com:6379/1
|
||||
volumes:
|
||||
- name: cargo
|
||||
path: /usr/local/cargo/registry
|
||||
|
Loading…
Reference in New Issue
Block a user