M .woodpecker/.backplane.yaml => .woodpecker/.backplane.yaml +5 -0
@@ 30,10 30,14 @@ steps:
from_secret: s3_key
RUSTC_WRAPPER: sccache
- name: backplane_build
+ depends_on:
+ - backplane_fmt
+ - backplane_clippy
image: registry.gitlab.com/starkingdoms.tk/starkingdoms.tk/build_env:2024040603
commands:
- cd starkingdoms-backplane
- cargo build --profile release-ci --color always
+ - echo -e "gitlab token--$GITLAB_TOKEN--"
environment:
CARGO_INCREMENTAL: "0"
SCCACHE_ENDPOINT: https://eaa2f15b55afa10361622796530d22c6.r2.cloudflarestorage.com/stk-sccache
@@ 44,6 48,7 @@ steps:
AWS_SECRET_ACCESS_KEY:
from_secret: s3_key
RUSTC_WRAPPER: sccache
+ secrets: [ gitlab_token ]
- name: build_image
depends_on:
- backplane_build
M .woodpecker/.server.yaml => .woodpecker/.server.yaml +3 -0
@@ 32,6 32,9 @@ steps:
from_secret: s3_key
RUSTC_WRAPPER: sccache
- name: server_build
+ depends_on:
+ - server_clippy
+ - server_fmt
image: registry.gitlab.com/starkingdoms.tk/starkingdoms.tk/build_env:2024040603
commands:
- cd server