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

using test-channel #73

Merged
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
2 changes: 1 addition & 1 deletion prepare-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ prepare_cluster ---> cluster_kubeconfig
| helm-chart-name | | False | The name of the Helm chart to use |
| helm-run-preflights | true | False | Run preflight checks (true/false) |
| kots-config-values | | False | The KOTS config values to use |
| kots-version | v1.112.4 | False | The version of KOTS to use |
| kots-version | latest | False | The version of KOTS to use |
| kots-wait-duration | | False | Timeout for KOTS to be used while waiting for individual components to be ready. must be in Go duration format (eg: 10s, 2m) (default "2m") |
| customer-entitlements | | False | Entitlements to assign to the customer.<br>Example:<br><pre>customer-entitlements: \|<br> - name: "number-of-users"<br> value: "10"</pre><br> |
| helm-extra-repos | | True | Extra helm repos to add.<br>Example:<br><pre>helm-extra-repos: \|<br> - repo_name: "cnpg"<br> url: "https://cloudnative-pg.github.io/charts"<br> namespace: "cnpg-system"<br> chart_name: "cloudnative-pg"<br> - repo_name: "minio-operator"<br> url: "https://operator.min.io"<br> namespace: "minio-operator"<br> chart_name: "operator"</pre><br> |
Expand Down
4 changes: 2 additions & 2 deletions prepare-cluster/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ inputs:
kots-version:
description: 'The version of KOTS to use'
required: false
default: 'v1.112.4'
default: 'latest'
kots-wait-duration:
description: 'Timeout for KOTS to be used while waiting for individual components to be ready. must be in Go duration format (eg: 10s, 2m) (default "2m")'
required: false
Expand Down Expand Up @@ -215,7 +215,7 @@ runs:
run: node ${{ github.action_path }}/kots-install.js
env:
INPUT_KUBECONFIG: ${{ steps.create-cluster.outputs.cluster-kubeconfig }}
INPUT_APP-SLUG: ${{ inputs.app-slug }}/${{ steps.create-release.outputs.channel-slug }}
INPUT_APP-SLUG: ${{ inputs.app-slug }}/test-channel
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this intentional?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. A customer with license type test has no channel assigned. The promoted release is actually on the hidden test-channel.

INPUT_LICENSE-FILE: ${{ steps.create-customer.outputs.license-file }}
INPUT_APP-VERSION-LABEL: release__${{ steps.create-release.outputs.release-sequence }}
INPUT_CONFIG-VALUES: ${{ inputs.kots-config-values }}
Expand Down