This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c3b2d5
commit 7b87856
Showing
1 changed file
with
6 additions
and
8 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 |
---|---|---|
|
@@ -35,13 +35,6 @@ jobs: | |
ROBOT_TOKEN: ${{ secrets.ROBOT_TOKEN }} | ||
run: git config --global url."https://percona-platform-robot:${ROBOT_TOKEN}@github.com".insteadOf "https://github.com" | ||
|
||
- name: Configure git user for commits | ||
env: | ||
ROBOT_TOKEN: ${{ secrets.ROBOT_TOKEN }} | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Everest RC CI" | ||
- name: Check out Everest CLI | ||
uses: actions/checkout@v4 | ||
with: | ||
|
@@ -150,10 +143,15 @@ jobs: | |
if [[ -z ${check_branch} ]]; then | ||
git checkout -b $RC_BRANCH | ||
# update tag refs in scripts | ||
sed -i "s/dev-latest/$RC_BRANCH/g" deploy/quickstart-compose.yml deploy/quickstart-k8s.yaml | ||
git diff deploy/quickstart-compose.yml deploy/quickstart-k8s.yaml | ||
# configure userdata for commits | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Everest RC CI" | ||
# commit and push the updated files | ||
git commit -a -m "update version tag" | ||
git push origin $RC_BRANCH | ||
else | ||
|