Bryan Boreham
b7a9947c2f
Remove manifests for Kubernetes 1.6 and 1.7
...
They are ancient history; reduce maintenance load by removing
2021-01-11 14:34:09 +00:00
Bryan Boreham
7c2084b9af
Move ansible install out from every CI run
...
to only where we create images.
2020-05-29 13:33:30 +00:00
Bryan Boreham
c97c50b76e
Merge pull request #3735 from weaveworks/release-script-add-k11
...
Add weave-daemonset-k8s-1.11.yaml to release script
2019-12-13 11:37:09 +00:00
Murali Reddy
6d2366ca4c
upgrade to newer terraform that is compatible with google cloud API
...
Fixes #3741
2019-12-06 10:19:27 +05:30
Bryan Boreham
5c508f837e
Add manifest for Kubernetes 1.11 and above
2019-11-11 10:15:53 +00:00
Bryan Boreham
1e0431f6b2
Merge pull request #3674 from weaveworks/weave-daemonset
...
delete weave-daemonset.yaml
2019-08-30 10:25:45 +01:00
Bryan Boreham
77bfa6a7e4
Remove references to weave-daemonset.yaml from release script and docs
2019-08-29 11:37:55 +00:00
Peeyush Gupta
991945081a
Move daemonset API to apps/v1
2019-08-29 13:57:16 +05:30
Bryan Boreham
d1d618ccb3
SRCDIR removed from this step
2018-08-10 14:02:12 +00:00
Bryan Boreham
80e2ff0353
Adjust for change in docker login command
2018-08-10 13:39:21 +00:00
Bryan Boreham
1a8794e90f
Run coverage analysis in separate step, and save results
...
Remove CircleCI 1.0 implementation which used scp to contact other
lanes.
Note we can't use an env var in store_artifacts clause
2018-07-30 10:18:57 +00:00
Bryan Boreham
e3576e13a7
Don't copy the source directory somewhere else
2018-07-30 10:16:18 +00:00
Bryan Boreham
b3e77e81ea
Split into several jobs
...
Run build, lint and unit-test steps in a container, using a pre-built
image to save rebuilding at CircleCI
Move a couple of scripts up to config.yml for clarity
2018-07-30 10:16:18 +00:00
Bryan Boreham
b13eb5ada5
Run gen_coverage as a 'deploy'
2018-07-30 10:16:18 +00:00
Bryan Boreham
6337972c8a
Don't need to pipe background commands to file in Circle 2.0
2018-07-30 10:16:18 +00:00
Bryan Boreham
8620d0ae4f
Change CircleCI config to 2.0 version
...
Environment variables are moved out to a script, because CircleCI 2.0
does not support expansion of '$foo' in 'env' section.
2018-07-30 10:16:18 +00:00
Bryan Boreham
911751d0c1
Remove docs-only support in CI - docs moved to Netlify
2018-07-30 09:22:34 +00:00
Munro, Louis
b262a1eedc
Fix xtables.lock race condition between weave and kube-proxy.
...
Fixes #3351
2018-07-22 13:12:00 -04:00
Bryan Boreham
51c3ea184a
Fix release script for plugin latest_release
...
We should never update the latest_release plugin on a PRERELEASE.
We should always update it on a MAINLINE or BRANCH release.
2017-11-27 15:04:39 +00:00
Bryan Boreham
ea0e3a14e0
Merge branch '2.0'
2017-10-17 10:17:25 +00:00
Bryan Boreham
4a1a1e83c8
Update Python 'setuptools' module to resolve issue
...
Symptom of issue was this message:
error in cryptography setup command: Invalid environment marker: platform_python_implementation != 'PyPy'
2017-10-17 10:17:06 +00:00
Bryan Boreham
fe859952e0
Merge branch '2.0'
2017-10-04 16:05:07 +00:00
Brice Fernandes
292cbc484a
Fix other occurences of GNU-specific sed invocation
2017-10-04 12:12:28 +01:00
Bryan Boreham
c16653a396
Mount iptables lock file in weave-kube ( #3134 )
...
Mount iptables lock file in weave-kube
iptables uses the file `/run/xtables.lock` so that if changes are
under way, another instance of the iptables command can wait till it
is finished.
We need to mount the lock file from the host to the container in order
for this mechanism to work at all.
Note we rely on kubelet touching the file before running any pods -
see https://github.com/kubernetes/kubernetes/pull/47212
2017-10-03 14:52:49 +01:00
Marc CARRE
e7092612a9
Swap publish and plugin_publish.
...
Currently our `Makefile` and `bin/release` scripts are such that we effectively do the following when releasing:
```
publish:
for arch in [amd64 arm arm64]:
sub-publish:
clean_bin
publish
plugin_publish
```
which leads the Docker v2 plugin to contain `arm64` binaries even though we target `amd64`.
Swaping `publish` and `plugin_publish` is a simple way to avoid this.
2017-06-28 17:16:53 +01:00
Marc CARRE
0e3a749f69
Merge remote-tracking branch 'origin/remove-wordepress'
2017-05-23 12:04:34 +01:00
Bryan Boreham
534dd8e16a
Stop doing Wordpress previews on Pantheon
...
Now we are using Netlify instead
2017-05-23 11:33:57 +01:00
Marc CARRE
43249a8d39
Change all launch-*/stop-* commands to launch/stop.
...
Given `proxy` & `router` processes have been merged, `launch-proxy`,
`launch-router`, `stop-proxy`, `stop-router` do not make sense any more, and
should just be `launch` and `stop` with the appropriate flags.
2017-05-10 10:25:36 +00:00
Bryan Boreham
8e80cd1441
Patch wordepress on all kinds of build
2017-05-05 20:53:18 +01:00
Bryan Boreham
bb66b6161a
Merge branch '1.9'
2017-05-05 17:23:01 +00:00
Bryan Boreham
e93a145bab
Build a version of wordepress that handles 'search-type' attribute
2017-05-05 16:58:33 +00:00
Martynas Pumputis
7fc56e54b3
Add plugin_publish target to Makefile
...
"docker plugin" does not support tagging plugin images, therefore
we need to build plugin images two times - one for :latest and
for :$(WEAVE_VERSION).
Pushing of :latest happens only if $UPDATE_LATEST is not false.
2017-04-12 13:05:40 +00:00
Bryan Boreham
272161b00b
Add k8s-1.6 daemonset to release script
2017-03-21 14:23:13 +00:00
Marc CARRE
ef8b576742
Default behaviour now is to create a GCP image if missing.
...
We previously had 'use image' as a default, but not 'create image', which is inconsistent and leads to unexpected failures.
2017-02-08 14:15:59 +00:00
Marc CARRE
1176d44044
Run git submodule update --init as the very first step in CircleCI.
...
Doing so in circle-dependencies-post arrives too late for background provisioning.
2017-02-08 14:15:59 +00:00
Marc CARRE
a51bc6164c
Signal provisioning failures to fail the build fast.
...
There may be situations when Terraform/Ansible/etc. fail to provision test machines.
In these cases, we want to fail fast instead of waiting until we time out in circle-test-pre and circle-test-smoke.
2017-02-08 14:15:59 +00:00
Marc CARRE
dd935b7e9e
Provision and destroy test VMs in the background.
...
This should help speed-up the build by provisioning test VMs while we run unit tests, and destroying them while we generate coverage reports.
2017-02-08 14:15:59 +00:00
Marc CARRE
3e5593dc4f
Add GCP image creation and usage.
...
Provisioning and configuration being expensive time-wise, we create Google Cloud Platform images for each Docker/Kubernetes/Kubernetes CNI versions triple, and configure these once (instead of for each build), and then re-use these in subsequent builds, effectively implementing a 'cache' of images.
2017-02-08 14:15:59 +00:00
Marc CARRE
a2679794b3
Install Terraform and Ansible in CircleCI's containers.
...
Terraform and Ansible are now required to run the smoke tests.
2017-02-08 14:15:59 +00:00
Marc CARRE
30f59953d2
Smoke tests are now run using Terraform, Ansible and run-integration-tests.sh.
2017-02-08 14:15:59 +00:00
Bryan Boreham
7265c6ea03
Move sed of daemonset up next to weave script
...
For consistency, also for easier unpicking if the 'draft' stage fails
2017-02-03 12:18:48 +00:00
Bryan Boreham
0792f0717d
Revert "Temporarily release weave-daemonset.yaml to weave-kube repo"
...
This reverts commit 23056cbb45 .
Explanation: weave-kube has been moved into the weave repo
2017-02-02 11:56:54 +00:00
Marc CARRE
8e6cb5e24d
Print files we currently do not lint.
...
Makes what the build does explicitly and helps for potential debugging.
Also reminds us that we are skipping these files, so that we ultimately shfmt them and stop lint-ignoring them.
2017-01-25 17:14:48 +00:00
Bryan Boreham
69dacd0594
Restrict CircleCI publishing to AMD64
2017-01-25 10:52:53 +00:00
Bryan Boreham
353ccf5e6c
Move build to 'dependencies' section
...
This means we don't spend time trying to run other tests if the build failed.
2017-01-19 10:59:16 +00:00
Marc CARRE
edc0cdbc10
Sanity checks' output is now redirected to $CIRCLE_ARTIFACTS directly when running smoke tests in CircleCI.
...
Previously sanity checks' output was redirected to /tmp and then copied to $CIRCLE_ARTIFACTS, which is more "moving pieces".
2017-01-09 12:25:29 +00:00
Marc CARRE
f73fb5307f
Redirect sanity checks' output to temporary files (and archive them as artifact files under CircleCLI).
...
This should make it easier to find and access relevant debugging information without polluting STDOUT and without any risk of log interleaving. See also:
- https://weaveworks.slack.com/archives/net/p1482154505001192
- https://weaveworks.slack.com/archives/net/p1482254780001493
2017-01-09 09:17:45 +00:00
Bryan Boreham
7328c3fe86
Comment about full build on first push
2017-01-06 10:54:13 +00:00
Bryan Boreham
2298a40327
Fix bug which was killing all smoke-tests
...
- only fail if there is no secret password
2017-01-04 14:53:43 +00:00
Bryan Boreham
ab55da47b6
Check if we have secrets before decrypting or running smoke tests
...
And enable running CircleCI on forked pull requests
2016-12-23 16:06:20 +00:00