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 248a824 commit a9f7603
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/test-installer
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,24 @@ for arg_mode in client-server engine; do
stop_test
done

start_test
# override existing installation
touch /tmp/auth-file.json
touch /tmp/oauth-file.json
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-refresh-token /tmp/oauth-file.json \
--quay-engine-expiration-refresh-api-url myregistry.io/crucible/api/url \
--verbose
test "$?" = "0" || exit 1
ls -ld /opt/crucible-moved* || 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 a9f7603

Please sign in to comment.