Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

blink-so[bot]
Copy link
Contributor

@blink-so blink-so bot commented Aug 27, 2025

This PR updates all references to the jetbrains-gateway module to use the new coder/jetbrains module with a simplified configuration format.

Summary of Changes

Module Updates

  • Module name: Changed from jetbrains_gateway to jetbrains
  • Module source: Updated from registry.coder.com/modules/jetbrains-gateway/coder to registry.coder.com/modules/coder/jetbrains/coder
  • Version constraint: Set to "~> 1.0" for automatic minor updates while preventing breaking changes
  • Configuration: Simplified to only include essential parameters (count, source, version, agent_id, folder)

New Module Format

module "jetbrains" {
  count    = data.coder_workspace.me.start_count
  source   = "registry.coder.com/coder/jetbrains/coder"
  version  = "~> 1.0"
  agent_id = coder_agent.example.id
  folder   = "/home/coder"
}

Files Updated

Templates (11 files):

  • examples/templates/aws-linux/main.tf
  • examples/templates/azure-linux/main.tf
  • examples/templates/digitalocean-linux/main.tf
  • examples/templates/docker-envbuilder/main.tf (folder: /workspaces)
  • examples/templates/docker/main.tf
  • examples/templates/gcp-devcontainer/main.tf (folder: /workspaces)
  • examples/templates/gcp-linux/main.tf
  • examples/templates/gcp-vm-container/main.tf
  • examples/templates/kubernetes-devcontainer/main.tf
  • examples/templates/kubernetes-envbox/main.tf
  • dogfood/coder-envbuilder/main.tf (uses dev.registry.coder.com)

Documentation (3 files):

  • docs/about/contributing/modules.md
  • docs/admin/templates/extending-templates/modules.md

Folder Path Preservation

  • Most templates use /home/coder
  • Devcontainer templates (docker-envbuilder, gcp-devcontainer) use /workspaces
  • Original folder paths preserved from previous configuration

Testing

All changes maintain the same functionality while pointing to the new module location. The simplified configuration reduces complexity while providing the same JetBrains IDE integration capabilities.

blink-so bot and others added 4 commits August 27, 2025 18:44
Replace all references to registry.coder.com/modules/jetbrains-gateway/coder
with registry.coder.com/modules/coder/jetbrains/coder in:
- Example templates
- Dogfood templates
- Documentation

Co-authored-by: AtifUpdate <[email protected]>
Replace jetbrains_gateway module blocks with simplified jetbrains module:
- Change module name from 'jetbrains_gateway' to 'jetbrains'
- Use simplified configuration with only required parameters
- Set version to 1.0.3
- Remove complex IDE selection and configuration options

Co-authored-by: AtifUpdate <[email protected]>
- Restore original folder paths for devcontainer templates (/workspaces)
- Keep /home/coder for other templates
- Revert jetbrains-preinstall.md to original jetbrains-gateway format
  as the new jetbrains module doesn't support preinstall features

Co-authored-by: AtifUpdate <[email protected]>
Change version from 1.0.3 to ~
@matifali matifali self-assigned this Aug 27, 2025
@matifali matifali marked this pull request as ready for review August 27, 2025 18:58
@matifali matifali requested a review from phorcys420 August 27, 2025 19:02
Restore agent_name parameter that existed in original jetbrains_gateway modules:
- "dev" for aws-linux and dogfood templates
- "main" for all other templates

Co-authored-by: AtifUpdate <[email protected]>
@matifali matifali changed the title Update jetbrains-gateway module references to coder/jetbrains feat: replace the jetbrains-gateway module with the jetbrains toolbox Aug 27, 2025
@matifali matifali requested a review from mafredri August 27, 2025 19:41
@matifali matifali merged commit b61a5d7 into main Aug 28, 2025
37 checks passed
@matifali matifali deleted the blink/update-jetbrains-module branch August 28, 2025 15:49
@github-actions github-actions bot locked and limited conversation to collaborators Aug 28, 2025
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.

2 participants