Commit graph

42 commits

Author SHA1 Message Date
Mahmood Ali 2c5d4f86cb use node 12 2020-06-24 21:16:15 -04:00
Mahmood Ali 15b84be0e6 Tweak algolia scripts
Avoid running algolia job in forks or enterprise private repositories
2020-06-24 15:28:57 -04:00
Kevin Pruett eba5ada40b
Update job and config via make 2020-06-23 22:56:29 -04:00
Kevin Pruett 81c6c7d65f
Utilize Next.js env variable conventions 2020-06-23 22:40:37 -04:00
Kevin Pruett 04f2e673ba
Setup Algolia indexing job in CI 2020-06-23 22:40:17 -04:00
Michael Schurter c078155cf0 build: update from Go 1.14.3 to Go 1.14.4 2020-06-16 10:07:05 -07:00
Buck Doyle 1cca7abcab
Add Ember ESLint plugin (#8134)
This is extracted from #8094, where I have run into some snags. Since
these ESLint fixes aren’t actually connected to the Ember 3.16 update
but involve changes to many files, we might as well address them
separately. Where possible I fixed the problems but in cases where
a fix seemed too involved, I added per-line or -file exceptions.
2020-06-09 16:03:28 -05:00
Mahmood Ali 396f776aa5 ci: run static generators as part of CI
These are used by release process, so add them to CI to notice if we
break release scripts.
2020-06-04 18:23:29 -04:00
Seth Hoenig 435c0d9fc8 deps: Switch to Go modules for dependency management
This PR switches the Nomad repository from using govendor to Go modules
for managing dependencies. Aspects of the Nomad workflow remain pretty
much the same. The usual Makefile targets should continue to work as
they always did. The API submodule simply defers to the parent Nomad
version on the repository, keeping the semantics of API versioning that
currently exists.
2020-06-02 14:30:36 -05:00
Michael Schurter ca9907a967 build: update from Go 1.14.1 to Go 1.14.3 2020-05-16 10:41:20 -04:00
Mahmood Ali bbb341ec66 quiet unzip 2020-05-15 13:19:21 -04:00
Mahmood Ali 3441cdf00e Predownload image before tests start 2020-05-15 12:55:53 -04:00
Mahmood Ali a1e0715912 remove unused gotestsum installation script 2020-05-15 12:45:39 -04:00
Mahmood Ali 42c65eb87a colocate test-windows by darwin target
Mostly to ease conflict resolution with Enterprise fork, as Enterprise
CI doesn't support windows.
2020-05-15 12:33:31 -04:00
Mahmood Ali e50fb91557 Few Windows CI changes:
Always install go and vault: the check may accidentally use the CircleCI
pre-installed go version instead of the cached version.

Also, always install from sources without caching.  Go/vault
installation is basically a tarball download.  That's equivalent to
CirleCI caching without the complexity.  These steps don't add much time
either.

Lastly, infer the OS when downloading tarball to avoid managing them in
the job spec.
2020-05-15 12:22:15 -04:00
Michele 99e6dc8a3b Update cache 2020-05-15 10:15:37 -04:00
Michele f756efdcb1 Adding a fix 2020-05-15 10:15:37 -04:00
Michele 0150fc4c54 Move appveyor tests to circle 2020-05-15 10:15:37 -04:00
Buck Doyle eba07dabe5
CI: add xUnit reporting for UI tests (#7585)
This surfaces test failures more clearly on CircleCI by adding
testem-multi-reporter to report both via the default TAP reporter
as well as an xUnit reporter whose output is stored as an artefact.
2020-04-01 11:19:44 -05:00
Mahmood Ali 2698056311 ci: collect json file
Start collecting raw `go test -json` output to help with debugging odd
CI failures.
2020-03-24 21:47:21 -04:00
Mahmood Ali 8a8817beb7 ci: fix darwin artifact path 2020-03-23 15:42:44 -04:00
Mahmood Ali 17059d0a1e ci: use curl
It's installed by default in macOS unlike wget
2020-03-23 13:27:58 -04:00
Mahmood Ali 4f6a2cf65c ci: build darwin on CI
build darwin binaries in CI as a basic check.  Protects against
cross compile issues.
2020-03-23 13:27:24 -04:00
Mahmood Ali 3f27ad14d8 use golang 14.1 2020-03-23 13:02:14 -04:00
Kyle MacDonald d92ae83575 update website docker job to use proper git url 2020-03-20 15:43:36 -04:00
Mahmood Ali 92712c48eb
Merge pull request #7236 from hashicorp/b-remove-rkt
Remove rkt as a built-in driver
2020-03-17 09:07:35 -04:00
Yoan Blanc 62af14196a
ci: bump consul and vault
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-15 11:01:55 +01:00
Buck Doyle 70d3491c4c
UI: Remove build-binaries job for UI-only branches (#7273) 2020-03-04 17:36:18 -08:00
Mahmood Ali 67bea52866 use golang 1.14 2020-03-02 13:55:02 -05:00
Mahmood Ali a8d6950007 Remove rkt as a built-in driver
Rkt has been archived and is no longer an active project:
* https://github.com/rkt/rkt
* https://github.com/rkt/rkt/issues/4024

The rkt driver will continue to live as an external plugin.
2020-02-26 22:16:41 -05:00
Drew Bailey c507fd0e2e
refact to remove conditional nesting 2020-02-19 12:44:22 -05:00
Drew Bailey cb70f874b2
check if website-docker-image job should run 2020-02-19 09:20:31 -05:00
Jeff Escalante e35e1652cf
[website] CircleCI Script Updates (#7145)
* circle-ci script updates 🎉

* trigger deploy as a test

* remove testing items
2020-02-18 13:42:50 -05:00
Jeff Escalante b34c5aa187
circle config adjustments 2020-02-06 18:58:07 -05:00
Mahmood Ali fb68c7dcdc use golang 1.12.16 2020-01-29 09:52:03 -05:00
Mahmood Ali 6294fddb9c Update golang to 1.12.15 2020-01-16 14:49:44 -05:00
Mahmood Ali e8dc686019 ci: avoid building binaries in stable-website
This speeds up building and pushing releases
2019-11-22 15:40:22 -05:00
Mahmood Ali 500fb6f8ce ci: verify .circleci/config.yml is up to date 2019-11-22 14:50:49 -05:00
Mahmood Ali 57ff36df5c ci: avoid paging 2019-11-22 11:52:01 -05:00
Mahmood Ali 5c17bf36b8 ci: ignore docs only changes
Skip running backend and UI changes for docs/website updates, as
indicated by branch name.
2019-11-22 11:51:57 -05:00
Mahmood Ali 07fe93da3c ci: match ci timeout to go test timeout
make test-nomad sets 15 minute time out for build.  Increase the ci
timeout to 20m, so we can get meaningful output and goroutine stack
traces rather than have test be simply killed by CircleCI.

The extra 5 minutes is a buffer for generating-structs and some
unnecessary padding.
2019-11-20 20:39:23 -05:00
Mahmood Ali 52af6e973b Refactor circleci CI scripts
This adopts pattern used by Vault, where we split CircleCI yaml config
into multiple files that get packed and translated to 2.0.

This has two motivations: First, to ease translating config to CircleCI
2.0 so it can run on Enterprise private repository.  Second and most
importantly, it also adding Enterprise specific jobs in separate files
with reduced config file merging conflict resolution.
2019-11-20 15:02:08 -05:00