Skip to content

Commit

Permalink
feat: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
milan.horvath committed Apr 3, 2024
1 parent bada114 commit c5bf41d
Show file tree
Hide file tree
Showing 7 changed files with 76 additions and 0 deletions.
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
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
19 changes: 19 additions & 0 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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"
12 changes: 12 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
deployment:
bff: true
ui: true

product:
info:
data:
description: "OneCX Shell"
imageUrl: ""
iconName: "palette"
displayName: "OneCX Shell"
basePath: "/newShell"

0 comments on commit c5bf41d

Please sign in to comment.