Compare commits
3 Commits
de171da65d
...
75544d5fa4
| Author | SHA1 | Date | |
|---|---|---|---|
|
75544d5fa4
|
|||
| 33cda55291 | |||
| 44abc97c90 |
@@ -69,8 +69,8 @@ jobs:
|
||||
|
||||
RENDER_DIR=()
|
||||
|
||||
echo ">> Checking for changes ..."
|
||||
GIT_DIFF=$(git diff --name-only ${{ gitea.event.before }}..HEAD | xargs -I {} dirname {} | sort -u | grep "clusters/cl01tl/helm/")
|
||||
echo ">> Checking for changes from HEAD^..HEAD ..."
|
||||
GIT_DIFF=$(git diff --name-only HEAD^..HEAD | xargs -I {} dirname {} | sort -u | grep "clusters/cl01tl/helm/")
|
||||
|
||||
if [ -n "${GIT_DIFF}" ]; then
|
||||
echo ">> Changes detected:"
|
||||
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
PARENT_COUNT=$(git rev-list --parents -n 1 ${{ gitea.event.after }} | wc -w)
|
||||
|
||||
echo ">> Commit SHA: ${{ gitea.event.after }}"
|
||||
echo ">> Word Count (Parent Count + 1): $PARENT_COUNT"
|
||||
echo ">> Parent Count: $PARENT_COUNT"
|
||||
|
||||
if [ $PARENT_COUNT > 1]; do
|
||||
echo "">> Commit detected to be a direct commit to main"
|
||||
@@ -47,11 +47,6 @@ jobs:
|
||||
|
||||
echo "parent-count=$PARENT_COUNT" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Run CI for Direct Pushes Only
|
||||
if: steps.check-push-type.outputs.parent-count == '2'
|
||||
run: |
|
||||
echo "This is a direct push (non-merge). Running CI/Tests in Gitea."
|
||||
|
||||
- name: Set up Helm
|
||||
uses: azure/setup-helm@v4
|
||||
if: steps.check-push-type.outputs.parent-count == '2'
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
dependencies:
|
||||
- name: argo-workflows
|
||||
repository: https://argoproj.github.io/argo-helm
|
||||
version: 0.45.28
|
||||
version: 0.46.1
|
||||
- name: argo-events
|
||||
repository: https://argoproj.github.io/argo-helm
|
||||
version: 2.4.17
|
||||
- name: postgres-cluster
|
||||
repository: oci://harbor.alexlebens.net/helm-charts
|
||||
version: 6.16.0
|
||||
digest: sha256:b00fd479a9d9e606661b3799182c8e24395b4f531f8d2bda87bdc5db16a8d66c
|
||||
generated: "2025-12-01T19:55:40.18149-06:00"
|
||||
digest: sha256:d1e5e0a31c90bdff093db673f95c0e5f1cb5dfa0b910c21e5ec430a3cc4dd6aa
|
||||
generated: "2025-12-03T22:50:55.209413276Z"
|
||||
|
||||
@@ -18,7 +18,7 @@ maintainers:
|
||||
- name: alexlebens
|
||||
dependencies:
|
||||
- name: argo-workflows
|
||||
version: 0.45.28
|
||||
version: 0.46.1
|
||||
repository: https://argoproj.github.io/argo-helm
|
||||
- name: argo-events
|
||||
version: 2.4.17
|
||||
|
||||
Reference in New Issue
Block a user