File tree 1 file changed +38
-0
lines changed
1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ # .coder.yaml
2
+ # This is a Coder configuration file. It tells Coder how to create a workspace
3
+ # for this repository. You can use variables like {{org}}, {{repo}}, and {{ref}}
4
+ # to dynamically generate values.
5
+ #
6
+ # This configuration works well with Coder's git-clone module. To use it, you
7
+ # can add the following to your template:
8
+ #
9
+ # data "coder_parameter" "git_url" {
10
+ # type = "string"
11
+ # name = "Git URL"
12
+ # description = "The git repository URL to be cloned."
13
+ # default = "<your-git-repo-url>"
14
+ # mutable = true
15
+ # }
16
+ #
17
+ # module "git-clone" {
18
+ # source = "registry.coder.com/modules/git-clone/coder"
19
+ # version = "1.0.12"
20
+ # agent_id = <your-agent-id>
21
+ # url = data.coder_parameter.git_url.value
22
+ # }
23
+
24
+ # Replace with your Coder deployment URL
25
+ host : dev.coder.com
26
+
27
+ # Specify the Coder template for this repository
28
+ template : dogfood
29
+
30
+ # Define a name for the new workspace using variables such as {{org}}, {{repo}},
31
+ # and {{ref}} to dynamically generate values. This name is crucial as it is used
32
+ # to identify and potentially reuse an existing workspace within Coder.
33
+ name : {{repo}}-{{ref}}
34
+
35
+ # Uncomment and use 'parameters' to override template defaults
36
+ # parameters:
37
+ # - name: "Git URL"
38
+ # value: "https://github.com/{{org}}/{{repo}}/tree/{{ref}}"
You can’t perform that action at this time.
0 commit comments