-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: gabriel-farache <[email protected]>
- Loading branch information
1 parent
48759c9
commit 15e68ae
Showing
3 changed files
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,24 +86,14 @@ jobs: | |
PR_OR_COMMIT_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" | ||
fi | ||
git config --global user.email "${{ github.event.head_commit.author.email || '[email protected]' }}" | ||
git config --global user.name ${{ github.event.head_commit.author.name || github.triggering_actor }} | ||
gh repo clone $WF_CONFIG_REPO config-repo | ||
cd config-repo | ||
git switch -c m2k-kfunc-autopr-$RANDOM | ||
./hack/bump_chart_version.sh move2kube --bump-tag-version | ||
yq --inplace '.kfunction.image="quay.io/orchestrator/serverless-workflow-m2k-kfunc:${{ github.sha }}"' charts/move2kube/values.yaml | ||
cd .. | ||
echo "Running create_or_update_automated_pr script" | ||
sh scripts/create_or_update_automated_pr.sh $WF_CONFIG_REPO \ | ||
${{ inputs.workflow_id }} \ | ||
${PR_OR_COMMIT_URL} \ | ||
config-repo/charts/move2kube/values.yaml \ | ||
"yq --inplace '.kfunction.image=\"quay.io/orchestrator/serverless-workflow-m2k-kfunc:'\"${GITHUB_SHA}\"'\"' charts/move2kube/values.yaml" \ | ||
scripts/create_automated_m2k_kfunc_pr.sh \ | ||
${{ github.event.head_commit.author.email || '[email protected]' }} \ | ||
${{ github.event.head_commit.author.name || github.triggering_actor }} \ | ||
$WORKDIR \ | ||
${{ env.GH_TOKEN }} \ | ||
$WF_CONFIG_REPO | ||
$WF_CONFIG_REPO \ | ||
${{ github.sha }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters