Skip to content

Commit

Permalink
initial setup (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryT-CG authored Apr 9, 2024
1 parent fecaaf2 commit b77b737
Show file tree
Hide file tree
Showing 9 changed files with 98 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Build Release
on:
push:
tags:
- '**'
jobs:
release:
uses: onecx/ci-product/.github/workflows/build-release.yml@v1
secrets: inherit
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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

7 changes: 7 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions .github/workflows/helm-update-deps.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# onecx-welcome
OneCX Welcome Management Product
OneCX Welcome Product
3 changes: 3 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

How to:
https://onecx.github.io/docs/guides/current/documentation/setup/product.html
15 changes: 15 additions & 0 deletions helm/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
dependencies:
- name: helm-product
repository: oci://ghcr.io/onecx/charts
version: 0.1.0
- name: onecx-welcome-svc
repository: oci://ghcr.io/onecx/charts
version: 0.0.0-rc.11
- name: onecx-welcome-bff
repository: oci://ghcr.io/onecx/charts
version: 0.0.0-rc.8
- name: onecx-welcome-ui
repository: oci://ghcr.io/onecx/charts
version: 0.0.0-rc.2
digest: sha256:c30973a44b8f223992536b8d587e40a74c2ea3fb422b408791879caa31fa0e65
generated: "2024-04-09T06:45:46.3498718+02:00"
24 changes: 24 additions & 0 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiversion: v2
name: onecx-welcome
version: 0.0.0
appversion: 0.0.0
dependencies:
- name: helm-product
version: ^0
repository: oci://ghcr.io/onecx/charts
alias: product
- name: onecx-welcome-svc
version: "*-0"
repository: oci://ghcr.io/onecx/charts
condition: "deployment.svc"
alias: "svc"
- name: onecx-welcome-bff
version: "*-0"
repository: oci://ghcr.io/onecx/charts
condition: "deployment.bff"
alias: "bff"
- name: onecx-welcome-ui
version: "*-0"
repository: oci://ghcr.io/onecx/charts
condition: "deployment.ui"
alias: "ui"
13 changes: 13 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
deployment:
svc: true
bff: true
ui: true

product:
info:
data:
description: "OneCX Welcome"
imageUrl: ""
iconName: "home"
displayName: "OneCX Welcome"
basePath: "/welcome"

0 comments on commit b77b737

Please sign in to comment.