Skip to content

Commit

Permalink
feat: make the script to push manifests to the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
olga-mir committed Jul 13, 2022
1 parent 04ad1ed commit 501c7c4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/workload-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,12 @@ generate_and_push_manifests() {
yq eval ". *+ {\"resources\":[\"$CLUSTER_NAME\"]}" $REPO_ROOT/infrastructure/control-plane-cluster/kustomization.yaml --inplace
fi

if false; then
#if false; then
if :; then
git add $infra_dir
git add $cluster_dir
git commit -m "add generated files for $CLUSTER_NAME"
git add $REPO_ROOT/infrastructure/control-plane-cluster/kustomization.yaml
git commit -m "feat: add or update generated files for $CLUSTER_NAME"
git push origin $GITHUB_BRANCH
fi
}
Expand Down

0 comments on commit 501c7c4

Please sign in to comment.