From 77822e716d832b9080bf08a4431212a92dd8bc7f Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Mon, 16 May 2022 01:42:32 +0200 Subject: [PATCH] Redirect output of jCardSim to /dev/null, to keep its debug output out of the CI log. The virtual card images used to do this kind of redirect. Now the consumer of the images needs to decide if they want to see virtual card debug output. We don't want to see it, by default. --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2ee929f..5318fd0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -132,7 +132,7 @@ run_cardtest_smartpgp: image: registry.gitlab.com/hkos/openpgp-card-images/smartpgp-builddeps script: - /etc/init.d/pcscd start - - su - -c "sh /home/jcardsim/run-card.sh" jcardsim + - su - -c "sh /home/jcardsim/run-card.sh > /dev/null" jcardsim - cargo run -p openpgp-card-tools --bin opgpcard -- status - cargo run -p openpgp-card-tools --bin opgpcard -- info - cargo run -p openpgp-card-tests --bin import -- $CONFIG @@ -151,7 +151,7 @@ run_cardtest_ykneo: image: registry.gitlab.com/hkos/openpgp-card-images/ykneo-builddeps script: - /etc/init.d/pcscd start - - su - -c "sh /home/jcardsim/run-card.sh" jcardsim + - su - -c "sh /home/jcardsim/run-card.sh > /dev/null" jcardsim - cargo run -p openpgp-card-tools --bin opgpcard -- status - cargo run -p openpgp-card-tools --bin opgpcard -- info - cargo run -p openpgp-card-tests --bin import -- $CONFIG @@ -170,7 +170,7 @@ run_cardtest_fluffypgp: 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 + - su - -c "sh /home/jcardsim/run-card.sh > /dev/null" jcardsim - cargo run -p openpgp-card-tools --bin opgpcard -- status - cargo run -p openpgp-card-tools --bin opgpcard -- info - cargo run -p openpgp-card-tests --bin import -- $CONFIG