Skip to content

chore: update module sources for community modules #93

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 2 commits into from
May 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion registry/nataindata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ display_name: Nataindata
bio: Data engineer
github: nataindata
website: https://www.nataindata.com
status: partner
status: community
Copy link
Member

Choose a reason for hiding this comment

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

Oh shoot, forgot about that. Thanks for catching that, Atif!

Copy link
Collaborator

Choose a reason for hiding this comment

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

@Parkreiner we just need to push tags for the community modules as they get properly new namespaces (whereas "coder" and "modules" are just being treated as the same namespace).
I agree from a programming perspective I finding bumping the version without changing the source of the module annoying but I suppose it's better to do this now as we're "launching" partner and community namespacing rather than have a drip of "x modules is moving to a new namespace" over the course of six months.
We used to bump all the versions together so folks are kind of used to jumping several patch versions anyway.

---
8 changes: 3 additions & 5 deletions registry/nataindata/modules/apache-airflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ A module that adds Apache Airflow in your Coder template.

```tf
module "airflow" {
count = data.coder_workspace.me.start_count
# Switch to "registry.coder.com/nataindata/apache-airflow/coder" on the next
# release
source = "registry.coder.com/coder/apache-airflow/coder"
version = "1.0.13"
count = data.coder_workspace.me.start_count
source = "registry.coder.com/nataindata/apache-airflow/coder"
version = "1.0.14"
agent_id = coder_agent.main.id
}
```
Expand Down
17 changes: 8 additions & 9 deletions registry/thezoker/modules/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ tags: [helper]

# nodejs

Automatically installs [Node.js](https://github.com/nodejs/node) via [nvm](https://github.com/nvm-sh/nvm). It can also install multiple versions of node and set a default version. If no options are specified, the latest version is installed.
Automatically installs [Node.js](https://github.com/nodejs/node) via [`nvm`](https://github.com/nvm-sh/nvm). It can also install multiple versions of node and set a default version. If no options are specified, the latest version is installed.

```tf
module "nodejs" {
count = data.coder_workspace.me.start_count
# Switch to "registry.coder.com/thezoker/nodejs/coder" for the next release
source = "registry.coder.com/coder/nodejs/coder"
version = "1.0.10"
count = data.coder_workspace.me.start_count
source = "registry.coder.com/thezoker/nodejs/coder"
version = "1.0.11"
agent_id = coder_agent.example.id
}
```
Expand All @@ -28,8 +27,8 @@ This installs multiple versions of Node.js:
```tf
module "nodejs" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/coder/nodejs/coder"
version = "1.0.10"
source = "registry.coder.com/thezoker/nodejs/coder"
version = "1.0.11"
agent_id = coder_agent.example.id
node_versions = [
"18",
Expand All @@ -47,8 +46,8 @@ A example with all available options:
```tf
module "nodejs" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/coder/nodejs/coder"
version = "1.0.10"
source = "registry.coder.com/thezoker/nodejs/coder"
version = "1.0.11"
agent_id = coder_agent.example.id
nvm_version = "v0.39.7"
nvm_install_prefix = "/opt/nvm"
Expand Down
16 changes: 7 additions & 9 deletions registry/whizus/modules/exoscale-instance-type/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ Customize the preselected parameter value:

```tf
module "exoscale-instance-type" {
count = data.coder_workspace.me.start_count
# Switch to "registry.coder.com/whizus/exoscale-instance-type/coder" for the
# next release
source = "registry.coder.com/coder/exoscale-instance-type/coder"
version = "1.0.12"
count = data.coder_workspace.me.start_count
source = "registry.coder.com/whizus/exoscale-instance-type/coder"
version = "1.0.13"
default = "standard.medium"
}

Expand Down Expand Up @@ -48,8 +46,8 @@ Change the display name a type using the corresponding maps:
```tf
module "exoscale-instance-type" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/coder/exoscale-instance-type/coder"
version = "1.0.12"
source = "registry.coder.com/whizus/exoscale-instance-type/coder"
version = "1.0.13"
default = "standard.medium"

custom_names = {
Expand Down Expand Up @@ -83,8 +81,8 @@ Show only gpu1 types
```tf
module "exoscale-instance-type" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/coder/exoscale-instance-type/coder"
version = "1.0.12"
source = "registry.coder.com/whizus/exoscale-instance-type/coder"
version = "1.0.13"
default = "gpu.large"
type_category = ["gpu"]
exclude = [
Expand Down
17 changes: 8 additions & 9 deletions registry/whizus/modules/exoscale-zone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ Customize the preselected parameter value:

```tf
module "exoscale-zone" {
count = data.coder_workspace.me.start_count
# Switch to "registry.coder.com/whizus/exoscale-zone/coder" for the next
# release
source = "registry.coder.com/coder/exoscale-zone/coder"
version = "1.0.12"
count = data.coder_workspace.me.start_count
source = "registry.coder.com/whizus/exoscale-zone/coder"
version = "1.0.13"
default = "ch-dk-2"
}

Expand All @@ -47,8 +45,8 @@ Change the display name and icon for a zone using the corresponding maps:
```tf
module "exoscale-zone" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/coder/exoscale-zone/coder"
version = "1.0.12"
source = "registry.coder.com/whizus/exoscale-zone/coder"
version = "1.0.13"
default = "at-vie-1"

custom_names = {
Expand Down Expand Up @@ -79,8 +77,9 @@ Hide the Switzerland zones Geneva and Zurich

```tf
module "exoscale-zone" {
source = "registry.coder.com/coder/exoscale-zone/coder"
version = "1.0.12"
count = data.coder_workspace.me.start_count
source = "registry.coder.com/whizus/exoscale-zone/coder"
version = "1.0.13"
exclude = ["ch-gva-2", "ch-dk-2"]
}

Expand Down