Compare commits
5 Commits
1fc058be78
...
539cc3f608
| Author | SHA1 | Date | |
|---|---|---|---|
|
539cc3f608
|
|||
| b40e5ce745 | |||
| 7afc9cad58 | |||
| e4d95b0beb | |||
| 1469d0ee07 |
@@ -18,6 +18,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
render-manifests-push:
|
render-manifests-push:
|
||||||
runs-on: ubuntu-js
|
runs-on: ubuntu-js
|
||||||
|
if: gitea.event.pusher.username != 'renovate-bot'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Main
|
- name: Checkout Main
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
@@ -31,33 +32,13 @@ jobs:
|
|||||||
ref: manifests
|
ref: manifests
|
||||||
path: infrastructure-manifests
|
path: infrastructure-manifests
|
||||||
|
|
||||||
- name: Check if Commit is from Push
|
|
||||||
id: check-push-type
|
|
||||||
run: |
|
|
||||||
cd ${MAIN_DIR}
|
|
||||||
|
|
||||||
echo ">> Checking if Commit is from Push ..."
|
|
||||||
git checkout ${{ gitea.event.after }}
|
|
||||||
PARENT_COUNT=$(git rev-list --parents -n 1 ${{ gitea.event.after }} | wc -w)
|
|
||||||
|
|
||||||
echo ">> Commit SHA: ${{ gitea.event.after }}"
|
|
||||||
echo ">> Parent Count: $PARENT_COUNT"
|
|
||||||
|
|
||||||
if [ $PARENT_COUNT > 1]; then
|
|
||||||
echo ">> Commit detected to be direct to main"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "parent-count=$PARENT_COUNT" >> "$GITHUB_OUTPUT"
|
|
||||||
|
|
||||||
- name: Set up Helm
|
- name: Set up Helm
|
||||||
uses: azure/setup-helm@v4
|
uses: azure/setup-helm@v4
|
||||||
if: steps.check-push-type.outputs.parent-count == '2'
|
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
version: v3.17.2 # Pending https://github.com/helm/helm/pull/30743
|
version: v3.17.2 # Pending https://github.com/helm/helm/pull/30743
|
||||||
|
|
||||||
- name: Prepare Manifest Branch
|
- name: Prepare Manifest Branch
|
||||||
if: steps.check-push-type.outputs.parent-count == '2'
|
|
||||||
run: |
|
run: |
|
||||||
cd ${MANIFEST_DIR}
|
cd ${MANIFEST_DIR}
|
||||||
|
|
||||||
@@ -81,7 +62,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Check which Directories have Changes
|
- name: Check which Directories have Changes
|
||||||
id: check-dir-changes
|
id: check-dir-changes
|
||||||
if: steps.check-push-type.outputs.parent-count == '2'
|
|
||||||
run: |
|
run: |
|
||||||
cd ${MAIN_DIR}
|
cd ${MAIN_DIR}
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ home-assistant:
|
|||||||
main:
|
main:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/home-assistant/home-assistant
|
repository: ghcr.io/home-assistant/home-assistant
|
||||||
tag: 2025.11.3
|
tag: 2025.12.0
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: TZ
|
- name: TZ
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ trivy-operator:
|
|||||||
image:
|
image:
|
||||||
registry: mirror.gcr.io
|
registry: mirror.gcr.io
|
||||||
repository: aquasec/trivy
|
repository: aquasec/trivy
|
||||||
tag: 0.67.2
|
tag: 0.68.1
|
||||||
storageClassEnabled: true
|
storageClassEnabled: true
|
||||||
storageClassName: ceph-block
|
storageClassName: ceph-block
|
||||||
storageSize: "5Gi"
|
storageSize: "5Gi"
|
||||||
|
|||||||
Reference in New Issue
Block a user