Skip to content

Commit

Permalink
post comments fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Mar 8, 2024
1 parent 43fde9f commit 35260f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pre-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
cache: 'yarn'
- name: run fetch-mongodb-sharded
run: make -C solution-base/mongodb fetch-mongodb-sharded
- name: run patch
run: make -C solution-base/mongodb patch
- name: Check for changes
run: |
git diff --exit-code || { echo "Error: Changes detected after running 'make fetch-mongodb-sharded'. Please ensure step is completed."; exit 1; }
9 changes: 6 additions & 3 deletions solution-base/mongodb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ fetch-mongodb-sharded:
--version ${CHART_MONGO_SHARDED_VERSION} \
--untar \
--untardir ${CHART_DIR}

patch:
@git apply --check ${PATCH_FILES}
@git apply ${PATCH_FILES}
@for patch_file in ${PATCH_FILES}; do \
echo "Applying patch: $$patch_file"; \
git apply --check "$$patch_file" || exit 1; \
git apply "$$patch_file"; \
done

0 comments on commit 35260f9

Please sign in to comment.