diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 625f8ca..deb5b26 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -4,10 +4,6 @@ on: tags: - '**' jobs: - helm: - uses: onecx/ci-common/.github/workflows/helm-release.yml@v1 - secrets: inherit - changelog: - uses: onecx/ci-common/.github/workflows/generate-changelog.yml@v1 - needs: helm + release: + uses: onecx/ci-product/.github/workflows/build-release.yml@v1 secrets: inherit \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..0f0df25 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,15 @@ +name: Build helm chart + +on: + push: + branches: + - 'main' + - 'fix/[0-9]+.[0-9]+.x' + paths: + - 'helm/**' + +jobs: + helm: + uses: onecx/ci-product/.github/workflows/build.yml@v1 + secrets: inherit + diff --git a/.github/workflows/product-helm-update.yml b/.github/workflows/helm-update-deps.yml similarity index 64% rename from .github/workflows/product-helm-update.yml rename to .github/workflows/helm-update-deps.yml index 0459ebe..2a9e630 100644 --- a/.github/workflows/product-helm-update.yml +++ b/.github/workflows/helm-update-deps.yml @@ -6,6 +6,6 @@ on: types: [helm-update-deps] jobs: - release: - uses: onecx/ci-common/.github/workflows/helm-update-deps.yml@v1 + update: + uses: onecx/ci-product/.github/workflows/helm-update-deps.yml@v1 secrets: inherit diff --git a/.github/workflows/product-helm-build.yml b/.github/workflows/product-helm-build.yml deleted file mode 100644 index 4a478f4..0000000 --- a/.github/workflows/product-helm-build.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Build helm chart - -on: - push: - branches: - - 'main' - - 'fix/[0-9]+.[0-9]+.x' - paths: - - 'helm/**' - -jobs: - release: - uses: onecx/ci-common/.github/workflows/helm-build.yml@v1 - secrets: inherit - with: - push: true - artifact: '' - helmdir: 'helm' - helmAbsoluteDir: true diff --git a/helm/Chart.lock b/helm/Chart.lock index 3a3fddd..8914757 100644 --- a/helm/Chart.lock +++ b/helm/Chart.lock @@ -1,6 +1,9 @@ dependencies: +- name: helm-product + repository: oci://ghcr.io/onecx/charts + version: 0.0.0 - name: onecx-announcement-svc repository: oci://ghcr.io/onecx/charts - version: 0.0.0-rc.3 -digest: sha256:d0594bf62c2df28d60d2c3b42247052deeeceb8e7de5f6becb584d4b8a9ebaf8 -generated: "2023-12-13T19:16:56.560103043+01:00" + version: 0.0.0-rc.4 +digest: sha256:81fe060e8647dc6f9d4de1f43cd175bb1bfc90c6127b02acd6a773b060ccd909 +generated: "2023-12-21T16:58:47.445515087+01:00" diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 4daa46c..34048d9 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -3,6 +3,10 @@ name: onecx-announcement version: 0.0.0 appversion: 0.0.0 dependencies: +- name: helm-product + version: ^0 + repository: oci://ghcr.io/onecx/charts + alias: product - name: onecx-announcement-svc version: "*-0" repository: oci://ghcr.io/onecx/charts diff --git a/helm/values.yaml b/helm/values.yaml index 2859e77..d0c1b62 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -1,2 +1,11 @@ deployment: - svc: true \ No newline at end of file + svc: true + +product: + info: + data: + description: "Announcement" + imageUrl: "" + iconName: "bullhorn" + dispalyName: "Onecx announcement" + basePath: "/announcement"