Skip to content

Commit

Permalink
RK-19956 - Migration to gitops repo (#80)
Browse files Browse the repository at this point in the history
* migration-to-gitops-repo

* fix-path

---------

Co-authored-by: Alexey Gutkin <[email protected]>
  • Loading branch information
alexeygutkin and alexeygutkin authored Oct 31, 2023
1 parent b7d8e8a commit aa8ea29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ jobs:
- *install_deps
- run: git config --global user.email "[email protected]" && git config --global user.name "sonariorobot"
- run: git clone [email protected]:Rookout/gitops.git
- run: PUBLISH_VERSION=$(echo $NEW_VERSION | sed 's/inner-999/1/g') yq eval -i -v '.apps[] |= select(.chart.name == "tutorial-python").helmValues.image.tag = strenv(PUBLISH_VERSION)' apps/demo/staging/apps.yaml
- run: PUBLISH_VERSION=$(echo $NEW_VERSION | sed 's/inner-999/1/g') yq eval -i -v '.apps[] |= select(.chart.name == "tutorial-python").helmValues.image.tag = strenv(PUBLISH_VERSION)' apps/demo/production/apps.yaml
- run: PUBLISH_VERSION=$(echo $NEW_VERSION | sed 's/inner-999/1/g') yq eval -i -v '.apps[] |= select(.chart.name == "tutorial-python").helmValues.image.tag = strenv(PUBLISH_VERSION)' gitops/apps/demo/staging/apps.yaml
- run: PUBLISH_VERSION=$(echo $NEW_VERSION | sed 's/inner-999/1/g') yq eval -i -v '.apps[] |= select(.chart.name == "tutorial-python").helmValues.image.tag = strenv(PUBLISH_VERSION)' gitops/apps/demo/production/apps.yaml
- run: cd gitops && git add apps/demo/staging/apps.yaml apps/demo/production/apps.yaml
- run: cd gitops && git commit -m "update tutorial-python $NEW_VERSION"
- run: cd gitops && git push https://sonariorobot:[email protected]/Rookout/gitops.git
Expand Down

0 comments on commit aa8ea29

Please sign in to comment.