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"
|
cat "$MERGED_FILE"
|
||||||
|
|
||||||
# === STEP 5: Optional push to Git ===
|
# === STEP 5: Optional push to Git ===
|
||||||
# cd "$INFRA_CLONE"
|
echo "📤 Pushing updated values.yaml to infra repo..."
|
||||||
# git config user.name "woodpecker-bot"
|
|
||||||
# git config user.email "ci@dvirlabs.com"
|
cd "$INFRA_CLONE"
|
||||||
# git add manifests/cloudflared/values.yaml
|
git config user.name "woodpecker-bot"
|
||||||
# git commit -m "chore(cloudflared): auto-add ingress from sandbox"
|
git config user.email "ci@dvirlabs.com"
|
||||||
# git push
|
|
||||||
|
# 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