mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 23:45:25 +02:00
feat: workflows
This commit is contained in:
4
.github/labels.yaml
vendored
4
.github/labels.yaml
vendored
@@ -13,6 +13,10 @@
|
||||
color: "ffc300"
|
||||
- name: renovate/container
|
||||
color: "ffc300"
|
||||
- name: renovate/github-action
|
||||
color: "ffc300"
|
||||
- name: renovate/github-release
|
||||
color: "ffc300"
|
||||
- name: renovate/helm
|
||||
color: "ffc300"
|
||||
- name: renovate/terraform
|
||||
|
10
.github/renovate/labels.json
vendored
10
.github/renovate/labels.json
vendored
@@ -27,6 +27,14 @@
|
||||
{
|
||||
"matchDatasources": ["terraform-provider"],
|
||||
"addLabels": ["renovate/terraform"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"matchDatasources": ["github-releases", "github-tags"],
|
||||
"addLabels": ["renovate/github-release"]
|
||||
},
|
||||
{
|
||||
"matchManagers": ["github-actions"],
|
||||
"addLabels": ["renovate/github-action"]
|
||||
}
|
||||
]
|
||||
}
|
8
.github/workflows/schedule-flux-update.yaml
vendored
8
.github/workflows/schedule-flux-update.yaml
vendored
@@ -35,10 +35,12 @@ jobs:
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
with:
|
||||
token: "${{ steps.generate-token.outputs.token }}"
|
||||
branch: "ci/flux-update-${{ steps.update.outputs.flux_version }}"
|
||||
branch: "github-action/flux-update-${{ steps.update.outputs.flux_version }}"
|
||||
delete-branch: true
|
||||
title: "chore(ci): update flux components to ${{ steps.update.outputs.flux_version }}"
|
||||
title: "chore(github-action): update flux components to ${{ steps.update.outputs.flux_version }}"
|
||||
signoff: true
|
||||
commit-message: "chore(ci): update flux components to ${{ steps.update.outputs.flux_version }}"
|
||||
commit-message: "chore(github-action): update flux components to ${{ steps.update.outputs.flux_version }}"
|
||||
body: |
|
||||
Release notes: https://github.com/fluxcd/flux2/releases/tag/${{ steps.update.outputs.flux_version }}
|
||||
labels: |
|
||||
renovate/github-action
|
||||
|
45
.github/workflows/schedule-library-chart-update.yaml
vendored
Normal file
45
.github/workflows/schedule-library-chart-update.yaml
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
---
|
||||
name: Schedule - Library Chart Update
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 */4 * * *"
|
||||
|
||||
jobs:
|
||||
library-chart-update:
|
||||
name: Library Chart Update
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Generate Token
|
||||
uses: tibdex/github-app-token@v1
|
||||
id: generate-token
|
||||
with:
|
||||
app_id: "${{ secrets.BOT_APP_ID }}"
|
||||
private_key: "${{ secrets.BOT_APP_PRIVATE_KEY }}"
|
||||
- name: Install Helm
|
||||
uses: azure/setup-helm@v1
|
||||
with:
|
||||
version: v3.6.3
|
||||
- name: Add library chart
|
||||
run: helm repo add k8s-at-home-library https://library-charts.k8s-at-home.com
|
||||
- name: Update helm repositories
|
||||
run: helm repo update
|
||||
- name: Update helm dependencies
|
||||
run: helm dep update
|
||||
working-directory: charts/kah-common
|
||||
- name: Create pull request
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
with:
|
||||
token: "${{ steps.generate-token.outputs.token }}"
|
||||
branch: github-action/renovate-kah-library-chart
|
||||
delete-branch: true
|
||||
title: "chore(github-action): update kah library chart"
|
||||
signoff: true
|
||||
commit-message: "chore(github-action): update kah library chart"
|
||||
body: |
|
||||
Update the kah library chart
|
||||
labels: |
|
||||
renovate/github-action
|
3
.github/workflows/schedule-link-checker.yaml
vendored
3
.github/workflows/schedule-link-checker.yaml
vendored
@@ -4,9 +4,6 @@ on: # yamllint disable-line rule:truthy
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
link-checker:
|
||||
|
Reference in New Issue
Block a user