Commit Graph

31 Commits

Author SHA1 Message Date
Tom Wilkie
fdf89a7fc7 Don't --rm containers on circle. 2015-09-14 04:16:52 +00:00
David Kaltschmidt
392f8ce69b fix file list for circle deployment, add JS lint
* lint will be done in build step and fail with error
2015-08-24 12:41:17 +02:00
Tom Wilkie
efeba4a2ed Use rebuild-image script from tools.git
- Add some extra files to build image
- Add make to UI build container
2015-08-17 16:26:06 +00:00
Tom Wilkie
3a1f376c29 Use tools.git 2015-08-17 16:26:04 +00:00
Tom Wilkie
a2ec507a14 Add apt-get update to circle 2015-08-17 12:58:03 +00:00
Paul Bellamy
ff86370df8 fixing and simplifying circle build
The integration tests were using two different versions of weave. One to
launch the weave container, and another used by scope.
2015-08-11 14:14:25 +01:00
Peter Bourgon
b9afa67ad6 gopacket-based traffic sniffing 2015-08-03 10:55:59 +02:00
Paul Bellamy
625a08bd21 forgot to remove reference to gce-parameterize branch of weave 2015-07-31 11:46:50 +01:00
Paul Bellamy
8aede5aaf9 Fixing the build
* override the weave template and hosts count for gce
* weave gce script wants jq as well now
* build the new weave go test runner
2015-07-31 10:31:07 +01:00
Tom Wilkie
ad1ffa87d3 Update circle.yml for changes in weave.git 2015-07-20 13:50:52 +00:00
Tom Wilkie
cf261282e2 Detect when to rebuild cached build image. 2015-07-08 15:43:48 +00:00
Tom Wilkie
560e413fe0 Clean after making darwin binaries 2015-07-06 14:00:29 +00:00
Paul Bellamy
08f62aa4cb Merge pull request #273 from paulbellamy/integration-tests
First pass at integration tests
2015-07-03 09:55:37 +01:00
Paul Bellamy
0a0b3147c7 [circle] run tests on prs, but skip integration tests
check before each integration test line is a bit ugly. Can combine them
into one step, but then you don't get metrics on how long each step
takes (in circle).
2015-07-02 14:16:53 +01:00
Peter Bourgon
36212cea3e Fix probe/host for Darwin
Also, add explicit GOOS=darwin target for circle.
2015-06-29 18:27:22 +02:00
Paul Bellamy
ff9771f112 initial integration test setup
Integration tests are only run on circle. They checkout the weave
project, and use test helpers from there.

There are just a few basic tests for now, to confirm it works.
2015-06-29 15:40:40 +01:00
David Kaltschmidt
934082bca1 fail make static on build JS build errors
fixes #277
2015-06-25 17:12:08 +02:00
Tom Wilkie
1e92e7dcbd Introduce renderers; allow them to recurse. 2015-06-16 10:54:30 +00:00
Tom Wilkie
bd9865f217 Introduce ./bin/test -slow, run by circle. Allow developers to run faster tests. 2015-06-10 15:54:09 +00:00
Tom Wilkie
b031835148 Fixup experimental, add a makefile and add it to circle to stop experimental getting broken again. 2015-06-05 13:44:59 +00:00
David Kaltschmidt
66d66a4d01 Fix grouping bar for topologies that don't support grouping
- fixes #61
- dont clear nodes cache if topo is the same
- combined stores that were interdependent
- dont show topology grouping menu if unsupported
- also harmonized some variable names
- removed old grouping switcher
- moved topo actions to app actions, removed search
- get correct topology url
- first JS test using Jest
- make tests run on circle using the build container.
- replaced jest test runner with karma/jasmine
- Use debian for UI build and test container.
- updated karma-browserify
2015-05-22 16:41:48 +00:00
Tom Wilkie
07e1f0ff18 Squash docker layers to make the scope image fetch nicer. 2015-05-22 10:25:00 +00:00
Tom Wilkie
8db53458dd Use netgo tag to rebuild go std lib so resulting binaries are statically compiled. 2015-05-21 14:47:15 +00:00
Tom Wilkie
3ff95c8e2e Use circle's owner filter for deploy. 2015-05-20 11:44:35 +00:00
Tom Wilkie
98b7a0297b Automatially push master builds to docker hub. 2015-05-20 10:58:37 +00:00
Tom Wilkie
f207e6aa4a Merge pull request #58 from weaveworks/build-js-v2
Build js in docker image
2015-05-20 12:48:40 +02:00
David Kaltschmidt
4ca869d891 Automated UI building
- Add Dockerfile for js build image
- Wire up dockerized-ui build to the makefile.
- Removed unused dev tools from package.json/gulp
2015-05-20 10:45:35 +00:00
Tom Wilkie
441b71884b Save the coverage.html and scope image after each build. 2015-05-20 10:42:56 +00:00
Tom Wilkie
b1d1ce8db4 Don't fail build if coveralls has a hickup. 2015-05-20 08:16:48 +00:00
Tom Wilkie
4c3912edf0 Add lint script; run it on circle. Intentionally don't lint static.go. 2015-05-19 10:43:04 +00:00
Tom Wilkie
4598d37ecd Add circle ci config and test script. 2015-05-19 10:05:04 +00:00