Commit graph

80 commits

Author SHA1 Message Date
Chris Baker bd26f885ce docs: added docs website tests using a simple wget --recursive 2018-10-08 14:44:23 -04:00
Alex Dadgar 99c386c076 skip e2e/vault if integration isn't set 2018-09-25 11:29:09 -07:00
Alex Dadgar 5e4da194e3 build nomad in e2e tests 2018-09-19 10:38:20 -07:00
Alex Dadgar 9d85eaa2ab run in matrix 2018-09-19 10:21:57 -07:00
Alex Dadgar 34e704df64 test automation 2018-09-19 10:18:10 -07:00
Michael Schurter cb9663acf2 Add a -race enabled build to Travis
Allow it to fail for now with the goal of making it the default build in
the future.
2018-08-27 14:15:56 -07:00
Chelsea Holland Komlo 457a0c34b3 add dev dependency for generating protobufs 2018-08-06 11:43:24 -04:00
Michael Lange cf11b1f820 Remove phantomjs call from the makefile 2018-06-11 16:22:52 -07:00
Alex Dadgar bcec68d41d Travis tests binary built with generated files 2018-04-26 15:24:53 -07:00
Michael Schurter d687761ebf rkt: test Stats() and always run tests
Remove the NOMAD_TEST_RKT flag as a guard for rkt tests. Still require
Linux, root, and rkt to be installed. Only check for rkt installation
once in hopes of speeding up rkt tests a bit.
2018-04-24 11:05:42 -07:00
Michael Schurter d3650fb2cd test: build with mock_driver by default
`make release` and `make prerelease` set a `release` tag to disable
enabling the `mock_driver`
2018-04-18 14:45:33 -07:00
Michael Lange 6b0498e079 Run yarn silently during make ember-dist 2018-03-20 11:31:35 -07:00
Michael Schurter 86ccdb9115 Fix generating static assets
Broke due to a change in go-bindata-assetfs
2018-03-19 15:52:38 -07:00
Preetha Appan 1fa50d22d3
Disables verbose mode in travis 2018-02-20 18:38:18 -06:00
Preetha Appan 3a31c19c4a
Make tests in travis be verbose 2018-02-14 10:42:57 -06:00
Alex Dadgar 6c82375524 Switches to HashiCorp fork of jteeuwen/go-bindata.
We make a HashiCorp hard fork of the jteeuwen/go-bindata hard fork that
was replaced and diffed the code against a Dec 1, 2015 copy of the
original repository we had as a cross-check of that hard fork.

This replaces references to jteeuwen/go-bindata to point to the
HashiCorp fork.
2018-02-07 09:48:57 -08:00
Michael Lange 4e74096834 Lock down yarn version 2018-01-17 09:02:04 -08:00
Preetha Appan 32f19b563b
Add changelog formatting to make dev 2018-01-03 16:38:41 -06:00
Preetha Appan c674d7de28
Linkify changelog issues 2017-12-12 15:52:58 -06:00
Preetha Appan 61a7606cd4
Changes vendor.json to one dependency per line 2017-12-12 10:30:36 -06:00
Preetha Appan d0fde78aa3
Removes variable value printer 2017-12-06 18:29:25 -06:00
Preetha Appan d162c715d9
Remove newline 2017-12-06 13:36:46 -06:00
Preetha Appan d8ecdd2bf9
Makes tests on travis not run in verbose mode. 2017-12-06 13:30:31 -06:00
Alex Dadgar c3f3f5092c drop gas 2017-12-04 13:07:24 -08:00
Charlie Voiselle 7da73ce878 Makefile typos 2017-11-13 14:57:17 -05:00
Michael Lange 1845fa4711 Make make dev-ui work as expected 2017-11-10 13:27:48 -08:00
Michael Schurter 0cf93cbc14 Fix git commit build flag 2017-11-03 16:01:01 -07:00
Preetha f72b705240
Merge pull request #3477 from hashicorp/verbose_test
Run test with verbose mode and log to a file
2017-11-01 15:02:27 -05:00
Preetha Appan bf33e6b92e Also search for panics and output 10 lines of context around it 2017-11-01 13:53:03 -05:00
Alex Dadgar cc5a4041ec fix tags 2017-10-31 14:52:01 -07:00
Preetha Appan 49d5c534a2 Run test with verbose mode and log to a file 2017-10-31 12:38:29 -05:00
Alex Dadgar 938deab01d document release procedure 2017-10-26 10:08:19 -07:00
Alex Dadgar 68c0d8a77a add static ui assets 2017-10-25 17:01:26 -07:00
Alex Dadgar 17fa2f598e Merge pull request #3435 from hashicorp/f-travis-seperate
seperate linting from testing
2017-10-25 16:31:55 -07:00
Alex Dadgar b335661363 seperate linting from testing 2017-10-24 10:52:26 -07:00
Alex Dadgar 18b759ee6f Build nomad before testing 2017-10-24 09:35:51 -07:00
Alex Dadgar cb0d0ef009 move to consul freeport implementation 2017-10-23 16:51:40 -07:00
Alex Dadgar dbc014b360 Standardize retrieving a free port into a helper package 2017-10-23 16:48:20 -07:00
Alex Dadgar c41c0ea6e8 Only check scripts on linux and don't double lint 2017-10-19 16:49:58 -07:00
Alex Dadgar 5d449804cb check lxc properly 2017-10-19 15:53:19 -07:00
Alex Dadgar 60111b5af7 Spell check website 2017-09-27 11:14:37 -07:00
Alex Dadgar 4173834231 Enable more linters 2017-09-26 15:26:33 -07:00
Alex Dadgar bc775861cc fix metalinter checking ui dir 2017-09-19 11:49:34 -05:00
Alex Dadgar e5ec915ac3 sync 2017-09-19 10:08:23 -05:00
James Nugent 12d41dbfe0 build: Lint shell scripts, and make all shell scripts lint cleanly 2017-09-08 19:50:39 -05:00
James Nugent 094fa23df6 build: Rework Vagrant to support multiple OS boxes
This commit reworks the Vagrantfile for Nomad in order to support
straightforward testing on more than one operating system, whilst
retaining the ability to stand up a test cluster running Ubuntu.

The following changes are made:

- Scripts have been extracted from the Vagrantfile into their own shell
  script files, in order that editors lint them.

- All scripts have been edited to lint with no warnings or errors for
  their respective shells.

- Scripts are named according to the operating system and privilege
  level which they run. We prefer to run a whole shell script as root
  versus prefixing (essentially) every command with `sudo` or an
  equivalent.

- The Linux development box has been separated from the test cluster,
  removing some of the more gnarly (and less portable) logic. The Linux
  development box is still primary and autostarts.

- A FreeBSD target has been added. The base box works for both
  Virtualbox and VMWare Fusion.

- A target is added to the GNUmakefile to stand up a test cluster, using
  the default provider, or overriding the provider by setting the PROVIDER
  variable in make:
	- `make testcluster`
	- `make testcluster PROVIDER=vmware_fusion`

- Machines in the test cluster have Avahi configured for zeroconf
  discovery. Each machine can ping each other machine at `hostname.local`
  - for example `nomad-server02.local`, `nomad-client03.local`.
2017-09-08 19:45:38 -05:00
James Nugent 85002aa8c1 build: Add build targets for FreeBSD/amd64 2017-09-08 18:40:26 -05:00
Alex Dadgar f365ee4a9b Fix Windows AMD64 build architecture 2017-09-05 17:23:21 -07:00
Chelsea Holland Komlo 81f6f1be69 add .exe file extensions for windows builds 2017-08-29 19:15:55 +00:00
Alex Dadgar b94d0e4b08 fix zip structure 2017-08-28 22:29:49 -07:00