Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): k8s repo make MR #297

Merged
merged 3 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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}"
Loading