Enable Devcontainer-cli module to block user login until script finishes running#759
Enable Devcontainer-cli module to block user login until script finishes running#759justmanuel wants to merge 16 commits intocoder:mainfrom
Conversation
allow devcontainer cli module to specify if it should block user login or not
Update devcontainer cli module
DevelopmentCats
left a comment
There was a problem hiding this comment.
Overall this looks good.
I don't think you would need to declare start_blocks_login as false in every test considering it defaults to false.
You would also want to update the version for this following the versioning guidelines in CONTRIBUTING.md.
Co-authored-by: DevCats <chris@dualriver.com>
Update proposed version
add variable proposed
Remove variable as not needed since terraform has a default value for it and fails test when specified.
fix formatting of main.tf
|
@justmanuel LGTM I will test it and make sure this doesn't cause any wonky behavior. Also you might need to run Thanks for the contribution! |
update format to match bun fmt
Yeah sorry thought I had ran that. |
DanielleMaywood
left a comment
There was a problem hiding this comment.
@DevelopmentCats I'm happy with the changes from my side, will leave the final approval up to you
|
I have tested and everything looks good to me too. I will just need you to update the version in the README for this module following the CONTRIBUTING.md versioning guidelines. |
Hi @DevelopmentCats , I;m a bit confused I thought I had updated it according to the CONTRIBUTING.md, if I am adding a variable should the new version not be 1.1.0 ? or are we talking about it needing to be updated in a different README? |
Nah you are right I was just missing the last part of the diff.. My bad! We are good to go here then I will run the CI once more, and release. Thanks for the work!! ❤️ |
Description
Allow for devcontainer-cli module to prevent users from logging in until its finished running.
Type of Change
Module Information
Path:
registry/coder/modules/devcontainers-cliNew version:
1.1.0Breaking change: [ ] Yes [x ] No
Testing & Validation
bun test)bun fmt)Related Issues
None