Test the merge to infra
This commit is contained in:
parent
2d85f6c895
commit
6009dfdb9a
@ -88,9 +88,19 @@ echo "✅ Final merged values.yaml:"
|
||||
cat "$MERGED_FILE"
|
||||
|
||||
# === STEP 5: Optional push to Git ===
|
||||
# cd "$INFRA_CLONE"
|
||||
# git config user.name "woodpecker-bot"
|
||||
# git config user.email "ci@dvirlabs.com"
|
||||
# git add manifests/cloudflared/values.yaml
|
||||
# git commit -m "chore(cloudflared): auto-add ingress from sandbox"
|
||||
# git push
|
||||
echo "📤 Pushing updated values.yaml to infra repo..."
|
||||
|
||||
cd "$INFRA_CLONE"
|
||||
git config user.name "woodpecker-bot"
|
||||
git config user.email "ci@dvirlabs.com"
|
||||
|
||||
# Only commit if there are changes
|
||||
if ! git diff --quiet manifests/cloudflared/values.yaml; then
|
||||
git add manifests/cloudflared/values.yaml
|
||||
git commit -m "chore(cloudflared): auto-merge CNAME entries from sandbox"
|
||||
git push origin HEAD
|
||||
echo "✅ Changes pushed successfully."
|
||||
else
|
||||
echo "ℹ️ No changes to commit."
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user