working recipe for prometheus
@@ -16,10 +16,8 @@ source:
build:
number: 0
- context: services/configuration
script:
- - pushd {{ pkg_src }}
- - go get -u {{ goname }}/...
+ - pushd {{ pkg_src }}/cmd/{{ name }}
- go build -v -o $GOBIN/{{ name }} . # [unix]
- go build -v -o %GOBIN%\{{ name }}.exe . # [win]
@@ -34,10 +32,6 @@ test:
commands:
- prometheus --version
- # bash -euf -c "echo 'provider \"{{ provider|lower }}\" { version=\"{{ version }}\" }' > init.tf"
- # Tests that no plugins were downloaded
- # test -f .terraform/plugins/{{ goos }}_{{ goarch }}/lock.json
- # test ! -f .terraform/plugins/{{ goos }}_{{ goarch }}/{{ x4_plugin }}
about:
home: https://www.terraform.io
