-
Notifications
You must be signed in to change notification settings - Fork 16
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
da11873
commit d91d91e
Showing
1 changed file
with
32 additions
and
32 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 |
---|---|---|
|
@@ -47,47 +47,47 @@ jobs: | |
# git push origin $RC_BRANCH | ||
# fi | ||
# | ||
- name: Check out Everest operator | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: percona/everest-operator | ||
path: everest-operator | ||
|
||
- name: Create Everest operator release branch | ||
run: | | ||
cd everest-operator | ||
# Check if the branch already exists | ||
git fetch | ||
check_branch=$(git ls-remote --heads origin ${RC_BRANCH}) | ||
if [[ -z ${check_branch} ]]; then | ||
git checkout -b $RC_BRANCH | ||
git push origin $RC_BRANCH | ||
fi | ||
# | ||
# | ||
# - name: Check out Everest | ||
# - name: Check out Everest operator | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# repository: percona/everest-operator | ||
# path: everest-operator | ||
# | ||
# - name: Create and update Everest Backend RC-branch | ||
# - name: Create Everest operator release branch | ||
# run: | | ||
# cd backend | ||
# cd everest-operator | ||
# # Check if the branch already exists | ||
# git fetch | ||
# check_branch=$(git ls-remote --heads origin ${RC_BRANCH}) | ||
# | ||
# if [[ -z ${check_branch} ]]; then | ||
# git checkout -b $RC_BRANCH | ||
# git push origin $RC_BRANCH | ||
# fi | ||
# | ||
# # update tag refs in scripts | ||
# sed -i "s/0.0.0/$VERSION/g" deploy/quickstart-k8s.yaml | ||
# | ||
# # configure userdata for commits | ||
# git config --global user.email "[email protected]" | ||
# git config --global user.name "Everest RC CI triggered by ${{ github.actor }}" | ||
# | ||
# # commit and push the updated files | ||
# git commit -a -m "update version tag" | ||
# git push origin $RC_BRANCH | ||
# fi | ||
- name: Check out Everest | ||
uses: actions/checkout@v4 | ||
|
||
- name: Create and update Everest Backend RC-branch | ||
run: | | ||
cd backend | ||
# Check if the branch already exists | ||
git fetch | ||
check_branch=$(git ls-remote --heads origin ${RC_BRANCH}) | ||
if [[ -z ${check_branch} ]]; then | ||
git checkout -b $RC_BRANCH | ||
git push origin $RC_BRANCH | ||
# update tag refs in scripts | ||
sed -i "s/0.0.0/$VERSION/g" deploy/quickstart-k8s.yaml | ||
# configure userdata for commits | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Everest RC CI triggered by ${{ github.actor }}" | ||
# commit and push the updated files | ||
git commit -a -m "update version tag" | ||
git push origin $RC_BRANCH | ||
fi |