Skip to content

Commit

Permalink
Temporarily work around auth.json location confusion
Browse files Browse the repository at this point in the history
Temporarily work around containers/podman#4227
until Fedora has an updated packaged version of podman that includes
that fix, at which point we should revert this patch.

Signed-off-by: Nalin Dahyabhai <[email protected]>
  • Loading branch information
nalind committed Oct 15, 2019
1 parent f72e39f commit 4962559
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions systemtest/040-local-registry-auth.bats
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ function setup() {
mkdir -p $_cred_dir/containers
rm -f $_cred_dir/containers/auth.json

# TODO: This is here to work around
# https://github.com/containers/libpod/issues/4227 in the
# "auth: credentials via podman login" test.
# It should be removed once a packaged version of podman which includes
# that fix is available in our CI environment, since we _want_ to be
# checking that podman and skopeo agree on the default for where registry
# credentials should be stored.
export REGISTRY_AUTH_FILE=$_cred_dir/containers/auth.json

# Start authenticated registry with random password
testuser=testuser
testpassword=$(random_string 15)
Expand Down

0 comments on commit 4962559

Please sign in to comment.