Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: questions.yml file for ce and ee #9

Merged
merged 9 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 "[email protected]"
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"