Skip to content

feat: Allow hide resources #3977

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

Merged
merged 14 commits into from
Sep 9, 2022
Merged

feat: Allow hide resources #3977

merged 14 commits into from
Sep 9, 2022

Conversation

BrunoQuaresma
Copy link
Collaborator

Related to #3450

Depends on: coder/terraform-provider-coder#47

@BrunoQuaresma BrunoQuaresma requested a review from a team September 9, 2022 14:36
@BrunoQuaresma BrunoQuaresma self-assigned this Sep 9, 2022
Copy link
Member

@deansheather deansheather left a comment

Choose a reason for hiding this comment

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

You should also integrate the frontend changes in this PR too

@BrunoQuaresma
Copy link
Collaborator Author

You should also integrate the frontend changes in this PR too

Yes, I will! I just want to check if the BE side of things is good.

@BrunoQuaresma BrunoQuaresma marked this pull request as ready for review September 9, 2022 16:16
@BrunoQuaresma BrunoQuaresma requested a review from a team as a code owner September 9, 2022 16:16
@BrunoQuaresma BrunoQuaresma requested review from code-asher and removed request for a team September 9, 2022 16:16
Copy link
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

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

Frontend looks great! I ran into this error when trying to deploy:

migrate up: up: migration failed: column "hide" of relation "workspace_resources" contains null values in line 0: ALTER TABLE workspace_resources
    ADD COLUMN hide boolean NOT NULL;                                                                                                            
 (details: pq: column "hide" of relation "workspace_resources" contains null values)          

@code-asher
Copy link
Member

I tried testing this out but it tells me that hide is not a valid option for my template. I see the provider is in a separate repo; does it need to be updated in coder/coder or do I need to do something to get the updated provider?

@code-asher
Copy link
Member

Nevermind ran update_template_versions.sh and all is well.

@BrunoQuaresma BrunoQuaresma merged commit 8a94b72 into main Sep 9, 2022
@BrunoQuaresma BrunoQuaresma deleted the bq/3450 branch September 9, 2022 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants