@@ -14,7 +14,7 @@ This module allows you to automatically clone a repository by URL and skip if it
1414``` tf
1515module "git-clone" {
1616 source = "registry.coder.com/modules/git-clone/coder"
17- version = "1.0.2 "
17+ version = "1.0.12 "
1818 agent_id = coder_agent.example.id
1919 url = "https://github.com/coder/coder"
2020}
@@ -27,7 +27,7 @@ module "git-clone" {
2727``` tf
2828module "git-clone" {
2929 source = "registry.coder.com/modules/git-clone/coder"
30- version = "1.0.2 "
30+ version = "1.0.12 "
3131 agent_id = coder_agent.example.id
3232 url = "https://github.com/coder/coder"
3333 base_dir = "~/projects/coder"
@@ -41,7 +41,7 @@ To use with [Git Authentication](https://coder.com/docs/v2/latest/admin/git-prov
4141``` tf
4242module "git-clone" {
4343 source = "registry.coder.com/modules/git-clone/coder"
44- version = "1.0.2 "
44+ version = "1.0.12 "
4545 agent_id = coder_agent.example.id
4646 url = "https://github.com/coder/coder"
4747}
@@ -66,15 +66,15 @@ data "coder_parameter" "git_repo" {
6666# Clone the repository for branch `feat/example`
6767module "git_clone" {
6868 source = "registry.coder.com/modules/git-clone/coder"
69- version = "1.0.11 "
69+ version = "1.0.12 "
7070 agent_id = coder_agent.example.id
7171 url = data.coder_parameter.git_repo.value
7272}
7373
7474# Create a code-server instance for the cloned repository
7575module "code-server" {
7676 source = "registry.coder.com/modules/code-server/coder"
77- version = "1.0.11 "
77+ version = "1.0.12 "
7878 agent_id = coder_agent.example.id
7979 order = 1
8080 folder = "/home/${local.username}/${module.git_clone.folder_name}"
@@ -98,7 +98,7 @@ Configuring `git-clone` for a self-hosted GitHub Enterprise Server running at `g
9898``` tf
9999module "git-clone" {
100100 source = "registry.coder.com/modules/git-clone/coder"
101- version = "1.0.11 "
101+ version = "1.0.12 "
102102 agent_id = coder_agent.example.id
103103 url = "https://github.example.com/coder/coder/tree/feat/example"
104104 git_providers = {
@@ -116,7 +116,7 @@ To GitLab clone with a specific branch like `feat/example`
116116``` tf
117117module "git-clone" {
118118 source = "registry.coder.com/modules/git-clone/coder"
119- version = "1.0.11 "
119+ version = "1.0.12 "
120120 agent_id = coder_agent.example.id
121121 url = "https://gitlab.com/coder/coder/-/tree/feat/example"
122122}
@@ -127,7 +127,7 @@ Configuring `git-clone` for a self-hosted GitLab running at `gitlab.example.com`
127127``` tf
128128module "git-clone" {
129129 source = "registry.coder.com/modules/git-clone/coder"
130- version = "1.0.11 "
130+ version = "1.0.12 "
131131 agent_id = coder_agent.example.id
132132 url = "https://gitlab.example.com/coder/coder/-/tree/feat/example"
133133 git_providers = {
@@ -147,7 +147,7 @@ For example, to clone the `feat/example` branch:
147147``` tf
148148module "git-clone" {
149149 source = "registry.coder.com/modules/git-clone/coder"
150- version = "1.0.11 "
150+ version = "1.0.12 "
151151 agent_id = coder_agent.example.id
152152 url = "https://github.com/coder/coder"
153153 branch_name = "feat/example"
0 commit comments