-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pre-build build container image - seems too hard to get all the tools we need into a container running a standard CircleCI golang image. Also stop pinning dep since that problem appears to have gone away.
- Loading branch information
Showing
2 changed files
with
38 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
version: 2 | ||
|
||
# https://circleci.com/blog/circleci-hacks-reuse-yaml-in-your-circleci-config-with-yaml/ | ||
defaults: &defaults | ||
# Process to update the build container is: | ||
# Check out desired version of this repo; 'make common-build/.uptodate'; docker push <name> | ||
docker: | ||
- image: weaveworks/common-build:circle20-cfa562b | ||
working_directory: /go/src/github.com/weaveworks/common | ||
|
||
workflows: | ||
version: 2 | ||
test-build-deploy: | ||
jobs: | ||
- lint | ||
- test | ||
|
||
jobs: | ||
lint: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: | ||
name: Lint | ||
command: | | ||
touch common-build/.uptodate && | ||
make BUILD_IN_CONTAINER=false lint | ||
test: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: | ||
name: Test | ||
command: | | ||
dep ensure && | ||
touch common-build/.uptodate && | ||
make BUILD_IN_CONTAINER=false test |
This file was deleted.
Oops, something went wrong.