Skip to content

chore: bump version to 1.0.2 and add script to update them automatically. #128

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 17 commits into from
Jan 30, 2024
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
24 changes: 12 additions & 12 deletions .sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ tags: [helper]

```tf
module "MODULE_NAME" {
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.0"
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.2"
}
```

Expand All @@ -28,9 +28,9 @@ Install the Dracula theme from [OpenVSX](https://open-vsx.org/):

```tf
module "MODULE_NAME" {
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.2"
agent_id = coder_agent.example.id
extensions = [
"dracula-theme.theme-dracula"
]
Expand All @@ -45,11 +45,11 @@ Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarte

```tf
module "MODULE_NAME" {
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.2"
agent_id = coder_agent.example.id
extensions = [ "dracula-theme.theme-dracula" ]
settings = {
settings = {
"workbench.colorTheme" = "Dracula"
}
}
Expand All @@ -61,9 +61,9 @@ Run code-server in the background, don't fetch it from GitHub:

```tf
module "MODULE_NAME" {
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.0"
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.2"
agent_id = coder_agent.example.id
offline = true
offline = true
}
```
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ e.g.
```tf
module "code-server" {
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
version = "1.0.2"
agent_id = coder_agent.main.id
}
```
Expand Down
8 changes: 5 additions & 3 deletions aws-region/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Customize the preselected parameter value:
```tf
module "aws-region" {
source = "registry.coder.com/modules/aws-region/coder"
version = "1.0.0"
version = "1.0.2"
default = "us-east-1"
}

Expand All @@ -37,11 +37,13 @@ Change the display name and icon for a region using the corresponding maps:
```tf
module "aws-region" {
source = "registry.coder.com/modules/aws-region/coder"
version = "1.0.0"
version = "1.0.2"
default = "ap-south-1"

custom_names = {
"ap-south-1" : "Awesome Mumbai!"
}

custom_icons = {
"ap-south-1" : "/emojis/1f33a.png"
}
Expand All @@ -61,7 +63,7 @@ Hide the Asia Pacific regions Seoul and Osaka:
```tf
module "aws-region" {
source = "registry.coder.com/modules/aws-region/coder"
version = "1.0.0"
version = "1.0.2"
exclude = ["ap-northeast-2", "ap-northeast-3"]
}

Expand Down
6 changes: 3 additions & 3 deletions azure-region/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This module adds a parameter with all Azure regions, allowing developers to sele
```tf
module "azure_region" {
source = "registry.coder.com/modules/azure-region/coder"
version = "1.0.0"
version = "1.0.2"
default = "eastus"
}

Expand All @@ -34,7 +34,7 @@ Change the display name and icon for a region using the corresponding maps:
```tf
module "azure-region" {
source = "registry.coder.com/modules/azure-region/coder"
version = "1.0.0"
version = "1.0.2"
custom_names = {
"australia" : "Go Australia!"
}
Expand All @@ -57,7 +57,7 @@ Hide all regions in Australia except australiacentral:
```tf
module "azure-region" {
source = "registry.coder.com/modules/azure-region/coder"
version = "1.0.0"
version = "1.0.2"
exclude = [
"australia",
"australiacentral2",
Expand Down
Binary file modified bun.lockb
Binary file not shown.
12 changes: 6 additions & 6 deletions code-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Automatically install [code-server](https://github.com/coder/code-server) in a w
```tf
module "code-server" {
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
version = "1.0.2"
agent_id = coder_agent.example.id
}
```
Expand All @@ -28,7 +28,7 @@ module "code-server" {
```tf
module "code-server" {
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
version = "1.0.2"
agent_id = coder_agent.example.id
install_version = "4.8.3"
}
Expand All @@ -41,7 +41,7 @@ Install the Dracula theme from [OpenVSX](https://open-vsx.org/):
```tf
module "code-server" {
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
version = "1.0.2"
agent_id = coder_agent.example.id
extensions = [
"dracula-theme.theme-dracula"
Expand All @@ -58,7 +58,7 @@ Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarte
```tf
module "settings" {
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
version = "1.0.2"
agent_id = coder_agent.example.id
extensions = ["dracula-theme.theme-dracula"]
settings = {
Expand All @@ -74,7 +74,7 @@ Just run code-server in the background, don't fetch it from GitHub:
```tf
module "settings" {
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
version = "1.0.2"
agent_id = coder_agent.example.id
extensions = ["dracula-theme.theme-dracula", "ms-azuretools.vscode-docker"]
}
Expand All @@ -87,7 +87,7 @@ Just run code-server in the background, don't fetch it from GitHub:
```tf
module "settings" {
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
version = "1.0.2"
agent_id = coder_agent.example.id
offline = true
}
Expand Down
2 changes: 1 addition & 1 deletion coder-login/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Automatically logs the user into Coder when creating their workspace.
```tf
module "coder-login" {
source = "registry.coder.com/modules/coder-login/coder"
version = "1.0.0"
version = "1.0.2"
agent_id = coder_agent.example.id
}
```
Expand Down
2 changes: 1 addition & 1 deletion dotfiles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Allow developers to optionally bring their own [dotfiles repository](https://dot
```tf
module "dotfiles" {
source = "registry.coder.com/modules/dotfiles/coder"
version = "1.0.0"
version = "1.0.2"
agent_id = coder_agent.example.id
}
```
8 changes: 5 additions & 3 deletions exoscale-instance-type/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Customize the preselected parameter value:
```tf
module "exoscale-instance-type" {
source = "registry.coder.com/modules/exoscale-instance-type/coder"
version = "1.0.0"
version = "1.0.2"
default = "standard.medium"
}

Expand Down Expand Up @@ -45,11 +45,13 @@ Change the display name a type using the corresponding maps:
```tf
module "exoscale-instance-type" {
source = "registry.coder.com/modules/exoscale-instance-type/coder"
version = "1.0.0"
version = "1.0.2"
default = "standard.medium"

custom_names = {
"standard.medium" : "Mittlere Instanz" # German translation
}

custom_descriptions = {
"standard.medium" : "4 GB Arbeitsspeicher, 2 Kerne, 10 - 400 GB Festplatte" # German translation
}
Expand Down Expand Up @@ -77,7 +79,7 @@ Show only gpu1 types
```tf
module "exoscale-instance-type" {
source = "registry.coder.com/modules/exoscale-instance-type/coder"
version = "1.0.0"
version = "1.0.2"
default = "gpu.large"
type_category = ["gpu"]
exclude = [
Expand Down
8 changes: 5 additions & 3 deletions exoscale-zone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Customize the preselected parameter value:
```tf
module "exoscale-zone" {
source = "registry.coder.com/modules/exoscale-zone/coder"
version = "1.0.0"
version = "1.0.2"
default = "ch-dk-2"
}

Expand All @@ -44,11 +44,13 @@ Change the display name and icon for a zone using the corresponding maps:
```tf
module "exoscale-zone" {
source = "registry.coder.com/modules/exoscale-zone/coder"
version = "1.0.0"
version = "1.0.2"
default = "at-vie-1"

custom_names = {
"at-vie-1" : "Home Vienna"
}

custom_icons = {
"at-vie-1" : "/emojis/1f3e0.png"
}
Expand All @@ -74,7 +76,7 @@ Hide the Switzerland zones Geneva and Zurich
```tf
module "exoscale-zone" {
source = "registry.coder.com/modules/exoscale-zone/coder"
version = "1.0.0"
version = "1.0.2"
exclude = ["ch-gva-2", "ch-dk-2"]
}

Expand Down
6 changes: 3 additions & 3 deletions filebrowser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ A file browser for your workspace.
```tf
module "filebrowser" {
source = "registry.coder.com/modules/filebrowser/coder"
version = "1.0.0"
version = "1.0.2"
agent_id = coder_agent.example.id
}
```
Expand All @@ -28,7 +28,7 @@ module "filebrowser" {
```tf
module "filebrowser" {
source = "registry.coder.com/modules/filebrowser/coder"
version = "1.0.0"
version = "1.0.2"
agent_id = coder_agent.example.id
folder = "/home/coder/project"
}
Expand All @@ -39,7 +39,7 @@ module "filebrowser" {
```tf
module "filebrowser" {
source = "registry.coder.com/modules/filebrowser/coder"
version = "1.0.0"
version = "1.0.2"
agent_id = coder_agent.example.id
database_path = ".config/filebrowser.db"
}
Expand Down
8 changes: 5 additions & 3 deletions fly-region/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ We can use the simplest format here, only adding a default selection as the `atl
```tf
module "fly-region" {
source = "registry.coder.com/modules/fly-region/coder"
version = "1.0.0"
version = "1.0.2"
default = "atl"
}
```
Expand All @@ -32,7 +32,7 @@ The regions argument can be used to display only the desired regions in the Code
```tf
module "fly-region" {
source = "registry.coder.com/modules/fly-region/coder"
version = "1.0.0"
version = "1.0.2"
default = "ams"
regions = ["ams", "arn", "atl"]
}
Expand All @@ -47,11 +47,13 @@ Set custom icons and names with their respective maps.
```tf
module "fly-region" {
source = "registry.coder.com/modules/fly-region/coder"
version = "1.0.0"
version = "1.0.2"
default = "ams"

custom_icons = {
"ams" = "/emojis/1f90e.png"
}

custom_names = {
"ams" = "We love the Netherlands!"
}
Expand Down
10 changes: 5 additions & 5 deletions gcp-region/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This module adds Google Cloud Platform regions to your Coder template.
```tf
module "gcp_region" {
source = "registry.coder.com/modules/gcp-region/coder"
version = "1.0.0"
version = "1.0.2"
regions = ["us", "europe"]
}

Expand All @@ -34,7 +34,7 @@ Note: setting `gpu_only = true` and using a default region without GPU support,
```tf
module "gcp_region" {
source = "registry.coder.com/modules/gcp-region/coder"
version = "1.0.0"
version = "1.0.2"
default = ["us-west1-a"]
regions = ["us-west1"]
gpu_only = false
Expand All @@ -50,7 +50,7 @@ resource "google_compute_instance" "example" {
```tf
module "gcp_region" {
source = "registry.coder.com/modules/gcp-region/coder"
version = "1.0.0"
version = "1.0.2"
regions = ["europe-west"]
single_zone_per_region = false
}
Expand All @@ -60,12 +60,12 @@ resource "google_compute_instance" "example" {
}
```

### Add a single zone from each region in US and Europe that laos has GPUs
### Add a single zone from each region in US and Europe that has GPUs

```tf
module "gcp_region" {
source = "registry.coder.com/modules/gcp-region/coder"
version = "1.0.0"
version = "1.0.2"
regions = ["us", "europe"]
gpu_only = true
single_zone_per_region = true
Expand Down
Loading