Tom Wilkie
696a50fd27
Don't -i for different architectures.
2016-01-04 16:48:41 +00:00
Tom Wilkie
abebb0f197
Build new test VM (to pickup latest Docker version).
2016-01-04 16:10:27 +00:00
Tom Wilkie
9d91a06a75
Don't go get weave, git clone it.
2015-12-10 12:10:29 +00:00
Tom Wilkie
c749f5aa33
Merge probe and app binaries, run with ./scope probe or ./scope app.
2015-12-09 11:00:42 +00:00
Tom Wilkie
b3cc020d79
Fix up circle.yml for binary move.
2015-12-07 14:53:28 +00:00
David Kaltschmidt
c723978ec5
Upgraded react to 0.14.3
...
also add production globals to webpack config to reduce bundle size
2015-11-19 18:19:39 +01:00
Tom Wilkie
abc93e2d59
Merge some steps in vain attemp to speed up runs.
2015-11-11 18:47:05 +00:00
Tom Wilkie
5c717978d9
Run coverage reporting in post test stage, as teardown is run after the other shard has gone away.
2015-11-10 12:06:57 +00:00
Paul Bellamy
92ec7d9397
Move probe main.go to prog/probe/, break out a probe struct with appropriate responsibilities.
...
Also adds test for probe 'engine'
2015-11-09 16:25:28 +00:00
Tom Wilkie
9a9ef72ad6
Don't run integration test in parallel for now
2015-11-05 15:44:55 +00:00
Tom Wilkie
1ad7b4fce5
Speed up tests on circle.
...
- Ensure we use up to date build container when running tests.
- Parallelise host setup for integration tests.
- Pass some more circle env vars through to ./tools/tests so the scheduler works.
- Gather coverage from multiple shards.
- Create files as the right owner inside the container.
- Parallelise the circle.yaml
- Parallelise the intergration tests using existing machinery
- Build experimental in parallel.
- Use custom scheduler prefix for integration tests, so schedules don't clash with weave.
2015-11-04 15:35:21 +00:00
Tom Wilkie
8f2dc64762
Last try, then I give up
2015-11-03 17:01:03 +00:00
Tom Wilkie
6164d7dc94
Try again
2015-11-03 16:25:49 +00:00
Tom Wilkie
261ad4c6f3
Build the runner in the gopath.
2015-11-03 15:14:51 +00:00
Tom Wilkie
73c8d3ba56
Hack to make this work whilst we move the test runner.
2015-11-03 15:09:57 +00:00
Tom Wilkie
a0e2919726
Deal with move of runner.
2015-11-03 14:55:20 +00:00
Tom Wilkie
fb49e146ad
Build experimental stuff in a container too
2015-10-26 16:11:16 +00:00
Tom Wilkie
62aed75550
Fix couple of minor typos.
2015-10-26 15:42:06 +00:00
Tom Wilkie
00ac914be9
Don't need to clone a sepatate tools repo, or install a bunch of packages now.
2015-10-26 15:28:55 +00:00
Tom Wilkie
18a1354075
Add make tests target, which runs tests inside build container.
2015-10-26 15:23:00 +00:00
Tom Wilkie
7fd5a315e3
Build inside the build container, using go1.5, by default
...
Also build for GOOS=darwin and GOARCH=arm
2015-10-23 16:35:11 +00:00
Tom Wilkie
7e1a653349
Add status bar to setup.sh, compress the ssh tunnel to make it quicker.
2015-10-20 15:48:46 +00:00
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