Skip to content

Commit

Permalink
Fix docker-compose add_signing_service script
Browse files Browse the repository at this point in the history
fixes: pulp#647
  • Loading branch information
gerrod3 committed Jul 9, 2024
1 parent 5175d61 commit 8ea4965
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/647.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed default docker compose file not launching when PULP_SIGNING_KEY_FINGERPRINT was unset.
2 changes: 1 addition & 1 deletion images/assets/add_signing_service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/usr/bin/wait_on_postgres.py
/usr/bin/wait_on_database_migrations.sh

if [ -n "${PULP_SIGNING_KEY_FINGERPRINT}" ]; then
if [ -n "${PULP_SIGNING_KEY_FINGERPRINT-}" ]; then
/usr/local/bin/pulpcore-manager add-signing-service "${COLLECTION_SIGNING_SERVICE}" /var/lib/pulp/scripts/collection_sign.sh "${PULP_SIGNING_KEY_FINGERPRINT}"
/usr/local/bin/pulpcore-manager add-signing-service "${CONTAINER_SIGNING_SERVICE}" /var/lib/pulp/scripts/container_sign.sh "${PULP_SIGNING_KEY_FINGERPRINT}" --class container:ManifestSigningService
fi

0 comments on commit 8ea4965

Please sign in to comment.