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(dotfiles): Add an optional coder_app to update dotfiles on-demand #280

Merged
merged 7 commits into from
Sep 20, 2024

Conversation

matifali
Copy link
Member

@matifali matifali commented Aug 13, 2024

Adds an optional coder_app, that lets a user update dotfiles without a workspace restart.

To test use

module "dotfiles" {
  source        = "git::https://github.com/coder/modules.git//dotfiles?ref=matifali/update-dotfiles"
  agent_id      = coder_agent.dev.id
  manual_update = true
}

This adds a button to update dotfiles on demand.
image

@matifali matifali marked this pull request as ready for review August 13, 2024 20:29
@matifali matifali changed the title feat(dotfiles): Add an optional coder app to update dotfiles on-demand feat(dotfiles): Add an optional coder_app to update dotfiles on-demand Aug 13, 2024
@matifali matifali requested a review from kylecarbs August 13, 2024 20:32
Copy link
Contributor

@cirego cirego left a comment

Choose a reason for hiding this comment

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

Thank you!!!

What do you think about calling it refresh or resync instead of update?

dotfiles/main.tf Outdated Show resolved Hide resolved
@matifali matifali requested a review from bcpeinhardt August 14, 2024 07:00
@matifali matifali requested review from phorcys420 and stirby and removed request for kylecarbs September 16, 2024 18:07
dotfiles/main.tf Outdated Show resolved Hide resolved
Co-authored-by: Michael Smith <[email protected]>
@matifali matifali merged commit b51932d into main Sep 20, 2024
2 checks passed
@matifali matifali deleted the matifali/update-dotfiles branch September 20, 2024 12:00
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.

4 participants