Skip to content

Commit c758bb4

Browse files
committed
ci(stepup-behat): also guard on missing haproxy CA cert
create_dev_ca.sh always produces haproxy.pem and haproxy.crt together, but the regeneration check only looked at haproxy.pem. Check both so the CA cert copy step right after can't run against a missing haproxy.crt.
1 parent 856a4ee commit c758bb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/stepup-behat.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
cd stepup
2929
cp .env.test .env
3030
cp gateway/surfnet_yubikey.yaml.dist gateway/surfnet_yubikey.yaml
31-
if [ ! -f ../core/haproxy/haproxy.pem ]; then
31+
if [ ! -f ../core/haproxy/haproxy.pem ] || [ ! -f ../core/haproxy/haproxy.crt ]; then
3232
../core/scripts/create_dev_ca.sh
3333
fi
3434
# Distribute the dev CA to the app containers: the base image imports

0 commit comments

Comments
 (0)