Commit Graph

43 Commits

Author SHA1 Message Date
Michele 54786d8c2e Use docker mirror 2020-10-29 11:05:41 -07:00
Wilken Rivera 2a879aff14 Update build tools to latest supported versions 2020-09-30 11:22:13 -04:00
Kevin Pruett 4f59693be8
Add Algolia indexing to CI 2020-06-29 15:43:35 -04:00
Rae Krantz d690d0f6a6 increase resource size for sigkills 2020-06-29 09:12:03 -04:00
Rae Krantz c9c8353856 remove prerelease publish and tag-specific filters 2020-06-23 22:31:32 -04:00
Sylvia Moss be9dbaacd7
Interpolate generatedData in the Inspec provisioner (#9262)
* Interpolate generatedData in the Inspec provisioner

* Add inspec license section to inspec docs

* add user arg if user config it not empty

* increase resource size for check-lint pipeline

* update changelog

* Update provisioner/inspec/provisioner.go

* Update provisioner/inspec/provisioner.go

Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-05-20 15:43:41 -04:00
Rae Krantz f861704961
replace AZR token with a CI one (#9195) 2020-05-11 11:21:30 +02:00
Sylvia Moss 553b1fb9f8
Add RetriedProvisioner to allow retry provisioners (#9061) 2020-04-16 11:58:54 +02:00
Wilken Rivera c9c0ee65d3
circle-ci: update ci-lint steps (#9043)
* new-from-rev option is showing inconsistent results on circle and
locally. This change moves to a custom command `script/lint.sh` that gets a list of added
go files and pipes them to golangci-lint for testing.

* Add a git fetch as a step before retrieving merge-base changes to fix
the issue described at https://discuss.circleci.com/t/checkout-script-adds-commits-to-master-from-circle-branch/14194/2

* Moved source code out of GOPATH to ensure go mod support and reduce
the risk of having golangci-lint trying to scan all of the files within
GOPATH. This was an issue in the past, in changing it I found less OOM
issues on circle.
2020-04-14 12:03:22 +02:00
Jeff Escalante ccdb8ee62f
add docker config 2020-04-07 17:53:23 -04:00
Sylvia Moss fa4b9ae958
Add Codecov configuration (#8862) 2020-03-12 10:36:10 +01:00
Adrien Delorme 9e6c94e141
circleci: VersionPrerelease: show tag or branch name and hash when building binary (#8850)
VersionPrerelease=${CIRCLE_TAG:=${CIRCLE_BRANCH}}-${CIRCLE_SHA1:0:9}"
2020-03-06 14:03:18 -05:00
Adrien Delorme 44ba58321d pin to go 1.13 & cleanup go deps 2019-09-05 17:11:08 +02:00
Adrien Delorme 368d39cadf update circle-ci to run tests on darwin & windows 2019-09-05 17:03:54 +02:00
Adrien Delorme 36ee40b2a1 test that go generated code if what is should be 2019-05-27 16:00:20 +02:00
Adrien Delorme deb2212e9e Makefile: use `go fmt`
fmt-check no runs go fmt and then a git diff; this should also fail on line ending diffs
2019-05-27 15:37:03 +02:00
Adrien Delorme 147c028bc6 flag nightly builds as prerelease 2019-05-10 10:48:20 +02:00
Adrien Delorme 8c15ade94b pass `-ldflags="-s -w"` to go build to make the binaries a bit smaller 2019-05-10 10:24:04 +02:00
Adrien Delorme 65d6677eb7 don't try to push binaries for branches 2019-05-09 16:24:46 +02:00
Adrien Delorme 03e3c32f4e actually zip binary now 2019-05-09 16:16:45 +02:00
Adrien Delorme 48eaf9ea5f circle-ci: publish 'nightly' tag binaries to github 2019-05-09 16:16:45 +02:00
Adrien Delorme 84a11b0f8f Revert "make store_artifacts step manually approved"
This reverts commit 629d8313aba05c649dd96a02c33a394344fc3dc7.
2019-05-09 16:16:45 +02:00
Adrien Delorme e368910bb5 make store_artifacts step manually approved 2019-05-09 14:09:38 +02:00
Adrien Delorme b3095bc338 store artifacts in the root folder 2019-05-09 11:41:12 +02:00
Adrien Delorme 970ae016c0 store artifacts in a single export 2019-05-09 11:21:02 +02:00
Adrien Delorme 9ff511b4d6 store/export binaries in zip files for each GOOS/GOARCH 2019-05-09 11:20:56 +02:00
Megan Marsh c54edf761b get circle to save dev builds for windows, linux, and darwin 2019-05-08 16:57:47 -07:00
Megan Marsh 0808c5283e circle 2019-05-08 16:35:20 -07:00
Megan Marsh 7bbea11e6a add generate binaries job to circle 2019-05-08 16:24:33 -07:00
Megan Marsh 8133d14eab circle config 2019-05-08 16:23:37 -07:00
Megan Marsh c451540d85 change circle 2019-05-08 16:10:00 -07:00
Megan Marsh 3dbbc480c2 add build for generating binaries 2019-05-08 15:47:46 -07:00
Adrien Delorme 5f076d4328 allow building packer on solaris by removing progress bar and tty imports
fix #7586
2019-05-07 15:58:49 +02:00
Adrien Delorme 86b7e05ebe circle-ci: build each support GOOS in a separate run using vendors to make this faster
make bin can take more than 10min
2019-05-01 13:54:24 +02:00
Adrien Delorme ae46fcec01 circle-ci: run `make bin` to make sure all of our binaries can build 2019-04-30 12:06:34 +02:00
Adrien Delorme bba0f9f820 also make sure packer builds with go modules 2019-04-12 13:20:58 +02:00
Adrien Delorme 267e2253a2 check if running `go mod vendor` has an effect on vendor directory and if so fail 2019-04-11 14:19:25 +02:00
Adrien Delorme c4b28d6ddc Revert "use golang:1.12 instead of cicleci/golang:1.12"
This reverts commit 6381f31113c59f4c73336a74f6078adacbd9cef6.
2019-03-04 11:17:58 +01:00
Adrien Delorme 07dfab5e3c use golang:1.12 instead of cicleci/golang:1.12 2019-03-04 11:17:58 +01:00
Adrien Delorme 6e872fc40b .circleci/config.yml: use go 1.12 2019-03-04 11:17:58 +01:00
Megan Marsh f51707630d clean up config.yml and decrease number of parallel processes in build 2018-11-19 16:02:43 -08:00
Megan Marsh 31285a3d33
Revert "Start building on Circle-CI" 2018-11-16 15:08:57 -08:00
Megan Marsh 471f68228d first stab at circle ci config 2018-11-16 14:16:10 -08:00