~starkingdoms/starkingdoms

ref: 993dbfb19a766a87e680efa85c17012233b7aed1 starkingdoms/.woodpecker/.backplane.yaml -rw-r--r-- 2.1 KiB
993dbfb1 — core ci work 5 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
steps:
  - name: backplane_fmt
    image: registry.gitlab.com/starkingdoms.tk/starkingdoms.tk/build_env:2024040603
    commands:
      - cd starkingdoms-backplane
      - rustfmt **/*.rs --check --edition 2021 --color always
    environment:
      CARGO_INCREMENTAL: "0"
      SCCACHE_ENDPOINT: https://eaa2f15b55afa10361622796530d22c6.r2.cloudflarestorage.com/stk-sccache
      SCCACHE_BUCKET: stk-sccache
      SCCACHE_REGION: auto
      AWS_ACCESS_KEY_ID:
        from_secret: s3_id
      AWS_SECRET_ACCESS_KEY:
        from_secret: s3_key
      RUSTC_WRAPPER: sccache
  - name: backplane_clippy
    image: registry.gitlab.com/starkingdoms.tk/starkingdoms.tk/build_env:2024040603
    commands:
      - cd starkingdoms-backplane
      - cargo clippy --profile release-ci --color always
    environment:
      CARGO_INCREMENTAL: "0"
      SCCACHE_ENDPOINT: https://eaa2f15b55afa10361622796530d22c6.r2.cloudflarestorage.com/stk-sccache
      SCCACHE_BUCKET: stk-sccache
      SCCACHE_REGION: auto
      AWS_ACCESS_KEY_ID:
        from_secret: s3_id
      AWS_SECRET_ACCESS_KEY:
        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
    environment:
      CARGO_INCREMENTAL: "0"
      SCCACHE_ENDPOINT: https://eaa2f15b55afa10361622796530d22c6.r2.cloudflarestorage.com/stk-sccache
      SCCACHE_BUCKET: stk-sccache
      SCCACHE_REGION: auto
      AWS_ACCESS_KEY_ID:
        from_secret: s3_id
      AWS_SECRET_ACCESS_KEY:
        from_secret: s3_key
      RUSTC_WRAPPER: sccache
  - name: build_image
    depends_on:
      - backplane_build
    image: woodpeckerci/plugin-docker-buildx
    settings:
      repo: registry.gitlab.com/starkingdoms.tk/starkingdoms.tk/backplane
      dockerfile: starkingdoms-backplane/Dockerfile
      username: c0repwn3r
      password:
        from_secret: gitlab_token
      tag: ${CI_COMMIT_TAG}
      registry: https://registry.gitlab.com
    when:
      event: tag