Skip to content

Commit

Permalink
remove boilerplate from generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
angrycub committed Sep 5, 2023
1 parent 3cc48e8 commit b5f3184
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 59 deletions.
52 changes: 0 additions & 52 deletions fixtures/v2/override_files/simple_raw_exec/test_02.hcl
Original file line number Diff line number Diff line change
@@ -1,58 +1,6 @@
# variable "simple_raw_exec.command"
# description: bash command to run
# type: string
# default: "echo \"$(date) - Started.\"; while true; do sleep 300; echo -n .; done"
#
# simple_raw_exec.command="echo \"$(date) - Started.\"; while true; do sleep 300; echo -n .; done"


# variable "simple_raw_exec.count"
# description: The number of app instances to deploy
# type: number
# default: 1
#
# simple_raw_exec.count=1


# variable "simple_raw_exec.datacenters"
# description: A list of datacenters in the region which are eligible for task
# placement
# type: list(string)
# default: ["dc1"]
#
# simple_raw_exec.datacenters=["dc1"]


# variable "simple_raw_exec.env"
# description: environment variable collection
# type: map(string)
# default: {}
#
simple_raw_exec.env = {
"NOMAD_TOKEN" = "some awesome token"
"NOMAD_ADDR" = "http://127.0.0.1:4646"
}


# variable "simple_raw_exec.job_name"
# description: The name to use as the job name which overrides using the pack name
# type: string
# default: ""
#
simple_raw_exec.job_name = "sre"


# variable "simple_raw_exec.namespace"
# description: namespace to run the job in
# type: string
# default: ""
#
# simple_raw_exec.namespace=""


# variable "simple_raw_exec.region"
# description: The region where jobs will be deployed
# type: string
# default: ""
#
# simple_raw_exec.region=""
7 changes: 0 additions & 7 deletions fixtures/v2/test_registry/packs/simple_docker/metadata.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,3 @@ pack {
url = ""
version = ""
}

// Optional dependency information. This block can be repeated.

// dependency {
// name = "demo_dependency_pack_name"
// source = "git://source.git/packs/demo_dependency_pack"
// }

0 comments on commit b5f3184

Please sign in to comment.