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

feat: require environment variables #246

Merged
merged 2 commits into from
Jun 27, 2024
Merged

feat: require environment variables #246

merged 2 commits into from
Jun 27, 2024

Conversation

mtojek
Copy link
Member

@mtojek mtojek commented Jun 27, 2024

Fixes: #224
Related: coder/coder#13680

This PR enables constraint validation for required environment variables.

@mtojek mtojek self-assigned this Jun 27, 2024
@mtojek mtojek requested a review from johnstcn June 27, 2024 08:04
@mtojek mtojek marked this pull request as ready for review June 27, 2024 08:04
@mtojek mtojek requested a review from stirby June 27, 2024 08:04
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

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

Can you update the integration test as well?

@mtojek
Copy link
Member Author

mtojek commented Jun 27, 2024

Yes, but I don't have a clue: how?

The integration test operates on Coder CLI, like e2e test, and this is an internal change. We would have to trick Coder to misbehave?

@johnstcn
Copy link
Member

Yeah, the more I look at this change, the less I can see an integration test being able to assert anything useful.

@mtojek mtojek merged commit 9f66e78 into main Jun 27, 2024
12 checks passed
@mtojek mtojek deleted the 13680-build-id branch June 27, 2024 09:06
@github-actions github-actions bot locked and limited conversation to collaborators Jun 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve version compatibility
2 participants