From dfa7418d0e6c71530bf0bfe941e4831dba22bcdf Mon Sep 17 00:00:00 2001 From: Richard87 Date: Fri, 11 Oct 2024 11:06:43 +0200 Subject: [PATCH] fix: test workflow for docker/helm/go --- .github/workflows/build-container.yaml | 3 +-- .../.helmignore | 0 .../Chart.yaml | 0 .../templates/_helpers.tpl | 0 .../templates/deployment.yaml | 0 .../templates/service.yaml | 0 .../values.yaml | 0 release-please-config.json | 6 +++++- 8 files changed, 6 insertions(+), 3 deletions(-) rename charts/{radix-oauth-guard => radix-prometheus-proxy}/.helmignore (100%) rename charts/{radix-oauth-guard => radix-prometheus-proxy}/Chart.yaml (100%) rename charts/{radix-oauth-guard => radix-prometheus-proxy}/templates/_helpers.tpl (100%) rename charts/{radix-oauth-guard => radix-prometheus-proxy}/templates/deployment.yaml (100%) rename charts/{radix-oauth-guard => radix-prometheus-proxy}/templates/service.yaml (100%) rename charts/{radix-oauth-guard => radix-prometheus-proxy}/values.yaml (100%) diff --git a/.github/workflows/build-container.yaml b/.github/workflows/build-container.yaml index 44d8c7e..c40129d 100644 --- a/.github/workflows/build-container.yaml +++ b/.github/workflows/build-container.yaml @@ -1,8 +1,7 @@ name: Build Docker Image on: - release: - types: [created] + tag: push: branches: - main diff --git a/charts/radix-oauth-guard/.helmignore b/charts/radix-prometheus-proxy/.helmignore similarity index 100% rename from charts/radix-oauth-guard/.helmignore rename to charts/radix-prometheus-proxy/.helmignore diff --git a/charts/radix-oauth-guard/Chart.yaml b/charts/radix-prometheus-proxy/Chart.yaml similarity index 100% rename from charts/radix-oauth-guard/Chart.yaml rename to charts/radix-prometheus-proxy/Chart.yaml diff --git a/charts/radix-oauth-guard/templates/_helpers.tpl b/charts/radix-prometheus-proxy/templates/_helpers.tpl similarity index 100% rename from charts/radix-oauth-guard/templates/_helpers.tpl rename to charts/radix-prometheus-proxy/templates/_helpers.tpl diff --git a/charts/radix-oauth-guard/templates/deployment.yaml b/charts/radix-prometheus-proxy/templates/deployment.yaml similarity index 100% rename from charts/radix-oauth-guard/templates/deployment.yaml rename to charts/radix-prometheus-proxy/templates/deployment.yaml diff --git a/charts/radix-oauth-guard/templates/service.yaml b/charts/radix-prometheus-proxy/templates/service.yaml similarity index 100% rename from charts/radix-oauth-guard/templates/service.yaml rename to charts/radix-prometheus-proxy/templates/service.yaml diff --git a/charts/radix-oauth-guard/values.yaml b/charts/radix-prometheus-proxy/values.yaml similarity index 100% rename from charts/radix-oauth-guard/values.yaml rename to charts/radix-prometheus-proxy/values.yaml diff --git a/release-please-config.json b/release-please-config.json index 47db5df..856cf1e 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,5 +1,9 @@ { "packages": { + "charts/radix-prometheus-proxy": { + "release-type": "helm", + "package-name": "radix-prometheus-proxy-chart" + }, ".": { "changelog-path": "CHANGELOG.md", "bump-minor-pre-major": false, @@ -7,7 +11,7 @@ "draft": false, "prerelease": false, "initial-version": "0.1.0", - "release-type": "go" + "release-type": "docker" } }, "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"