forked from gruntwork-io/terragrunt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
26 lines (22 loc) · 1003 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
machine:
environment:
PATH: $PATH:$HOME/glide/linux-amd64
dependencies:
override:
# Install the gruntwork-module-circleci-helpers and use it to configure the build environment and run tests.
- curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/master/bootstrap-gruntwork-installer.sh | bash /dev/stdin --version v0.0.16
- gruntwork-install --module-name "gruntwork-module-circleci-helpers" --repo "https://github.com/gruntwork-io/module-ci" --tag "v0.3.10"
- configure-environment-for-gruntwork-module --packer-version NONE --terragrunt-version NONE --go-src-path .
cache_directories:
- ~/glide
test:
override:
- make fmtcheck
- run-go-tests
deployment:
release:
tag: /v.*/
commands:
# If a new release is tagged in GitHub, build the binaries and upload them to GitHub.
- build-go-binaries --app-name terragrunt --dest-path bin --ld-flags "-X main.VERSION=$CIRCLE_TAG"
- upload-github-release-assets bin/*