-
Notifications
You must be signed in to change notification settings - Fork 887
feat: expose premium trial form via CLI #15054
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
@@ -410,7 +410,7 @@ jobs: | |||
--first-user-username coder \ | |||
--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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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