fix: don't run secret sync for minimal (#349)

This commit is contained in:
Jan
2025-10-15 10:45:42 +02:00
committed by GitHub
parent eab7700404
commit b31f2aff7d

View File

@@ -337,6 +337,10 @@ function sync_secrets() {
} }
function secret_sync_gitlab_token() { function secret_sync_gitlab_token() {
if [ "$PROJECT" == "minimal" ]; then
log "INFO" "Not running Secret Sync for project minimal"
return
fi
# Map the origin of the git repository /etc/bridgehead to the prefix recognized by Secret Sync # Map the origin of the git repository /etc/bridgehead to the prefix recognized by Secret Sync
local gitlab local gitlab
case "$(git -C /etc/bridgehead remote get-url origin)" in case "$(git -C /etc/bridgehead remote get-url origin)" in