version 1.8.0 #15

Merged
paulbsd merged 20 commits from develop-rustables into master 2024-12-23 19:17:13 +01:00
Showing only changes of commit 044fa2b1f1 - Show all commits

View File

@ -13,11 +13,11 @@ steps:
pull: always pull: always
commands: commands:
- apt-get update -y - apt-get update -y
- apt-get install -y libnftnl-dev libmnl-dev - apt-get install -y libnftnl-dev libmnl-dev libclang-dev
- curl -o /usr/bin/sccache https://assets.paulbsd.com/sccache_linux_amd64 - curl -o ${RUSTC_WRAPPER} https://assets.paulbsd.com/sccache_linux_${DRONE_STAGE_ARCH}
- chmod +x /usr/bin/sccache - chmod +x ${RUSTC_WRAPPER}
- cargo build --verbose --all - cargo b -v --all
- cargo test --verbose --all - cargo t -v --all
environment: environment:
RUSTC_WRAPPER: /usr/bin/sccache RUSTC_WRAPPER: /usr/bin/sccache
SCCACHE_WEBDAV_ENDPOINT: https://sccache.paulbsd.com SCCACHE_WEBDAV_ENDPOINT: https://sccache.paulbsd.com
@ -36,10 +36,10 @@ steps:
pull: always pull: always
commands: commands:
- apt-get update -y - apt-get update -y
- apt-get install -y libnftnl-dev libmnl-dev - apt-get install -y libnftnl-dev libmnl-dev libclang-dev
- curl -o /usr/bin/sccache https://assets.paulbsd.com/sccache_linux_amd64 - curl -o ${RUSTC_WRAPPER} https://assets.paulbsd.com/sccache_linux_${DRONE_STAGE_ARCH}
- chmod +x /usr/bin/sccache - chmod +x ${RUSTC_WRAPPER}
- cargo build --release --verbose --all - cargo b -r -v --all
- cd target/release - cd target/release
- tar -czvf ipblc-${DRONE_TAG}-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}.tar.gz ipblc - tar -czvf ipblc-${DRONE_TAG}-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}.tar.gz ipblc
environment: environment:
@ -61,9 +61,6 @@ steps:
api_key: api_key:
from_secret: gitea_token from_secret: gitea_token
files: "target/release/*.tar.gz" files: "target/release/*.tar.gz"
#checksum:
# - sha256
# - sha512
environment: environment:
PLUGIN_TITLE: "" PLUGIN_TITLE: ""
when: when:
@ -92,11 +89,11 @@ steps:
pull: always pull: always
commands: commands:
- apt-get update -y - apt-get update -y
- apt-get install -y libnftnl-dev libmnl-dev - apt-get install -y libnftnl-dev libmnl-dev libclang-dev
- curl -o /usr/bin/sccache https://assets.paulbsd.com/sccache_linux_arm64 - curl -o ${RUSTC_WRAPPER} https://assets.paulbsd.com/sccache_linux_${DRONE_STAGE_ARCH}
- chmod +x /usr/bin/sccache - chmod +x ${RUSTC_WRAPPER}
- cargo build --verbose --all - cargo b -v --all
- cargo test --verbose --all - cargo t -v --all
environment: environment:
RUSTC_WRAPPER: /usr/bin/sccache RUSTC_WRAPPER: /usr/bin/sccache
SCCACHE_WEBDAV_ENDPOINT: https://sccache.paulbsd.com SCCACHE_WEBDAV_ENDPOINT: https://sccache.paulbsd.com
@ -115,10 +112,10 @@ steps:
pull: always pull: always
commands: commands:
- apt-get update -y - apt-get update -y
- apt-get install -y libnftnl-dev libmnl-dev - apt-get install -y libnftnl-dev libmnl-dev libclang-dev
- curl -o /usr/bin/sccache https://assets.paulbsd.com/sccache_linux_arm64 - curl -o ${RUSTC_WRAPPER} https://assets.paulbsd.com/sccache_linux_${DRONE_STAGE_ARCH}
- chmod +x /usr/bin/sccache - chmod +x ${RUSTC_WRAPPER}
- cargo build --release --verbose --all - cargo b -r -v --all
- cd target/release - cd target/release
- tar -czvf ipblc-${DRONE_TAG}-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}.tar.gz ipblc - tar -czvf ipblc-${DRONE_TAG}-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}.tar.gz ipblc
environment: environment:
@ -140,9 +137,6 @@ steps:
api_key: api_key:
from_secret: gitea_token from_secret: gitea_token
files: "target/release/*.tar.gz" files: "target/release/*.tar.gz"
#checksum:
# - sha256
# - sha512
environment: environment:
PLUGIN_TITLE: "" PLUGIN_TITLE: ""
when: when: