diff --git a/.sample/README.md b/.sample/README.md index 08408a1..4a10787 100644 --- a/.sample/README.md +++ b/.sample/README.md @@ -13,8 +13,8 @@ tags: [helper] ```hcl module "MODULE_NAME" { - source = "registry.coder.com/modules/MODULE_NAME/coder" - version = "1.0.1" + source = "registry.coder.com/modules/MODULE_NAME/coder" + version = "1.0.2" } ``` @@ -28,9 +28,9 @@ Install the Dracula theme from [OpenVSX](https://open-vsx.org/): ```hcl module "MODULE_NAME" { - source = "registry.coder.com/modules/MODULE_NAME/coder" - version = "1.0.1" - 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" ] @@ -45,11 +45,11 @@ Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarte ```hcl module "MODULE_NAME" { - source = "registry.coder.com/modules/MODULE_NAME/coder" - version = "1.0.1" - 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" } } @@ -61,9 +61,9 @@ Run code-server in the background, don't fetch it from GitHub: ```hcl module "MODULE_NAME" { - source = "registry.coder.com/modules/MODULE_NAME/coder" - version = "1.0.1" + source = "registry.coder.com/modules/MODULE_NAME/coder" + version = "1.0.2" agent_id = coder_agent.example.id - offline = true + offline = true } ``` diff --git a/README.md b/README.md index 6f5158f..0ee4c8d 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ e.g. ```hcl module "code-server" { - source = "registry.coder.com/modules/code-server/coder" - version = "1.0.1" + source = "registry.coder.com/modules/code-server/coder" + version = "1.0.2" agent_id = coder_agent.main.id } ``` diff --git a/aws-region/README.md b/aws-region/README.md index 4c701d7..6fea02a 100644 --- a/aws-region/README.md +++ b/aws-region/README.md @@ -16,8 +16,8 @@ Customize the preselected parameter value: ```hcl module "aws-region" { - source = "registry.coder.com/modules/aws-region/coder" - version = "1.0.1" + source = "registry.coder.com/modules/aws-region/coder" + version = "1.0.2" default = "us-east-1" } @@ -36,12 +36,14 @@ Change the display name and icon for a region using the corresponding maps: ```hcl module "aws-region" { - source = "registry.coder.com/modules/aws-region/coder" - version = "1.0.1" + source = "registry.coder.com/modules/aws-region/coder" + version = "1.0.2" default = "ap-south-1" + custom_names = { "ap-south-1": "Awesome Mumbai!" } + custom_icons = { "ap-south-1": "/emojis/1f33a.png" } @@ -60,8 +62,8 @@ Hide the Asia Pacific regions Seoul and Osaka: ```hcl module "aws-region" { - source = "registry.coder.com/modules/aws-region/coder" - version = "1.0.1" + source = "registry.coder.com/modules/aws-region/coder" + version = "1.0.2" exclude = [ "ap-northeast-2", "ap-northeast-3" ] } diff --git a/azure-region/README.md b/azure-region/README.md index 512b823..8c515e4 100644 --- a/azure-region/README.md +++ b/azure-region/README.md @@ -13,8 +13,8 @@ This module adds a parameter with all Azure regions, allowing developers to sele ```hcl module "azure_region" { - source = "registry.coder.com/modules/azure-region/coder" - version = "1.0.1" + source = "registry.coder.com/modules/azure-region/coder" + version = "1.0.2" default = "eastus" } @@ -33,8 +33,9 @@ Change the display name and icon for a region using the corresponding maps: ```hcl module "azure-region" { - source = "registry.coder.com/modules/azure-region/coder" - version = "1.0.1" + source = "registry.coder.com/modules/azure-region/coder" + version = "1.0.2" + custom_names = { "australia": "Go Australia!" } @@ -56,8 +57,8 @@ Hide all regions in Australia except australiacentral: ```hcl module "azure-region" { - source = "registry.coder.com/modules/azure-region/coder" - version = "1.0.1" + source = "registry.coder.com/modules/azure-region/coder" + version = "1.0.2" exclude = [ "australia", "australiacentral2", diff --git a/bun.lockb b/bun.lockb index f8f4940..7b18be0 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/code-server/README.md b/code-server/README.md index 8d450eb..8194ac8 100644 --- a/code-server/README.md +++ b/code-server/README.md @@ -13,8 +13,8 @@ Automatically install [code-server](https://github.com/coder/code-server) in a w ```hcl module "code-server" { - source = "registry.coder.com/modules/code-server/coder" - version = "1.0.1" + source = "registry.coder.com/modules/code-server/coder" + version = "1.0.2" agent_id = coder_agent.example.id } ``` @@ -27,9 +27,9 @@ module "code-server" { ```hcl module "code-server" { - source = "registry.coder.com/modules/code-server/coder" - version = "1.0.1" - agent_id = coder_agent.example.id + source = "registry.coder.com/modules/code-server/coder" + version = "1.0.2" + agent_id = coder_agent.example.id install_version = "4.8.3" } ``` @@ -40,9 +40,9 @@ Install the Dracula theme from [OpenVSX](https://open-vsx.org/): ```hcl module "code-server" { - source = "registry.coder.com/modules/code-server/coder" - version = "1.0.1" - agent_id = coder_agent.example.id + source = "registry.coder.com/modules/code-server/coder" + version = "1.0.2" + agent_id = coder_agent.example.id extensions = [ "dracula-theme.theme-dracula" ] @@ -57,10 +57,11 @@ Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarte ```hcl module "settings" { - source = "registry.coder.com/modules/code-server/coder" - version = "1.0.1" - agent_id = coder_agent.example.id + source = "registry.coder.com/modules/code-server/coder" + version = "1.0.2" + agent_id = coder_agent.example.id extensions = [ "dracula-theme.theme-dracula" ] + settings = { "workbench.colorTheme" = "Dracula" } @@ -73,9 +74,9 @@ Just run code-server in the background, don't fetch it from GitHub: ```hcl module "settings" { - source = "registry.coder.com/modules/code-server/coder" - version = "1.0.1" - agent_id = coder_agent.example.id + source = "registry.coder.com/modules/code-server/coder" + version = "1.0.2" + agent_id = coder_agent.example.id extensions = [ "dracula-theme.theme-dracula", "ms-azuretools.vscode-docker" ] } ``` @@ -86,9 +87,9 @@ Just run code-server in the background, don't fetch it from GitHub: ```hcl module "settings" { - source = "registry.coder.com/modules/code-server/coder" - version = "1.0.1" + source = "registry.coder.com/modules/code-server/coder" + version = "1.0.2" agent_id = coder_agent.example.id - offline = true + offline = true } ``` diff --git a/coder-login/README.md b/coder-login/README.md index b6b72d8..d8e6507 100644 --- a/coder-login/README.md +++ b/coder-login/README.md @@ -13,8 +13,8 @@ Automatically logs the user into Coder when creating their workspace. ```hcl module "coder-login" { - source = "registry.coder.com/modules/coder-login/coder" - version = "1.0.1" + source = "registry.coder.com/modules/coder-login/coder" + version = "1.0.2" agent_id = coder_agent.example.id } ``` diff --git a/dotfiles/README.md b/dotfiles/README.md index 5f9129f..162e10c 100644 --- a/dotfiles/README.md +++ b/dotfiles/README.md @@ -13,8 +13,8 @@ Allow developers to optionally bring their own [dotfiles repository](https://dot ```hcl module "dotfiles" { - source = "registry.coder.com/modules/dotfiles/coder" - version = "1.0.1" + source = "registry.coder.com/modules/dotfiles/coder" + version = "1.0.2" agent_id = coder_agent.example.id } ``` diff --git a/exoscale-instance-type/README.md b/exoscale-instance-type/README.md index 11dc07f..1b5cfbe 100644 --- a/exoscale-instance-type/README.md +++ b/exoscale-instance-type/README.md @@ -16,8 +16,8 @@ Customize the preselected parameter value: ```hcl module "exoscale-instance-type" { - source = "registry.coder.com/modules/exoscale-instance-type/coder" - version = "1.0.1" + source = "registry.coder.com/modules/exoscale-instance-type/coder" + version = "1.0.2" default = "standard.medium" } @@ -28,7 +28,7 @@ resource "exoscale_compute_instance" "instance" { resource "coder_metadata" "workspace_info" { item { - key = "instance type" + key = "instance type" value = module.exoscale-instance-type.name } } @@ -44,12 +44,14 @@ Change the display name a type using the corresponding maps: ```hcl module "exoscale-instance-type" { - source = "registry.coder.com/modules/exoscale-instance-type/coder" - version = "1.0.1" + source = "registry.coder.com/modules/exoscale-instance-type/coder" + 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 } @@ -62,7 +64,7 @@ resource "exoscale_compute_instance" "instance" { resource "coder_metadata" "workspace_info" { item { - key = "instance type" + key = "instance type" value = module.exoscale-instance-type.name } } @@ -76,11 +78,11 @@ Show only gpu1 types ```hcl module "exoscale-instance-type" { - source = "registry.coder.com/modules/exoscale-instance-type/coder" - version = "1.0.1" - default = "gpu.large" + source = "registry.coder.com/modules/exoscale-instance-type/coder" + version = "1.0.2" + default = "gpu.large" type_category = ["gpu"] - exclude = [ + exclude = [ "gpu2.small", "gpu2.medium", "gpu2.large", @@ -99,7 +101,7 @@ resource "exoscale_compute_instance" "instance" { resource "coder_metadata" "workspace_info" { item { - key = "instance type" + key = "instance type" value = module.exoscale-instance-type.name } } diff --git a/exoscale-zone/README.md b/exoscale-zone/README.md index 94c1533..a383b4a 100644 --- a/exoscale-zone/README.md +++ b/exoscale-zone/README.md @@ -16,8 +16,8 @@ Customize the preselected parameter value: ```hcl module "exoscale-zone" { - source = "registry.coder.com/modules/exoscale-zone/coder" - version = "1.0.1" + source = "registry.coder.com/modules/exoscale-zone/coder" + version = "1.0.2" default = "ch-dk-2" } @@ -43,12 +43,14 @@ Change the display name and icon for a zone using the corresponding maps: ```hcl module "exoscale-zone" { - source = "registry.coder.com/modules/exoscale-zone/coder" - version = "1.0.1" + source = "registry.coder.com/modules/exoscale-zone/coder" + version = "1.0.2" default = "at-vie-1" + custom_names = { "at-vie-1": "Home Vienna" } + custom_icons = { "at-vie-1": "/emojis/1f3e0.png" } @@ -73,8 +75,8 @@ Hide the Switzerland zones Geneva and Zurich ```hcl module "exoscale-zone" { - source = "registry.coder.com/modules/exoscale-zone/coder" - version = "1.0.1" + source = "registry.coder.com/modules/exoscale-zone/coder" + version = "1.0.2" exclude = [ "ch-gva-2", "ch-dk-2" ] } diff --git a/filebrowser/README.md b/filebrowser/README.md index d7bd488..66e8654 100644 --- a/filebrowser/README.md +++ b/filebrowser/README.md @@ -13,8 +13,8 @@ A file browser for your workspace. ```hcl module "filebrowser" { - source = "registry.coder.com/modules/filebrowser/coder" - version = "1.0.1" + source = "registry.coder.com/modules/filebrowser/coder" + version = "1.0.2" agent_id = coder_agent.example.id } ``` @@ -27,10 +27,10 @@ module "filebrowser" { ```hcl module "filebrowser" { - source = "registry.coder.com/modules/filebrowser/coder" - version = "1.0.1" + source = "registry.coder.com/modules/filebrowser/coder" + version = "1.0.2" agent_id = coder_agent.example.id - folder = "/home/coder/project" + folder = "/home/coder/project" } ``` @@ -38,9 +38,9 @@ module "filebrowser" { ```hcl module "filebrowser" { - source = "registry.coder.com/modules/filebrowser/coder" - version = "1.0.1" - agent_id = coder_agent.example.id + source = "registry.coder.com/modules/filebrowser/coder" + version = "1.0.2" + agent_id = coder_agent.example.id database_path = ".config/filebrowser.db" } ``` diff --git a/fly-region/README.md b/fly-region/README.md index e9d5d32..29726ab 100644 --- a/fly-region/README.md +++ b/fly-region/README.md @@ -15,8 +15,8 @@ We can use the simplest format here, only adding a default selection as the `atl ```hcl module "fly-region" { - source = "registry.coder.com/modules/fly-region/coder" - version = "1.0.1" + source = "registry.coder.com/modules/fly-region/coder" + version = "1.0.2" default = "atl" } ``` @@ -31,8 +31,8 @@ The regions argument can be used to display only the desired regions in the Code ```hcl module "fly-region" { - source = "registry.coder.com/modules/fly-region/coder" - version = "1.0.1" + source = "registry.coder.com/modules/fly-region/coder" + version = "1.0.2" default = "ams" regions = ["ams", "arn", "atl"] } @@ -46,12 +46,14 @@ Set custom icons and names with their respective maps. ```hcl module "fly-region" { - source = "registry.coder.com/modules/fly-region/coder" - version = "1.0.1" + source = "registry.coder.com/modules/fly-region/coder" + version = "1.0.2" default = "ams" + custom_icons = { "ams" = "/emojis/1f90e.png" } + custom_names = { "ams" = "We love the Netherlands!" } diff --git a/gcp-region/README.md b/gcp-region/README.md index 997f013..986a44e 100644 --- a/gcp-region/README.md +++ b/gcp-region/README.md @@ -13,8 +13,8 @@ This module adds Google Cloud Platform regions to your Coder template. ```hcl module "gcp_region" { - source = "registry.coder.com/modules/gcp-region/coder" - version = "1.0.1" + source = "registry.coder.com/modules/gcp-region/coder" + version = "1.0.2" regions = ["us", "europe"] } @@ -33,10 +33,10 @@ Note: setting `gpu_only = true` and using a default region without GPU support, ```hcl module "gcp_region" { - source = "registry.coder.com/modules/gcp-region/coder" - version = "1.0.1" - default = ["us-west1-a"] - regions = ["us-west1"] + source = "registry.coder.com/modules/gcp-region/coder" + version = "1.0.2" + default = ["us-west1-a"] + regions = ["us-west1"] gpu_only = false } @@ -49,9 +49,9 @@ resource "google_compute_instance" "example" { ```hcl module "gcp_region" { - source = "registry.coder.com/modules/gcp-region/coder" - version = "1.0.1" - regions = ["europe-west"] + source = "registry.coder.com/modules/gcp-region/coder" + version = "1.0.2" + regions = ["europe-west"] single_zone_per_region = false } @@ -60,14 +60,14 @@ 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 ```hcl module "gcp_region" { - source = "registry.coder.com/modules/gcp-region/coder" - version = "1.0.1" - regions = ["us", "europe"] - gpu_only = true + source = "registry.coder.com/modules/gcp-region/coder" + version = "1.0.2" + regions = ["us", "europe"] + gpu_only = true single_zone_per_region = true } diff --git a/git-clone/README.md b/git-clone/README.md index a7df531..ea5fe67 100644 --- a/git-clone/README.md +++ b/git-clone/README.md @@ -13,10 +13,10 @@ This module allows you to automatically clone a repository by URL and skip if it ```hcl module "git-clone" { - source = "registry.coder.com/modules/git-clone/coder" - version = "1.0.1" + source = "registry.coder.com/modules/git-clone/coder" + version = "1.0.2" agent_id = coder_agent.example.id - url = "https://github.com/coder/coder" + url = "https://github.com/coder/coder" } ``` @@ -34,8 +34,8 @@ data "coder_git_auth" "github" { ```hcl module "git-clone" { - source = "registry.coder.com/modules/git-clone/coder" - version = "1.0.1" + source = "registry.coder.com/modules/git-clone/coder" + version = "1.0.2" agent_id = coder_agent.example.id url = "https://github.com/coder/coder" base_dir = "~/projects/coder" diff --git a/git-commit-signing/README.md b/git-commit-signing/README.md index 4499839..c27ce67 100644 --- a/git-commit-signing/README.md +++ b/git-commit-signing/README.md @@ -18,8 +18,8 @@ This module has a chance of conflicting with the user's dotfiles / the personali ```hcl module "git-commit-signing" { - source = "registry.coder.com/modules/git-commit-signing/coder" - version = "1.0.1" + source = "registry.coder.com/modules/git-commit-signing/coder" + version = "1.0.2" agent_id = coder_agent.example.id } ``` diff --git a/git-config/README.md b/git-config/README.md index 5a94a61..1e06c89 100644 --- a/git-config/README.md +++ b/git-config/README.md @@ -13,8 +13,8 @@ Runs a script that updates git credentials in the workspace to match the user's ```hcl module "git-config" { - source = "registry.coder.com/modules/git-config/coder" - version = "1.0.1" + source = "registry.coder.com/modules/git-config/coder" + version = "1.0.2" agent_id = coder_agent.example.id } ``` @@ -27,9 +27,9 @@ TODO: Add screenshot ```hcl module "git-config" { - source = "registry.coder.com/modules/git-config/coder" - version = "1.0.1" - agent_id = coder_agent.example.id + source = "registry.coder.com/modules/git-config/coder" + version = "1.0.2" + agent_id = coder_agent.example.id allow_email_change = true } ``` @@ -40,12 +40,10 @@ TODO: Add screenshot ```hcl module "git-config" { - source = "registry.coder.com/modules/git-config/coder" - version = "1.0.1" - agent_id = coder_agent.example.id + source = "registry.coder.com/modules/git-config/coder" + version = "1.0.2" + agent_id = coder_agent.example.id allow_username_change = false - allow_email_change = false + allow_email_change = false } ``` - -TODO: Add screenshot diff --git a/jetbrains-gateway/README.md b/jetbrains-gateway/README.md index 0311aae..9193089 100644 --- a/jetbrains-gateway/README.md +++ b/jetbrains-gateway/README.md @@ -13,12 +13,12 @@ This module adds a JetBrains Gateway Button to open any workspace with a single ```hcl module "jetbrains_gateway" { - source = "registry.coder.com/modules/jetbrains-gateway/coder" - version = "1.0.1" - agent_id = coder_agent.example.id - folder = "/home/coder/example" + source = "registry.coder.com/modules/jetbrains-gateway/coder" + version = "1.0.2" + agent_id = coder_agent.example.id + folder = "/home/coder/example" jetbrains_ides = ["GO", "WS", "IU", "PY", "PS", "CL", "RM"] - default = "PY" + default = "PY" } ``` @@ -30,12 +30,12 @@ module "jetbrains_gateway" { ```hcl module "jetbrains_gateway" { - source = "registry.coder.com/modules/jetbrains-gateway/coder" - version = "1.0.1" - agent_id = coder_agent.example.id - folder = "/home/coder/example" + source = "registry.coder.com/modules/jetbrains-gateway/coder" + version = "1.0.2" + agent_id = coder_agent.example.id + folder = "/home/coder/example" jetbrains_ides = ["GO", "WS"] - default = "GO" + default = "GO" } ``` diff --git a/jfrog-oauth/README.md b/jfrog-oauth/README.md index 3daeda9..a281318 100644 --- a/jfrog-oauth/README.md +++ b/jfrog-oauth/README.md @@ -16,11 +16,12 @@ Install the JF CLI and authenticate package managers with Artifactory using OAut ```hcl module "jfrog" { - source = "registry.coder.com/modules/jfrog-oauth/coder" - version = "1.0.1" - agent_id = coder_agent.example.id - jfrog_url = "https://example.jfrog.io" + source = "registry.coder.com/modules/jfrog-oauth/coder" + version = "1.0.2" + agent_id = coder_agent.example.id + jfrog_url = "https://example.jfrog.io" username_field = "username" # If you are using GitHub to login to both Coder and Artifactory, use username_field = "username" + package_managers = { "npm": "npm", "go": "go", @@ -42,11 +43,12 @@ Configure the Python pip package manager to fetch packages from Artifactory whil ```hcl module "jfrog" { - source = "registry.coder.com/modules/jfrog-oauth/coder" - version = "1.0.1" - agent_id = coder_agent.example.id - jfrog_url = "https://example.jfrog.io" + source = "registry.coder.com/modules/jfrog-oauth/coder" + version = "1.0.2" + agent_id = coder_agent.example.id + jfrog_url = "https://example.jfrog.io" username_field = "email" + package_managers = { "pypi": "pypi" } @@ -69,12 +71,13 @@ The [JFrog extension](https://open-vsx.org/extension/JFrog/jfrog-vscode-extensio ```hcl module "jfrog" { - source = "registry.coder.com/modules/jfrog-oauth/coder" - version = "1.0.1" - agent_id = coder_agent.example.id - jfrog_url = "https://example.jfrog.io" - username_field = "username" # If you are using GitHub to login to both Coder and Artifactory, use username_field = "username" + source = "registry.coder.com/modules/jfrog-oauth/coder" + version = "1.0.2" + agent_id = coder_agent.example.id + jfrog_url = "https://example.jfrog.io" + username_field = "username" # If you are using GitHub to login to both Coder and Artifactory, use username_field = "username" configure_code_server = true # Add JFrog extension configuration for code-server + package_managers = { "npm": "npm", "go": "go", @@ -91,7 +94,7 @@ JFrog Access token is also available as a terraform output. You can use it in ot provider "docker" { ... registry_auth { - address = "https://example.jfrog.io/artifactory/api/docker/REPO-KEY" + address = "https://example.jfrog.io/artifactory/api/docker/REPO-KEY" username = module.jfrog.username password = module.jfrog.access_token } diff --git a/jfrog-token/README.md b/jfrog-token/README.md index b49a313..112180d 100644 --- a/jfrog-token/README.md +++ b/jfrog-token/README.md @@ -15,7 +15,7 @@ Install the JF CLI and authenticate package managers with Artifactory using Arti ```hcl module "jfrog" { source = "registry.coder.com/modules/jfrog-token/coder" - version = "1.0.1" + version = "1.0.2" agent_id = coder_agent.example.id jfrog_url = "https://XXXX.jfrog.io" artifactory_access_token = var.artifactory_access_token @@ -40,11 +40,12 @@ For detailed instructions, please see this [guide](https://coder.com/docs/v2/lat ```hcl module "jfrog" { - source = "registry.coder.com/modules/jfrog-token/coder" - version = "1.0.1" - agent_id = coder_agent.example.id - jfrog_url = "https://YYYY.jfrog.io" - artifactory_access_token = var.artifactory_access_token # An admin access token + source = "registry.coder.com/modules/jfrog-token/coder" + version = "1.0.2" + agent_id = coder_agent.example.id + jfrog_url = "https://example.jfrog.io" + artifactory_access_token = var.artifactory_access_token + package_managers = { "npm": "npm-local", "go": "go-local", @@ -73,12 +74,13 @@ The [JFrog extension](https://open-vsx.org/extension/JFrog/jfrog-vscode-extensio ```hcl module "jfrog" { - source = "registry.coder.com/modules/jfrog-token/coder" - version = "1.0.1" - agent_id = coder_agent.example.id - jfrog_url = "https://XXXX.jfrog.io" + source = "registry.coder.com/modules/jfrog-token/coder" + version = "1.0.2" + agent_id = coder_agent.example.id + jfrog_url = "https://example.jfrog.io" artifactory_access_token = var.artifactory_access_token - configure_code_server = true # Add JFrog extension configuration for code-server + configure_code_server = true # Add JFrog extension configuration for code-server + package_managers = { "npm": "npm", "go": "go", @@ -96,9 +98,11 @@ JFrog Access token is also available as a terraform output. You can use it in ot provider "docker" { ... registry_auth { - address = "https://YYYY.jfrog.io/artifactory/api/docker/REPO-KEY" + address = "https://YYYY.jfrog.io/artifactory/api/docker/REPO-KEY" username = module.jfrog.username password = module.jfrog.access_token } } ``` + +> Here `REPO_KEY` is the name of docker repository in Artifactory. diff --git a/jupyter-notebook/README.md b/jupyter-notebook/README.md index 830b19a..bda8545 100644 --- a/jupyter-notebook/README.md +++ b/jupyter-notebook/README.md @@ -15,8 +15,8 @@ A module that adds Jupyter Notebook in your Coder template. ```hcl module "jupyter-notebook" { - source = "registry.coder.com/modules/jupyter-notebook/coder" - version = "1.0.1" + source = "registry.coder.com/modules/jupyter-notebook/coder" + version = "1.0.2" agent_id = coder_agent.example.id } ``` diff --git a/jupyterlab/README.md b/jupyterlab/README.md index 80046b5..693127d 100644 --- a/jupyterlab/README.md +++ b/jupyterlab/README.md @@ -15,8 +15,8 @@ A module that adds JupyterLab in your Coder template. ```hcl module "jupyterlab" { - source = "registry.coder.com/modules/jupyterlab/coder" - version = "1.0.1" + source = "registry.coder.com/modules/jupyterlab/coder" + version = "1.0.2" agent_id = coder_agent.example.id } ``` diff --git a/package.json b/package.json index a8778dc..5822c4c 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "fmt": "bun x prettier --plugin prettier-plugin-sh -w **/*.sh .sample/run.sh new.sh **/*.ts **/*.md *.md && terraform fmt **/*.tf .sample/main.tf", "fmt:ci": "bun x prettier --plugin prettier-plugin-sh --check **/*.sh .sample/run.sh new.sh **/*.ts **/*.md *.md && terraform fmt -check **/*.tf .sample/main.tf", "lint": "bun run lint.ts", - "update-version": "LATEST_TAG=$(git describe --abbrev=0 --tags | sed 's/^v//') && find . -name 'README.md' -exec sed -i \"s/\\( version \\s*=\\s*\\\"\\)[0-9]*\\.[0-9]*\\.[0-9]*\\(\\\"\\)/\\1$LATEST_TAG\\2/g\" {} \\;" + "update-version": "sh update-version.sh" }, "devDependencies": { "bun-types": "^1.0.18", diff --git a/personalize/README.md b/personalize/README.md index 322a3eb..8c98980 100644 --- a/personalize/README.md +++ b/personalize/README.md @@ -13,8 +13,8 @@ Run a script on workspace start that allows developers to run custom commands to ```hcl module "personalize" { - source = "registry.coder.com/modules/personalize/coder" - version = "1.0.1" + source = "registry.coder.com/modules/personalize/coder" + version = "1.0.2" agent_id = coder_agent.example.id } ``` diff --git a/slackme/README.md b/slackme/README.md index 26a38cc..9194802 100644 --- a/slackme/README.md +++ b/slackme/README.md @@ -56,9 +56,9 @@ slackme npm run long-build ```hcl module "slackme" { - source = "registry.coder.com/modules/slackme/coder" - version = "1.0.1" - agent_id = coder_agent.example.id + source = "registry.coder.com/modules/slackme/coder" + version = "1.0.2" + agent_id = coder_agent.example.id auth_provider_id = "slack" } ``` @@ -72,11 +72,11 @@ slackme npm run long-build ```hcl module "slackme" { - source = "registry.coder.com/modules/slackme/coder" - version = "1.0.1" - agent_id = coder_agent.example.id + source = "registry.coder.com/modules/slackme/coder" + version = "1.0.2" + agent_id = coder_agent.example.id auth_provider_id = "slack" - slack_message = < tmpfile && mv tmpfile "$file" +done \ No newline at end of file diff --git a/vault-github/README.md b/vault-github/README.md index 6f399c8..bc78890 100644 --- a/vault-github/README.md +++ b/vault-github/README.md @@ -13,9 +13,9 @@ This module lets you authenticate with [Hashicorp Vault](https://www.vaultprojec ```hcl module "vault" { - source = "registry.coder.com/modules/vault-github/coder" - version = "1.0.1" - agent_id = coder_agent.example.id + source = "registry.coder.com/modules/vault-github/coder" + version = "1.0.2" + agent_id = coder_agent.example.id vault_addr = "https://vault.example.com" } ``` @@ -23,7 +23,7 @@ module "vault" { Then you can use the Vault CLI in your workspaces to fetch secrets from Vault: ```shell -vault kv get -mount = secret my-secret +vault kv get -mount=secret my-secret ``` or using the Vault API: @@ -44,10 +44,10 @@ To configure the Vault module, you must set up a Vault GitHub auth method. See t ```hcl module "vault" { - source = "registry.coder.com/modules/vault-github/coder" - version = "1.0.1" - agent_id = coder_agent.example.id - vault_addr = "https://vault.example.com" + source = "registry.coder.com/modules/vault-github/coder" + version = "1.0.2" + agent_id = coder_agent.example.id + vault_addr = "https://vault.example.com" coder_github_auth_id = "my-github-auth-id" } ``` @@ -56,11 +56,11 @@ module "vault" { ```hcl module "vault" { - source = "registry.coder.com/modules/vault-github/coder" - version = "1.0.1" - agent_id = coder_agent.example.id - vault_addr = "https://vault.example.com" - coder_github_auth_id = "my-github-auth-id" + source = "registry.coder.com/modules/vault-github/coder" + version = "1.0.2" + agent_id = coder_agent.example.id + vault_addr = "https://vault.example.com" + coder_github_auth_id = "my-github-auth-id" vault_github_auth_path = "my-github-auth-path" } ``` @@ -69,10 +69,10 @@ module "vault" { ```hcl module "vault" { - source = "registry.coder.com/modules/vault-github/coder" - version = "1.0.1" - agent_id = coder_agent.example.id - vault_addr = "https://vault.example.com" + source = "registry.coder.com/modules/vault-github/coder" + version = "1.0.2" + agent_id = coder_agent.example.id + vault_addr = "https://vault.example.com" vault_cli_version = "1.15.0" } ``` diff --git a/vscode-desktop/README.md b/vscode-desktop/README.md index 75b4d62..b5b0f29 100644 --- a/vscode-desktop/README.md +++ b/vscode-desktop/README.md @@ -15,8 +15,8 @@ Uses the [Coder Remote VS Code Extension](https://github.com/coder/vscode-coder) ```hcl module "vscode" { - source = "registry.coder.com/modules/vscode-desktop/coder" - version = "1.0.1" + source = "registry.coder.com/modules/vscode-desktop/coder" + version = "1.0.2" agent_id = coder_agent.example.id } ``` @@ -27,9 +27,9 @@ module "vscode" { ```hcl module "vscode" { - source = "registry.coder.com/modules/vscode-desktop/coder" - version = "1.0.1" + source = "registry.coder.com/modules/vscode-desktop/coder" + version = "1.0.2" agent_id = coder_agent.example.id - folder = "/home/coder/project" + folder = "/home/coder/project" } ``` diff --git a/vscode-web/README.md b/vscode-web/README.md index 71969fd..d2af3ea 100644 --- a/vscode-web/README.md +++ b/vscode-web/README.md @@ -13,9 +13,9 @@ Automatically install [Visual Studio Code Server](https://code.visualstudio.com/ ```hcl module "vscode-web" { - source = "registry.coder.com/modules/vscode-web/coder" - version = "1.0.1" - agent_id = coder_agent.example.id + source = "registry.coder.com/modules/vscode-web/coder" + version = "1.0.2" + agent_id = coder_agent.example.id accept_license = true } ``` @@ -28,11 +28,11 @@ module "vscode-web" { ```hcl module "vscode-web" { - source = "registry.coder.com/modules/vscode-web/coder" - version = "1.0.1" - agent_id = coder_agent.example.id - install_dir = "/home/coder/.vscode-web" - folder = "/home/coder" + source = "registry.coder.com/modules/vscode-web/coder" + version = "1.0.2" + agent_id = coder_agent.example.id + install_dir = "/home/coder/.vscode-web" + folder = "/home/coder" accept_license = true } ```