Skip to content

Commit

Permalink
Move grootfs out of the gopath
Browse files Browse the repository at this point in the history
[#164336113]
  • Loading branch information
Callisto13 committed Mar 18, 2019
1 parent ee3f40e commit 5d8192f
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
Expand Up @@ -38,8 +38,8 @@
path = src/gopath/src/github.com/golang/protobuf
url = https://github.com/golang/protobuf
branch = master
[submodule "src/gopath/src/code.cloudfoundry.org/grootfs"]
path = src/gopath/src/code.cloudfoundry.org/grootfs
[submodule "src/grootfs"]
path = src/grootfs
url = https://github.com/cloudfoundry/grootfs
branch = master
[submodule "src/gopath/src/github.com/containerd/containerd"]
Expand Down
2 changes: 1 addition & 1 deletion ci/helpers/gats-utils
Expand Up @@ -13,7 +13,7 @@ build_grootfs() {
local target="${GOPATH}/bin"

(
cd "$grreleasedevelopdir"/src/gopath/src/code.cloudfoundry.org/grootfs
cd "$grreleasedevelopdir"/src/grootfs

unset GOPATH

Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/gdn-linux-standalone
Expand Up @@ -63,7 +63,7 @@ function build() {


(
cd src/gopath/src/code.cloudfoundry.org/grootfs
cd src/grootfs

unset GOPATH

Expand Down
2 changes: 1 addition & 1 deletion ci/tasks/grootfs-go-vet.yml
Expand Up @@ -15,6 +15,6 @@ caches:
- path: gr-release-develop/pkg

run:
dir: gr-release-develop/src/gopath/src/code.cloudfoundry.org/grootfs
dir: gr-release-develop/src/grootfs
path: make
args: [go-vet]
2 changes: 1 addition & 1 deletion ci/tasks/grootfs-integration.yml
Expand Up @@ -22,6 +22,6 @@ params:
GROOTFS_USER: whoever

run:
dir: gr-release-develop/src/gopath/src/code.cloudfoundry.org/grootfs
dir: gr-release-develop/src/grootfs
path: ci/scripts/integration-tests.sh
user: root
2 changes: 1 addition & 1 deletion ci/tasks/grootfs-make.yml
Expand Up @@ -15,7 +15,7 @@ caches:
- path: gr-release-develop/pkg

run:
dir: gr-release-develop/src/gopath/src/code.cloudfoundry.org/grootfs
dir: gr-release-develop/src/grootfs
path: make
user: root

2 changes: 1 addition & 1 deletion ci/tasks/grootfs-unit.yml
Expand Up @@ -20,6 +20,6 @@ params:
GROOTFS_USER: whoever

run:
dir: gr-release-develop/src/gopath/src/code.cloudfoundry.org/grootfs
dir: gr-release-develop/src/grootfs
path: ci/scripts/unit-tests.sh
user: root
2 changes: 1 addition & 1 deletion packages/grootfs/packaging
Expand Up @@ -6,7 +6,7 @@ source build/bosh-compilation-golang

mkdir "${BOSH_INSTALL_TARGET}/bin"

cd ./gopath/src/code.cloudfoundry.org/grootfs
cd ./grootfs

make cf
make prefix="${BOSH_INSTALL_TARGET}/bin" install
Expand Down
2 changes: 1 addition & 1 deletion packages/grootfs/spec
Expand Up @@ -5,5 +5,5 @@ dependencies:
- golang

files:
- gopath/src/code.cloudfoundry.org/grootfs/**/*
- grootfs/**/*
- build/bosh-compilation-golang
2 changes: 1 addition & 1 deletion src/build/grootfs.bash
Expand Up @@ -4,7 +4,7 @@ function build_grootfs() {

(
unset GOPATH
cd "$garden_runc_release_dir/src/gopath/src/code.cloudfoundry.org/grootfs" || exit
cd "$garden_runc_release_dir/src/grootfs" || exit
make all

chmod 04755 build/tardis
Expand Down

0 comments on commit 5d8192f

Please sign in to comment.