From b5f3184a79d62b69cfd044af38eb1f4227413fe1 Mon Sep 17 00:00:00 2001 From: Charlie Voiselle <464492+angrycub@users.noreply.github.com> Date: Tue, 5 Sep 2023 13:24:58 -0400 Subject: [PATCH] remove boilerplate from generated files --- .../simple_raw_exec/test_02.hcl | 52 ------------------- .../packs/simple_docker/metadata.hcl | 7 --- 2 files changed, 59 deletions(-) diff --git a/fixtures/v2/override_files/simple_raw_exec/test_02.hcl b/fixtures/v2/override_files/simple_raw_exec/test_02.hcl index f1f3e78f..25c36e29 100644 --- a/fixtures/v2/override_files/simple_raw_exec/test_02.hcl +++ b/fixtures/v2/override_files/simple_raw_exec/test_02.hcl @@ -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="" diff --git a/fixtures/v2/test_registry/packs/simple_docker/metadata.hcl b/fixtures/v2/test_registry/packs/simple_docker/metadata.hcl index 9a620ff6..97a4e19d 100644 --- a/fixtures/v2/test_registry/packs/simple_docker/metadata.hcl +++ b/fixtures/v2/test_registry/packs/simple_docker/metadata.hcl @@ -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" -// }