Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
k-rister committed Nov 4, 2024
1 parent f128e50 commit 4557c4a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/test-installer
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,22 @@ for arg_mode in client-server engine; do
stop_test
done

start_test
# invalid quay expiration length
touch /tmp/auth-file.json
ec=$(grep EC_INVALID_QUAY_EXPIRATION_LENGTH= crucible-install.sh | cut -d '=' -f2)
cfgfile=$(grep SYSCONFIG= crucible-install.sh | cut -d '=' -f2 | sed 's/"//g')
# TODO(rfolco): temporary workaround until we make it distro generic
sudo mkdir -p $(dirname $cfgfile)
sudo ./crucible-install.sh \
--git-repo ${CRUCIBLE_DIR} \
--engine-registry myregistry.io/crucible \
--engine-auth-file /tmp/auth-file.json \
--quay-engine-expiration-length 1y \
--verbose
test "$?" = "${ec}" || exit 1
stop_test

for arg_mode in client-server engine; do
start_test
echo "testing arg_mode=${arg_mode}"
Expand Down

0 comments on commit 4557c4a

Please sign in to comment.