Skip to content

Commit

Permalink
fix(ci): k8s repo make MR (#297)
Browse files Browse the repository at this point in the history
* fix: k8s repo make MR

* test disable

* revert test changes
  • Loading branch information
sasa-tomic committed Apr 4, 2024
1 parent 127ef28 commit 2c0e676
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: bazel query --noshow_progress 'kind("oci_push", ...)' | xargs -I_target bazel run _target -- --tag ${GITHUB_SHA}

########################################
# Check if dashboard/* changed to see if
# Check if dashboard/* changed to see if
# it also needs to be updated in k8s
########################################
- name: "❓ Check if dashboard/* changed in last commit"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/update-k8s-deployments/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ runs:
git config user.name "IDX Automation"
DRE_REPO_BRANCH="${{ github.head_ref || github.event.pull_request.head.ref }}"
K8S_REPO_BRANCH="update-dre-images"
git checkout -b "${NEW_BRANCH}"
git checkout -b "${K8S_REPO_BRANCH}"
# Update the internal dashboard image refs
# this regex matches the first group (ie the image name) and uses \1
Expand All @@ -50,5 +50,5 @@ runs:
-o merge_request.create \
-o merge_request.title="[nomrbot] - Updating DRE container images" \
-o merge_request.description="Updating the DRE container images based on the latest changes in the DRE repository - [here](https://github.com/dfinity/dre/commits/$DRE_REPO_BRANCH" \
--force --set-upstream origin "${NEW_BRANCH}" || \
git push --force --set-upstream origin "${NEW_BRANCH}"
--force --set-upstream origin "${K8S_REPO_BRANCH}" || \
git push --force --set-upstream origin "${K8S_REPO_BRANCH}"

0 comments on commit 2c0e676

Please sign in to comment.