-
Notifications
You must be signed in to change notification settings - Fork 772
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
c3fe6ae
commit 830e974
Showing
1 changed file
with
24 additions
and
24 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 |
---|---|---|
|
@@ -43,27 +43,27 @@ jobs: | |
docker build cyclops-ctrl -t cyclopsui/cyclops-ctrl:$TAG | ||
docker push cyclopsui/cyclops-ctrl:$TAG | ||
update-install-manifest: | ||
needs: | ||
- build-UI | ||
- build-controller | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: update install manifest | ||
run: | | ||
TAG=$(git describe --tags --abbrev=0) | ||
INSTALL_YAML=$GITHUB_WORKSPACE/install/cyclops-install.yaml | ||
sed -i 's/cyclopsui\/cyclops-ctrl\:.*/cyclopsui\/cyclops-ctrl\:'$TAG'/' $INSTALL_YAML | ||
sed -i 's/cyclopsui\/cyclops-ui\:.*/cyclopsui\/cyclops-ui\:'$TAG'/' $INSTALL_YAML | ||
# update file | ||
git fetch origin main | ||
git checkout main | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "petar-cvit" | ||
git status | ||
git add $INSTALL_YAML | ||
git commit -m '⚙️ update cyclops to '$TAG | ||
git push origin HEAD:main | ||
# update-install-manifest: | ||
# needs: | ||
# - build-UI | ||
# - build-controller | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: update install manifest | ||
# run: | | ||
# TAG=$(git describe --tags --abbrev=0) | ||
# INSTALL_YAML=$GITHUB_WORKSPACE/install/cyclops-install.yaml | ||
# | ||
# sed -i 's/cyclopsui\/cyclops-ctrl\:.*/cyclopsui\/cyclops-ctrl\:'$TAG'/' $INSTALL_YAML | ||
# sed -i 's/cyclopsui\/cyclops-ui\:.*/cyclopsui\/cyclops-ui\:'$TAG'/' $INSTALL_YAML | ||
# | ||
# # update file | ||
# git fetch origin main | ||
# git checkout main | ||
# git config --global user.email "[email protected]" | ||
# git config --global user.name "petar-cvit" | ||
# git status | ||
# git add $INSTALL_YAML | ||
# git commit -m '⚙️ update cyclops to '$TAG | ||
# git push origin HEAD:main |