From e23e5e0345d50a7dcea6f889904bc1d346ae1073 Mon Sep 17 00:00:00 2001 From: jessebot Date: Thu, 13 Jul 2023 11:37:56 +0200 Subject: [PATCH 1/2] remove helm hook weight for job-db-migrate --- charts/mastodon/Chart.yaml | 2 +- charts/mastodon/templates/job-db-migrate.yaml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/charts/mastodon/Chart.yaml b/charts/mastodon/Chart.yaml index 698c15d..298917d 100644 --- a/charts/mastodon/Chart.yaml +++ b/charts/mastodon/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 4.0.6 +version: 4.0.7 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/mastodon/templates/job-db-migrate.yaml b/charts/mastodon/templates/job-db-migrate.yaml index f666966..8ea3a7e 100644 --- a/charts/mastodon/templates/job-db-migrate.yaml +++ b/charts/mastodon/templates/job-db-migrate.yaml @@ -6,7 +6,6 @@ metadata: {{- include "mastodon.labels" . | nindent 4 }} annotations: "helm.sh/hook": post-install,pre-upgrade - "helm.sh/hook-weight": "-3" "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded spec: template: From 7f761c5b1e51cb6114916117ff0d13cdb1726b17 Mon Sep 17 00:00:00 2001 From: jessebot Date: Thu, 13 Jul 2023 11:43:39 +0200 Subject: [PATCH 2/2] only run test-chart on pr or push main --- .github/workflows/test-chart.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-chart.yml b/.github/workflows/test-chart.yml index 4d6c7df..2e39b31 100644 --- a/.github/workflows/test-chart.yml +++ b/.github/workflows/test-chart.yml @@ -9,9 +9,8 @@ on: - "README.md" - ".github/**" push: - branches-ignore: - - "dependabot/**" - - "gh-pages" + branches: + - main paths-ignore: - "README.md" - ".github/**"