Commit Graph

109 Commits

Author SHA1 Message Date
Paul Bellamy
92cd0b84ad [wcloud] Add support for repo_branch option 2016-08-24 10:16:44 +01:00
Tom Wilkie
9f760ab1fb Allow wcloud users to override username 2016-08-18 11:31:22 +01:00
Tom Wilkie
38037f8bf6 Merge pull request #33 from weaveworks/wcloud-templates
Support templates for commit messages and notifications in wcloud
2016-08-17 17:56:15 +01:00
Tom Wilkie
7acfbd7034 Propagate the local username 2016-08-17 15:11:04 +01:00
Tom Wilkie
e6876d1cec Add template fields to wcloud config. 2016-08-17 15:05:44 +01:00
Jonathan Lange
f1bb537a19 Merge pull request #30 from weaveworks/mike/shell-lint/dont-error-if-empty
shell-lint: Don't fail if no shell scripts found
2016-08-17 14:34:06 +01:00
Jonathan Lange
e60f5dfc26 Merge pull request #31 from weaveworks/mike/fix-shell-lint-errors
integrations: Fix a shellcheck linter error
2016-08-17 14:30:30 +01:00
Mike Lang
e8e2b698e5 integrations: Fix a shellcheck linter error 2016-08-17 14:28:28 +01:00
Mike Lang
a781575611 shell-lint: Don't fail if no shell scripts found
This fixes the case where the provided paths do not contain any shell scripts,
ie. xargs is passed no values.
In this case by default, xargs invokes the command once with no args.
This causes shellcheck to print usage and exit failure.
The GNU-specific --no-run-if-empty changes the behaviour so that in this case,
shellcheck is simply never run.

This allows us to use this script as a general lint even in contexts where
no shell scripts are present, or none of the files passed are shell scripts.
2016-08-17 14:23:52 +01:00
Mike Lang
db5efc0537 Merge pull request #28 from weaveworks/mike/add-image-tag
Import image-tag script into build tools so it can be shared
2016-08-12 06:36:07 -07:00
Mike Lang
5312c40075 Import image-tag script into build tools so it can be shared
We have divergent versions of this script across repos.
This particular version comes from 6334836@scope.
We in particular want this version's changes to support branches
with a '/' character in them.
2016-08-12 14:30:39 +01:00
Tom Wilkie
7e850f87df Fix logs path 2016-07-21 17:10:01 +01:00
Tom Wilkie
dda9785758 Update deploy api 2016-07-20 17:40:55 +01:00
Tom Wilkie
f2f4e5bff7 Fix the wcloud client 2016-07-18 15:44:19 +01:00
Tom Wilkie
3925eb67fc Merge pull request #27 from weaveworks/wcloud-events
Add wcloud events, update flags and error nicely when there is no config
2016-07-18 14:13:49 +01:00
Tom Wilkie
77355b9f62 Lint 2016-07-18 13:04:42 +01:00
Tom Wilkie
d9a1c6cfa3 Add wcloud events, update flags and error nicely when there is no config 2016-07-18 12:54:41 +01:00
Jonathan Lange
e9e7e6b0f0 Merge pull request #26 from weaveworks/this-time-for-sure
Properly exclude vendor from lint
2016-07-15 11:34:39 +01:00
Jonathan Lange
df494d6a2d Remove dependencies 2016-07-15 11:31:58 +01:00
Jonathan Lange
c045d165bc Properly exclude vendor from lint 2016-07-15 11:19:09 +01:00
Tom Wilkie
2cfcf087a3 Add blacklist to wcloud client 2016-07-15 11:14:45 +01:00
Jonathan Lange
ca6ebfba10 Merge pull request #25 from weaveworks/fix-brokenness
Test directories need ./ prefixes, obviously.
2016-07-14 17:56:17 +01:00
Jonathan Lange
bfb174766f Test directories need ./ prefixes, obviously. 2016-07-14 17:44:19 +01:00
Paul Bellamy
5b9b3140c2 Merge pull request #24 from weaveworks/find-files
Find files correctly
2016-07-14 17:03:38 +01:00
Jonathan Lange
87864270ee Remove spurious debugging code from test 2016-07-14 16:42:51 +01:00
Jonathan Lange
8b7ec6ebbc Speed up test by using git ls-files 2016-07-14 16:42:38 +01:00
Jonathan Lange
cf53dc1f19 Exclude vendor from shell linting 2016-07-14 16:42:23 +01:00
Tom Wilkie
b2ab380391 Fix field name 2016-07-14 15:18:28 +01:00
Tom Wilkie
c86fd3d5bd Add notification config for wcloud 2016-07-14 14:45:06 +01:00
Paul Bellamy
f643920d11 Merge pull request #23 from weaveworks/only-lint-git-files
Only lint git files
2016-07-13 15:18:21 +01:00
Jonathan Lange
47a01522c6 Only lint git files
Means we don't get spurious warnings from generated Javascript files.
2016-07-13 15:09:24 +01:00
Jonathan Lange
50d47f9f06 Merge pull request #22 from weaveworks/shell-lint
Shell lint
2016-07-13 10:25:59 +01:00
Jonathan Lange
0620e589fa Review tweaks 2016-07-12 15:51:42 +01:00
Jonathan Lange
8c6170d292 Fix lint in all the build-tools scripts 2016-07-12 14:21:22 +01:00
Jonathan Lange
239935c063 shell-lint tool 2016-07-08 15:25:43 +01:00
Jonathan Lange
d9ab133a85 Script for finding files with a given type 2016-07-08 14:10:50 +01:00
Tom Wilkie
1b64e461c2 Add Weave Cloud client 2016-07-07 16:46:31 +01:00
Bryan Boreham
f2e40b45c8 Time out commands after three minutes
This means we get to see their output up to the point they timed out,
and also means that we avoid CircleCI killing the entire job after
five minutes of inactivity.
2016-06-13 17:10:46 +01:00
Bryan Boreham
2da55ceef2 Don't spell-check compressed files 2016-06-04 14:28:52 +00:00
Tom Wilkie
e9749a5383 Make scheduler aware of test parallelisation 2016-05-18 14:08:05 +01:00
Tom Wilkie
7a660904a6 Add publish-site from weave 2016-05-18 12:50:33 +01:00
Tom Wilkie
e5af286c4c GC scope integration test VMs 2016-05-16 12:20:48 +01:00
Tom Wilkie
f9aa081666 Correctly fail when spelling mistakes are found. 2016-03-23 11:15:40 +00:00
Tom Wilkie
f8950ed6a9 Merge pull request #19 from weaveworks/18-misspell
Add misspell to the lint script.
2016-03-23 11:00:32 +00:00
Tom Wilkie
b377e46d29 Add misspell to the lint script. 2016-03-23 10:58:23 +00:00
Tom Wilkie
f26a5b2320 Merge pull request #20 from weaveworks/socks-update
Update socks proxy for upstream changes.
2016-03-23 10:57:51 +00:00
Tom Wilkie
f9042035f8 Update socks proxy for upstream changes. 2016-03-23 10:56:02 +00:00
Tom Wilkie
495e875a59 Add reciept to spellchecker 2016-03-02 11:51:21 +00:00
Tom Wilkie
c342e833bb Merge pull request #17 from weaveworks/lint-ignore
Update to ignore node_modules and *.generated.go
2016-02-22 14:17:29 +00:00
Tom Wilkie
07ebcff87e Update to ignore node_modules and *.generated.go 2016-02-22 14:10:04 +00:00