Commit Graph

109 Commits

Author SHA1 Message Date
jpellizzari
6619f59cf1 test 2017-04-17 11:01:23 -05:00
jpellizzari
8a74b03deb fixup 2017-04-17 11:01:23 -05:00
jpellizzari
0af66ac3db test 2017-04-17 11:01:23 -05:00
jpellizzari
336afe0f24 test 2017-04-17 11:01:23 -05:00
jpellizzari
4690be8618 test 2017-04-17 11:01:23 -05:00
jpellizzari
b57a90dc99 ci fix 2017-04-17 11:01:12 -05:00
jpellizzari
e4ddc7f38e ci fix 2 2017-04-17 11:00:41 -05:00
jpellizzari
878cd2c611 ci fix 2017-04-17 11:00:41 -05:00
jpellizzari
1616f72ff6 Removed trigger job from circle.yml 2017-03-27 08:13:58 -07:00
Bryan Boreham
97dda9454d Fix mismatched code coverage errors
'codecgen' embeds a random integer in each identifier; this means code
coverage across different CircleCI lanes may not match.
Here we force the integer to 23 on every CircleCI build so they always match.
2017-03-23 13:31:38 +00:00
jpellizzari
b8326f417f Added job to trigger service-ui build 2017-03-22 13:00:57 -07:00
Alfonso Acosta
4c4b21ec66 Revert "Don't run integration tests, as the VMs are being compromised."
This reverts commit 093c21c207.
2017-03-08 14:43:33 +00:00
Tom Wilkie
093c21c207 Don't run integration tests, as the VMs are being compromised. 2017-03-08 14:30:15 +00:00
jpellizzari
3d0e109ea7 Fix for make ui-pkg-upload job rename 2017-02-27 11:53:13 -08:00
Alfonso Acosta
98395bb595 Create cloud agent image (#2284)
* Create cloud-agent image

* Refactor Makefile

* Push the image from CircleCI and releases

* Review feedback

* Review feedback

* Review feedback
2017-02-27 17:49:26 +01:00
Alfonso Acosta
5516f7b7d0 Revert "Disable Scope integration tests."
This reverts commit fe7ec8f133.
2017-02-27 11:54:40 +01:00
Tom Wilkie
4d6e8d4623 Don't collect coverage artifacts 2017-02-26 18:14:34 +00:00
Tom Wilkie
fe7ec8f133 Disable Scope integration tests. 2017-02-26 17:51:34 +00:00
jpellizzari
efdd8e4b0e Changed ui-build-pkg job to use a docker container 2017-02-24 14:03:05 -08:00
Alfonso Acosta
285faaf8fe Merge pull request #2225 from kinvolk/alban/integration2
integration tests: fix scripts
2017-02-22 13:47:02 +01:00
Mike Lang
cdfd5a9375 circle.yml: Fix ui upload step so it doesn't build twice
There are two source checkouts in circle, and we were building in the wrong one
(ie. not the one where the earlier build happened). This was wasteful at best
and buggy at worst due to build differences.
2017-02-21 20:33:02 -08:00
Alessandro Puccetti
fabafecb0c circle.yml: update python-requests pkg
Update the build-tools introduced a regression while building on circle
ci.

The PR https://github.com/weaveworks/build-tools/pull/73 is compatible
with python requests module `>=v2.4.2`. We need to provide a more
updated version of the one available in ubuntu 12.04 or 14.04
repositories.
2017-02-21 17:19:19 +01:00
Michael Schubert
f850f4486a Update circle.yml for Ubuntu 14.04
Change the owner of "$HOME/.bashrc.backup" as the Google cloud cli wants
to backup to this file during setup and it's owned by root in the Circle
CI image.

Second, allow writes to `/usr/local/go/pkg` for `go install net` to
work.
2017-02-21 17:19:19 +01:00
Alfonso Acosta
e5d8c8e8b6 Bump Docker in CircleCI to 1.10 2017-02-03 14:24:16 +00:00
Jordan Pellizzari
29edaebba3 Removed ui-build-pkg from circle.yml 2017-01-24 23:06:45 -08:00
jpellizzari
9acca772a9 Added npm module scripts to CI 2017-01-24 13:36:39 -08:00
Alfonso Acosta
75ed573425 Remove whitespace 2017-01-17 12:32:22 +00:00
Alfonso Acosta
8fe95c6519 Fix typo 2017-01-17 12:31:36 +00:00
Alfonso Acosta
a8a2911bda Deploy to quay when merging to master
To workaround the 500s obtained from Docker Hub
2017-01-17 11:20:25 +00:00
Paul Bellamy
6b54cd28b2 Merge pull request #2081 from weaveworks/remove-wcloud
Remove wcloud
2016-12-12 15:24:09 +00:00
Paul Bellamy
2caa2b6770 Remove wcloud 2016-12-12 10:07:09 +00:00
jpellizzari
38344a2a48 Added client linting to circle.yml 2016-12-08 11:08:25 -08:00
Alessandro Puccetti
655b532ac3 circleci: update circle.yml
Remove traffic-control plugin build and push.
2016-11-14 10:56:38 +01:00
Mike Lang
2bc31e8728 Fix circle.yml to actually deploy external ui changes (#1910)
Conditional was the wrong way around.
2016-10-07 18:20:39 -07:00
Mike Lang
ec37214778 Add flag to allow using external ui, and ability to upload to bucket during CI 2016-10-05 17:27:18 -07:00
Mike Lang
2c9f6c197f Split prog/static.go into two versions, and have a shim choose between them
This allows us to have both normal and external resource versions of static content
in the same binary, and switch with a flag
2016-10-05 17:26:57 -07:00
Alessandro Puccetti
66390c8b0e circleci: push traffic control plugin image to docker hub
After this patch, circleci builds the traffic control plugin image and
pushes it on docker hub. Rename traffic control plugin docker image
to "weaveworks/scope-traffic-control-plugin".
2016-09-12 15:47:28 +02:00
Tom Wilkie
38cc5aa29e On circle, report username as circle to wcould (#1815) 2016-08-18 12:06:49 +01:00
Mike Lang
21cfc83a56 Use image-tag from build-tools (#1785)
* Squashed 'tools/' changes from e9e7e6b..db5efc0

db5efc0 Merge pull request #28 from weaveworks/mike/add-image-tag
5312c40 Import image-tag script into build tools so it can be shared
7e850f8 Fix logs path
dda9785 Update deploy api
f2f4e5b Fix the wcloud client
3925eb6 Merge pull request #27 from weaveworks/wcloud-events
77355b9 Lint
d9a1c6c Add wcloud events, update flags and error nicely when there is no config

git-subtree-dir: tools
git-subtree-split: db5efc0537

* Remove ./image-tag and use ./tools/image-tag instead

image-tag is now shared code from the build-tools repo
2016-08-16 15:52:12 +01:00
Alban Crequy
d761f18e5b circle.yml: another fix for deploy master with non-upstream hub accounts
After https://github.com/weaveworks/scope/commit/e2441623 "wcloud
deploy" is run in the main deploy unit guarded by the environment
variable. But the test makes it fail when it is not run under
"weaveworks".
2016-07-21 15:25:34 +02:00
Tom Wilkie
e24416236f Circle will only run a single deploy step it seems 2016-07-21 13:47:15 +01:00
Alban Crequy
652913084a circle.yml: deploy master with non-upstream hub accounts (#1655)
* circle.yml: deploy master with non-upstream hub accounts

Since b4abe582f4, images are tagged on
Docker Hub. But this was not working for non-upstream Docker Hub
accounts. This patch should fix that.

Symptoms: https://circleci.com/gh/kinvolk/scope/23

> The push refers to a repository [docker.io/kinvolk/scope] (len: 1)
> error getting tags for kinvolk/scope: Tag does not exist for
> master-b89e9ec

Also, ensure that the Docker tag name does not include any '/'.

Symptoms: https://circleci.com/gh/kinvolk/scope/24

> docker tag weaveworks/scope weaveworks/scope:alban/hub1-ef739d9
> repository name component must match "[a-z0-9]+(?:[._-][a-z0-9]+)*"

* extras/in_parallel.sh: ensure unique schedule name

Use CircleCI environment variables as documented on:
https://circleci.com/docs/environment-variables/

Symptoms:
> $ cd $SRCDIR/extras; ./build_on_circle.sh
> Doing graphviz/graphviz
> make: *** No rule to make target `graphviz/graphviz'.  Stop.

See: https://github.com/weaveworks/scope/pull/1655#issuecomment-232696357

* circle.yml: separate wcloud deployment

Do not run wcloud for non-weaveworks builds, as suggested by
https://github.com/weaveworks/scope/pull/1655#discussion_r71179373
2016-07-21 10:26:23 +01:00
Tom Wilkie
cafaff8960 Wire up continuous delivery (#1654) 2016-07-12 13:05:21 +01:00
Jonathan Lange
1c440486f0 Delete experimental, replace with 'extras'
extras contains fixprobe and example, and ought to build properly
2016-07-07 14:30:08 +01:00
Tom Wilkie
b4abe582f4 Tag scope images on docker hub as we do in service (#1572) 2016-06-14 10:10:51 +01:00
Alban Crequy
b20e292390 circle.yml: deploy non-master branches (#1535)
By default, non-master branches are not deployed on the Docker Hub. With
this patch, you can enable this feature by setting the environment
variable DEPLOY_BRANCH in the circle configuration.

It will not be tagged with the "latest" tag but instead derive the tag
from the branch name. Since "/" are not allowed in Docker tag names, all
"/" are replaced by "-".

When testing code in Scope, I use circle to build the Docker image but I
don't want to always use my "master" branch for development.
2016-05-28 12:02:42 +01:00
Tom Wilkie
c8828826ae Allow user to specify table name and queue prefix. (#1538)
* Allow user to specify table name and queue prefix.

* Trim leading slash, catch missed queue prefix

* Comment out publish step until devwww is fixed.
2016-05-25 10:09:32 +01:00
Tom Wilkie
afd3cdeb22 Review feedback 2016-05-18 14:55:47 +01:00
Tom Wilkie
607b7fd187 Circle integration for auto docs publishing. 2016-05-18 14:00:50 +01:00
Alban Crequy
726fbad69d circle.yml: add variable $DOCKER_ORGANIZATION
With this patch, CircleCI will push by default to the Docker repository
$DOCKER_ORGANIZATION/scope. If $DOCKER_ORGANIZATION is not defined, it
will use $DOCKER_USER/scope.
2016-03-01 14:30:40 +01:00