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(container): update ghcr.io/gethomepage/homepage ( v0.10.4 → v0.10.5 ) #211

Merged
merged 5 commits into from
Dec 27, 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
10 changes: 8 additions & 2 deletions .github/labeler.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
# Areas
area/bootstrap:
- changed-files:
- any-glob-to-any-file: bootstrap/**/*
Expand All @@ -10,5 +11,10 @@ area/kubernetes:
- any-glob-to-any-file: kubernetes/**/*
area/taskfile:
- changed-files:
- any-glob-to-any-file: .taskfiles/**/*
- any-glob-to-any-file: Taskfile*
- any-glob-to-any-file:
- ".taskfiles/**/*"
- "Taskfile.yaml"
# Clusters
cluster/main:
- changed-files:
- any-glob-to-any-file: "kubernetes/main/**/*"
55 changes: 38 additions & 17 deletions .github/labels.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,41 @@
---
# Area
- { name: "area/bootstrap", color: "0e8a16" }
- { name: "area/github", color: "0e8a16" }
- { name: "area/kubernetes", color: "0e8a16" }
- { name: "area/taskfile", color: "0e8a16" }
# Areas
- name: area/bootstrap
color: "0e8a16"
- name: area/github
color: "0e8a16"
- name: area/kubernetes
color: "0e8a16"
- name: area/taskfile
color: "0e8a16"
# Distro
- { name: "distro/talos", color: "ffc300" }
# Renovate
- { name: "renovate/container", color: "027fa0" }
- { name: "renovate/github-action", color: "027fa0" }
- { name: "renovate/github-release", color: "027fa0" }
- { name: "renovate/helm", color: "027fa0" }
# Semantic Type
- { name: "type/patch", color: "ffec19" }
- { name: "type/minor", color: "ff9800" }
- { name: "type/major", color: "f6412d" }
- { name: "type/break", color: "f6412d" }
- name: "distro/talos"
color: "ffc300"
# Clusters
- name: cluster/main
color: "ffc300"
# Renovate Types
- name: renovate/container
color: "027fa0"
- name: renovate/github-action
color: "027fa0"
- name: renovate/grafana-dashboard
color: "027fa0"
- name: renovate/github-release
color: "027fa0"
- name: renovate/helm
color: "027fa0"
# Semantic Types
- name: type/digest
color: "ffeC19"
- name: type/patch
color: "ffeC19"
- name: type/minor
color: "ff9800"
- name: type/major
color: "f6412d"
# Uncategorized
- { name: "hold/upstream", color: "ee0701" }
- name: community
color: "370fb2"
- name: hold
color: "ee0701"
16 changes: 4 additions & 12 deletions .github/workflows/flux-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
pull_request:
branches: ["main"]
paths: ["kubernetes/**"]
# paths: ["kubernetes/**", "bootstrap/**"]

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
Expand Down Expand Up @@ -36,12 +35,10 @@ jobs:
id: changed-clusters
uses: tj-actions/changed-files@v45
with:
files: |
kubernetes/**
# bootstrap/**
files: kubernetes/**
files_ignore: kubernetes/shared/**
dir_names: true
dir_names_max_depth: 2
# dir_names_max_depth: 3
matrix: true

- name: List All Changed Clusters
Expand All @@ -52,12 +49,10 @@ jobs:
runs-on: ubuntu-latest
needs: ["changed-clusters"]
permissions:
#contents: read
pull-requests: write
strategy:
matrix:
#paths: ["kubernetes"]
paths: ${{ fromJSON(needs.changed-clusters.outputs.matrix) }} # use this once moved to cluster structure
paths: ${{ fromJSON(needs.changed-clusters.outputs.matrix) }}
resources: ["helmrelease", "kustomization"]
max-parallel: 4
fail-fast: false
Expand All @@ -82,11 +77,8 @@ jobs:
ref: "${{ github.event.repository.default_branch }}"
path: default

- name: Print "matrix.paths"
run: echo ${{ matrix.paths }}

- name: Diff Resources
uses: docker://ghcr.io/allenporter/flux-local:v6.1.0
uses: docker://ghcr.io/allenporter/flux-local:v6.1.1
with:
args: >-
diff ${{ matrix.resources }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/flux-image-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
uses: tj-actions/changed-files@v45
with:
files: kubernetes/**
files_ignore: kubernetes/shared/**
dir_names: true
dir_names_max_depth: 2
matrix: true
Expand All @@ -51,8 +52,7 @@ jobs:
pull-requests: write
strategy:
matrix:
#paths: ["kubernetes"]
paths: ${{ fromJSON(needs.changed-clusters.outputs.matrix) }} # use this once moved to cluster structure
paths: ${{ fromJSON(needs.changed-clusters.outputs.matrix) }}
max-parallel: 4
fail-fast: false
outputs:
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
path: pull

- name: Gather Images in Default Branch
uses: docker://ghcr.io/allenporter/flux-local:v6.1.0
uses: docker://ghcr.io/allenporter/flux-local:v6.1.1
with:
args: >-
get cluster
Expand All @@ -96,7 +96,7 @@ jobs:
--output-file default.yaml

- name: Gather Images in Pull Request Branch
uses: docker://ghcr.io/allenporter/flux-local:v6.1.0
uses: docker://ghcr.io/allenporter/flux-local:v6.1.1
with:
args: >-
get cluster
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,17 @@ jobs:
labeler:
name: Labeler
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
steps:
- name: Generate Token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: "${{ secrets.BOT_APP_ID }}"
private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}"

- name: Labeler
uses: actions/labeler@v5
with:
repo-token: "${{ steps.app-token.outputs.token }}"
configuration-path: .github/labeler.yaml
2 changes: 1 addition & 1 deletion kubernetes/main/apps/default/homepage/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
app:
image:
repository: ghcr.io/gethomepage/homepage
tag: v0.10.4
tag: v0.10.5
env:
TZ: Europe/London
envFrom:
Expand Down
Loading