Don't copy the source directory somewhere else
This commit is contained in:
1 parent
b3e77e81ea
commit
e3576e13a7
2 files changed
+3
-11
No files matched your search
@@ -36,18 +36,17 @@ jobs:
|
|||||||
smoke-tests:
|
smoke-tests:
|
||||||
machine:
|
machine:
|
||||||
image: circleci/classic:201709-01
|
image: circleci/classic:201709-01
|
||||||
|
working_directory: /home/circleci/src/github.com/weaveworks/weave
|
||||||
environment:
|
environment:
|
||||||
GOPATH: /home/circleci
|
|
||||||
SRCDIR: /home/circleci/src/github.com/weaveworks/weave
|
SRCDIR: /home/circleci/src/github.com/weaveworks/weave
|
||||||
CIRCLE_ARTIFACTS: /tmp/artifacts
|
CIRCLE_ARTIFACTS: /tmp/artifacts
|
||||||
parallelism: 2
|
parallelism: 2
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: mkdir $CIRCLE_ARTIFACTS
|
- run: mkdir $CIRCLE_ARTIFACTS
|
||||||
# copy source dir and submodule update --init
|
- run: git submodule update --init
|
||||||
- run: bin/circle-dependencies-post-sources
|
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /home/circleci/src/github.com/weaveworks/weave
|
at: .
|
||||||
# kick off creation of test VMs
|
# kick off creation of test VMs
|
||||||
- run:
|
- run:
|
||||||
command: bin/provision_test_vms.sh
|
command: bin/provision_test_vms.sh
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
mkdir -p "$(dirname "$SRCDIR")" && cp -r "$(pwd)/" "$SRCDIR"
|
|
||||||
cd "$SRCDIR"
|
|
||||||
git submodule update --init
|
|
||||||
Reference in new issue
Block a user