feat: expose premium trial form via CLI#15054
Conversation
johnstcn
left a comment
There was a problem hiding this comment.
Thanks for your contribution! From my perspective, the trial information should always come directly from user input. I don't feel comfortable with allowing trials to be specified directly via CLI environment variables, although I admit there's very little stopping an enterprising user from feeding information in via expect or similar.
@johnstcn should we remove Line 453 in 10ccce1 |
Let's leave that as-is. |
|
All contributors have signed the CLA ✍️ ✅ |
@johnstcn coder/.github/workflows/pr-deploy.yaml Line 413 in fac77f9 |
|
@joobisb yes set that as false. |
i've updated the PR |
| --first-user-email pr${{ env.PR_NUMBER }}@coder.com \ | ||
| --first-user-password $password \ | ||
| --first-user-trial \ | ||
| --first-user-trial=false \ |
There was a problem hiding this comment.
We are currently not making any use of a premium license in PR deployments. If needed, we can always upload one manually.
|
Can you rebase on |
johnstcn
left a comment
There was a problem hiding this comment.
One thing I've noticed is that in develop.sh we set --first-user-trial=true. This breaks the develop.sh workflow slightly as we then prompt for trial info. How about we instead just set --first-user-trial=false? In a separate PR we can modify the develop.sh script to upload a development license from a well-known location.
sure, I thought since it's used in the dev environment, we can always enter values into the prompt. But you are right, to make it more seamless I think we could set it to |
updated the PR |
|
@matifali can we merge this ? |
|
@sreya, we are blocked here as the secret is unavailable for forks. This is a required test so can not merge without it being passed. |
This PR closes #14856