ci: disable hardware tests; run udeps independently
udeps takes relatively long to run, and shouldn't block the other stages.
This commit is contained in:
parent
ce1e0e0bc4
commit
c6518b91e2
1 changed files with 15 additions and 11 deletions
|
@ -5,7 +5,8 @@
|
||||||
stages:
|
stages:
|
||||||
- lint
|
- lint
|
||||||
- test
|
- test
|
||||||
- virtual-test
|
- virtual-cards
|
||||||
|
- udeps
|
||||||
- hw-builddeps
|
- hw-builddeps
|
||||||
- hw-import
|
- hw-import
|
||||||
- hw-keygen
|
- hw-keygen
|
||||||
|
@ -82,7 +83,8 @@ cargo-clippy:
|
||||||
key: "rust-latest"
|
key: "rust-latest"
|
||||||
|
|
||||||
udeps:
|
udeps:
|
||||||
stage: lint
|
stage: udeps
|
||||||
|
needs: [ ]
|
||||||
image: rustlang/rust:nightly-slim
|
image: rustlang/rust:nightly-slim
|
||||||
before_script:
|
before_script:
|
||||||
- mkdir -p /run/user/$UID
|
- mkdir -p /run/user/$UID
|
||||||
|
@ -137,7 +139,7 @@ cargo-test-debian-bookworm:
|
||||||
key: "bookworm"
|
key: "bookworm"
|
||||||
|
|
||||||
run_cardtest_smartpgp:
|
run_cardtest_smartpgp:
|
||||||
stage: virtual-test
|
stage: virtual-cards
|
||||||
image: registry.gitlab.com/openpgp-card/virtual-cards/smartpgp-builddeps
|
image: registry.gitlab.com/openpgp-card/virtual-cards/smartpgp-builddeps
|
||||||
before_script:
|
before_script:
|
||||||
- export PATH="$HOME/.cargo/bin:$PATH"
|
- export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
@ -158,7 +160,7 @@ run_cardtest_smartpgp:
|
||||||
key: "bookworm"
|
key: "bookworm"
|
||||||
|
|
||||||
run_cardtest_opcard_rs:
|
run_cardtest_opcard_rs:
|
||||||
stage: virtual-test
|
stage: virtual-cards
|
||||||
image: registry.gitlab.com/openpgp-card/virtual-cards/opcard-rs-tools
|
image: registry.gitlab.com/openpgp-card/virtual-cards/opcard-rs-tools
|
||||||
before_script:
|
before_script:
|
||||||
- export PATH="$HOME/.cargo/bin:$PATH"
|
- export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
@ -179,7 +181,7 @@ run_cardtest_opcard_rs:
|
||||||
key: "opcard_rs"
|
key: "opcard_rs"
|
||||||
|
|
||||||
run_cardtest_canokey:
|
run_cardtest_canokey:
|
||||||
stage: virtual-test
|
stage: virtual-cards
|
||||||
image: registry.gitlab.com/openpgp-card/virtual-cards/canokey-builddeps
|
image: registry.gitlab.com/openpgp-card/virtual-cards/canokey-builddeps
|
||||||
before_script:
|
before_script:
|
||||||
- export PATH="$HOME/.cargo/bin:$PATH"
|
- export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
@ -200,7 +202,7 @@ run_cardtest_canokey:
|
||||||
key: "canokey"
|
key: "canokey"
|
||||||
|
|
||||||
run_cardtest_ykneo:
|
run_cardtest_ykneo:
|
||||||
stage: virtual-test
|
stage: virtual-cards
|
||||||
image: registry.gitlab.com/openpgp-card/virtual-cards/ykneo-builddeps
|
image: registry.gitlab.com/openpgp-card/virtual-cards/ykneo-builddeps
|
||||||
before_script:
|
before_script:
|
||||||
- export PATH="$HOME/.cargo/bin:$PATH"
|
- export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
@ -224,7 +226,7 @@ run_cardtest_ykneo:
|
||||||
key: "bookworm"
|
key: "bookworm"
|
||||||
|
|
||||||
run_cardtest_fluffypgp:
|
run_cardtest_fluffypgp:
|
||||||
stage: virtual-test
|
stage: virtual-cards
|
||||||
image: registry.gitlab.com/openpgp-card/virtual-cards/fluffypgp-builddeps
|
image: registry.gitlab.com/openpgp-card/virtual-cards/fluffypgp-builddeps
|
||||||
before_script:
|
before_script:
|
||||||
- export PATH="$HOME/.cargo/bin:$PATH"
|
- export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
@ -247,7 +249,8 @@ run_cardtest_fluffypgp:
|
||||||
# (the base image of run_cardtest uses bookworm)
|
# (the base image of run_cardtest uses bookworm)
|
||||||
key: "bookworm"
|
key: "bookworm"
|
||||||
|
|
||||||
hardware-builddeps:
|
# disabled for now
|
||||||
|
.hardware-builddeps:
|
||||||
stage: hw-builddeps
|
stage: hw-builddeps
|
||||||
needs: [ ]
|
needs: [ ]
|
||||||
image: docker:stable
|
image: docker:stable
|
||||||
|
@ -300,15 +303,16 @@ hardware-builddeps:
|
||||||
# so use a different key for clarity
|
# so use a different key for clarity
|
||||||
key: "cookiejar"
|
key: "cookiejar"
|
||||||
|
|
||||||
import:
|
# disabled for now
|
||||||
|
.import:
|
||||||
extends: .hw-test-template
|
extends: .hw-test-template
|
||||||
stage: hw-import
|
stage: hw-import
|
||||||
variables:
|
variables:
|
||||||
ARG: import
|
ARG: import
|
||||||
|
|
||||||
keygen:
|
# disabled for now
|
||||||
|
.keygen:
|
||||||
extends: .hw-test-template
|
extends: .hw-test-template
|
||||||
stage: hw-keygen
|
stage: hw-keygen
|
||||||
timeout: 2h
|
|
||||||
variables:
|
variables:
|
||||||
ARG: keygen
|
ARG: keygen
|
||||||
|
|
Loading…
Reference in a new issue