- Notifications
You must be signed in to change notification settings - Fork928
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
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 viaexpect
or similar.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
@johnstcn should we remove Line 453 in10ccce1
|
Let's leave that as-is. |
github-actionsbot commentedOct 16, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
All contributors have signed the CLA ✍️ ✅ |
@johnstcn coder/.github/workflows/pr-deploy.yaml Line 413 infac77f9
|
@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.
Uh oh!
There was an error while loading.Please reload this page.
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 indevelop.sh
we set--first-user-trial=true
. This breaks thedevelop.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 thedevelop.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 |
johnstcn commentedOct 21, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@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. |
7982ad7
intocoder:mainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This PRcloses#14856