Add FluffyPGP to CI tests
This commit is contained in:
parent
f83e26f213
commit
13edd290ef
2 changed files with 28 additions and 0 deletions
|
@ -161,6 +161,23 @@ run_cardtest_ykneo:
|
|||
# (the base image of run_cardtest uses bookworm)
|
||||
key: "bookworm"
|
||||
|
||||
run_cardtest_fluffypgp:
|
||||
stage: virtual-test
|
||||
image: registry.gitlab.com/hkos/openpgp-card-images/fluffypgp-builddeps
|
||||
script:
|
||||
- /etc/init.d/pcscd start
|
||||
- su - -c "sh /home/jcardsim/run-card.sh" jcardsim
|
||||
- cargo run -p openpgp-card-tests --bin import -- $CONFIG
|
||||
- cargo run -p openpgp-card-tests --bin keygen -- $CONFIG
|
||||
variables:
|
||||
CONFIG: "card-functionality/docker/test-fluffypgp.toml"
|
||||
cache:
|
||||
# inherit all general cache settings
|
||||
<<: *general_cache_config
|
||||
# override the key
|
||||
# (the base image of run_cardtest uses bookworm)
|
||||
key: "bookworm"
|
||||
|
||||
hardware-builddeps:
|
||||
stage: hw-builddeps
|
||||
needs: [ ]
|
||||
|
|
11
card-functionality/docker/test-fluffypgp.toml
Normal file
11
card-functionality/docker/test-fluffypgp.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
# SPDX-FileCopyrightText: 2022 Heiko Schaefer <heiko@schaefer.name>
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
[card.fluffypgp]
|
||||
backend.pcsc = "FFFD:00000001"
|
||||
config.keygen = [
|
||||
"RSA2k"
|
||||
]
|
||||
config.import = [
|
||||
"card-functionality/data/rsa2k.sec",
|
||||
]
|
Loading…
Reference in a new issue