diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml new file mode 100644 index 0000000..deb5b26 --- /dev/null +++ b/.github/workflows/build-release.yml @@ -0,0 +1,9 @@ +name: Build Release +on: + push: + tags: + - '**' +jobs: + 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/create-release.yml b/.github/workflows/create-release.yml new file mode 100644 index 0000000..c97eb42 --- /dev/null +++ b/.github/workflows/create-release.yml @@ -0,0 +1,7 @@ +name: Create Release Version +on: + workflow_dispatch: +jobs: + release: + uses: onecx/ci-common/.github/workflows/create-release.yml@v1 + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/helm-update-deps.yml b/.github/workflows/helm-update-deps.yml new file mode 100644 index 0000000..2a9e630 --- /dev/null +++ b/.github/workflows/helm-update-deps.yml @@ -0,0 +1,11 @@ +name: Update helm chart dependencies + +on: + workflow_dispatch: + repository_dispatch: + types: [helm-update-deps] + +jobs: + update: + uses: onecx/ci-product/.github/workflows/helm-update-deps.yml@v1 + secrets: inherit diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..c6ed57e --- /dev/null +++ b/docs/README.md @@ -0,0 +1,3 @@ + +How to: +https://onecx.github.io/docs/guides/current/documentation/setup/product.html \ No newline at end of file diff --git a/helm/Chart.yaml b/helm/Chart.yaml new file mode 100644 index 0000000..b547f7e --- /dev/null +++ b/helm/Chart.yaml @@ -0,0 +1,19 @@ +apiversion: v2 +name: onecx-shell +version: 0.0.0 +appversion: 0.0.0 +dependencies: +- name: helm-product + version: ^0 + repository: oci://ghcr.io/onecx/charts + alias: product +- name: onecx-shell-bff + version: "*-0" + repository: oci://ghcr.io/onecx/charts + condition: "deployment.bff" + alias: "bff" +- name: onecx-shell-ui + version: "*-0" + repository: oci://ghcr.io/onecx/charts + condition: "deployment.ui" + alias: "ui" diff --git a/helm/values.yaml b/helm/values.yaml new file mode 100644 index 0000000..01785df --- /dev/null +++ b/helm/values.yaml @@ -0,0 +1,12 @@ +deployment: + bff: true + ui: true + +product: + info: + data: + description: "OneCX Shell" + imageUrl: "" + iconName: "palette" + displayName: "OneCX Shell" + basePath: "/newShell" \ No newline at end of file