Skip to content

Commit

Permalink
Merge pull request #10 from makeplane/develop
Browse files Browse the repository at this point in the history
fix: questions.yml file for ce and ee
  • Loading branch information
mguptahub authored Jun 17, 2024
2 parents 5318775 + 483cd5a commit 07bb742
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 38 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/chart-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
mkdir -p helm-preview
echo "HELM_SUB_FOLDER=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
echo "CHART_PREFIX=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
- name: Set up Helm
uses: azure/setup-helm@v4

Expand Down Expand Up @@ -93,7 +96,6 @@ jobs:
cp charts/${{env.CHART_REPO}}/README.md ${{ env.EXPORT_DIR }}/${{env.CHART_REPO}}/${{env.CHART_REPO}}.md
helm repo index ${{ env.EXPORT_DIR }}/${{env.CHART_REPO}}
- name: Publish
if: ${{ env.BUILD_PLANE_CE == 'true' || env.BUILD_PLANE_EE == 'true' }}
working-directory: code
Expand All @@ -108,12 +110,12 @@ jobs:
if [ "${{ env.BUILD_PLANE_CE }}" == "true" ]; then
HTML_CONTENT="$HTML_CONTENT
<li><a href='plane-ce/index.yaml'>Plane-CE</a></li>"
<li><a href='plane-ce/'>Plane-CE</a></li>"
fi
if [ "${{ env.BUILD_PLANE_EE }}" == "true" ]; then
HTML_CONTENT="$HTML_CONTENT
<li><a href='plane-enterprise/index.yaml'>Plane-Enterprise</a></li>"
<li><a href='plane-enterprise/'>Plane-Enterprise</a></li>"
fi
HTML_CONTENT="$HTML_CONTENT
Expand Down
30 changes: 15 additions & 15 deletions charts/plane-ce/questions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,20 @@ questions:
label: "CORS Allowed Origins"
type: string
default: ""
- variable: env.sentry_dsn
label: "Sentry DSN"
type: string
default: ""
- variable: env.sentry_environment
label: "Sentry Environment"
type: string
default: "Development"
- variable: env.secret_key
label: "Random Secret Key"
type: string
required: true
default: "60gp0byfz2dvffa45cxl20p1scy9xbpf6d8c5y0geejgkyp1b5"
subquestions:

- variable: worker.replicas
label: "Default Replica Count"
Expand Down Expand Up @@ -337,23 +351,9 @@ questions:
type: password
default: ""
description: "Not required for 'http' issuer"
show_if: "ssl.issuer=cloudflare || ssl.issuer=digitalocean"
- variable: ssl.generateCerts
label: "Enable to generate certificates"
type: boolean
default: false

- variable: env.sentry_dsn
label: "Sentry DSN"
type: string
default: ""
group: "Misc."
subquestions:
- variable: env.sentry_environment
label: "Sentry Environment"
type: string
default: "Development"
- variable: env.secret_key
label: "Random Secret Key"
type: string
required: true
default: "60gp0byfz2dvffa45cxl20p1scy9xbpf6d8c5y0geejgkyp1b5"
39 changes: 19 additions & 20 deletions charts/plane-enterprise/questions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ questions:
- variable: dockerRegistry.password
label: "Password/Token"
type: password
- variable: env.storageClass
label: "Storage Class for Persistent Volume Claims"
type: string
default: "longhorn"

- variable: planeVersion
label: Plane Version (Docker Image Tag)
Expand Down Expand Up @@ -124,6 +128,19 @@ questions:
label: "CORS Allowed Origins"
type: string
default: ""
- variable: env.sentry_dsn
label: "Sentry DSN"
type: string
default: ""
- variable: env.sentry_environment
label: "Sentry Environment"
type: string
default: "Development"
- variable: env.secret_key
label: "Random Secret Key"
type: string
required: true
default: "60gp0byfz2dvffa45cxl20p1scy9xbpf6d8c5y0geejgkyp1b5"

- variable: services.worker.replicas
label: "Default Replica Count"
Expand Down Expand Up @@ -333,27 +350,9 @@ questions:
type: password
default: ""
description: "Not required for 'http' issuer"
show_if: "ssl.issuer=cloudflare || ssl.issuer=digitalocean"
- variable: ssl.generateCerts
label: "Enable to generate certificates"
type: boolean
default: false

- variable: env.sentry_dsn
label: "Sentry DSN"
type: string
default: ""
group: "Misc."
subquestions:
- variable: env.sentry_environment
label: "Sentry Environment"
type: string
default: "Development"
- variable: env.secret_key
label: "Random Secret Key"
type: string
required: true
default: "60gp0byfz2dvffa45cxl20p1scy9xbpf6d8c5y0geejgkyp1b5"
- variable: env.storageClass
label: "Storage Class"
type: string
default: "longhorn"

0 comments on commit 07bb742

Please sign in to comment.