Skip to content

Commit f02424f

Browse files
committed
ci: Comment out cargo-udeps, use released action
1 parent cefff11 commit f02424f

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

.github/workflows/build.yaml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -41,45 +41,45 @@ env:
4141
CARGO_TERM_COLOR: always
4242

4343
jobs:
44-
cargo-udeps:
45-
name: Run cargo-udeps
46-
runs-on: ubuntu-latest
47-
env:
48-
RUSTC_BOOTSTRAP: 1
49-
steps:
50-
- name: Install host dependencies
51-
uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # v1.5.3
52-
with:
53-
packages: protobuf-compiler krb5-user libkrb5-dev libclang-dev liblzma-dev libssl-dev pkg-config apt-transport-https
54-
version: ubuntu-latest
55-
56-
- name: Checkout Repository
57-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
58-
with:
59-
persist-credentials: false
60-
submodules: recursive
61-
62-
- name: Install Rust ${{ env.RUST_TOOLCHAIN_VERSION }} toolchain
63-
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
64-
with:
65-
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
66-
67-
- name: Setup Rust Cache
68-
uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
69-
with:
70-
cache-all-crates: "true"
71-
key: udeps
72-
73-
- name: Install cargo-udeps
74-
uses: stackabletech/cargo-install-action@8f7dbbcd2ebe22717efc132d0dd61e80841994b9 # cargo-udeps
75-
76-
- name: Run cargo-udeps
77-
run: cargo udeps --workspace --all-targets
44+
# cargo-udeps:
45+
# name: Run cargo-udeps
46+
# runs-on: ubuntu-latest
47+
# env:
48+
# RUSTC_BOOTSTRAP: 1
49+
# steps:
50+
# - name: Install host dependencies
51+
# uses: awalsh128/cache-apt-pkgs-action@2c09a5e66da6c8016428a2172bd76e5e4f14bb17 # v1.5.3
52+
# with:
53+
# packages: protobuf-compiler krb5-user libkrb5-dev libclang-dev liblzma-dev libssl-dev pkg-config apt-transport-https
54+
# version: ubuntu-latest
55+
56+
# - name: Checkout Repository
57+
# uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
58+
# with:
59+
# persist-credentials: false
60+
# submodules: recursive
61+
62+
# - name: Install Rust ${{ env.RUST_TOOLCHAIN_VERSION }} toolchain
63+
# uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
64+
# with:
65+
# toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
66+
67+
# - name: Setup Rust Cache
68+
# uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
69+
# with:
70+
# cache-all-crates: "true"
71+
# key: udeps
72+
73+
# - name: Install cargo-udeps
74+
# uses: stackabletech/cargo-install-action@8f7dbbcd2ebe22717efc132d0dd61e80841994b9 # cargo-udeps
75+
76+
# - name: Run cargo-udeps
77+
# run: cargo udeps --workspace --all-targets
7878

7979
build-image:
8080
name: Build/Publish ${{ matrix.runner.arch }} Image
81-
needs:
82-
- cargo-udeps
81+
# needs:
82+
# - cargo-udeps
8383
permissions:
8484
id-token: write
8585
strategy:
@@ -137,15 +137,15 @@ jobs:
137137

138138
- name: Build Container Image
139139
id: build
140-
uses: stackabletech/actions/build-container-image@7ffd8c8c5c0378ebeae80f95e2680510d3d1be4c # TODO: Use released image
140+
uses: stackabletech/actions/build-container-image@976e8c293cb59f391dbf8563ab28e965e79ca36d # 0.10.4
141141
with:
142142
image-name: ${{ env.OPERATOR_NAME }}
143143
image-index-manifest-tag: ${{ steps.version.outputs.OPERATOR_VERSION }}
144144
build-arguments: VERSION=${{ steps.version.outputs.OPERATOR_VERSION }}
145145
container-file: docker/Dockerfile
146146

147147
- name: Publish Container Image
148-
uses: stackabletech/actions/publish-image@7ffd8c8c5c0378ebeae80f95e2680510d3d1be4c # TODO: Use released image
148+
uses: stackabletech/actions/publish-image@976e8c293cb59f391dbf8563ab28e965e79ca36d # 0.10.4
149149
with:
150150
image-registry-uri: oci.stackable.tech
151151
image-registry-username: robot$sdp+github-action-build
@@ -184,7 +184,7 @@ jobs:
184184
submodules: recursive
185185

186186
- name: Package, Publish, and Sign Helm Chart
187-
uses: stackabletech/actions/publish-helm-chart@923b9de2c77d2a736035e744c22ab6e5937b4c18 # TODO: Use released version
187+
uses: stackabletech/actions/publish-helm-chart@976e8c293cb59f391dbf8563ab28e965e79ca36d # 0.10.4
188188
with:
189189
chart-registry-uri: oci.stackable.tech
190190
chart-registry-username: robot$sdp+github-action-build
@@ -208,7 +208,7 @@ jobs:
208208
runs-on: ubuntu-latest
209209
steps:
210210
- name: Run OpenShift Preflight Check
211-
uses: stackabletech/actions/run-openshift-preflight@50f31550a09fc10b16892a85edfb75b6f2e448d6 # TODO: Use released version
211+
uses: stackabletech/actions/run-openshift-preflight@976e8c293cb59f391dbf8563ab28e965e79ca36d # 0.10.4
212212
with:
213213
image-index-uri: oci.stackable.tech/sdp/${{ env.OPERATOR_NAME }}:${{ needs.build-image.outputs.operator-version }}
214214
image-architecture: ${{ matrix.arch }}

0 commit comments

Comments
 (0)