Skip to content

Commit 05b7070

Browse files
mariashjrussett
authored andcommitted
Garden rootfs will be provided in pipeline as an input
It is set via GARDEN_ROOTFS env variable in the ENV params list for the task and provided as one of the inputs to the task. Signed-off-by: Josh Russett <[email protected]>
1 parent 4fa940a commit 05b7070

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

bin/test.bash

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,6 @@ setup_grootfs () {
7575
useradd iamgroot -u 4294967294 -g 4294967294
7676
echo "iamgroot:1:4294967293" > /etc/subuid
7777
echo "iamgroot:1:4294967293" > /etc/subgid
78-
}
79-
80-
build_garden_rootfs() {
81-
tar cpf /tmp/rootfs.tar -C "$GARDEN_ROOTFS_FILES" .
82-
export GARDEN_ROOTFS=/tmp/rootfs.tar
8378
}
8479

8580
setup_diego_release() {
@@ -157,7 +152,6 @@ echo "nameserver 8.8.8.8" >> /etc/resolv.conf
157152
setup_dnsmasq
158153
setup_gardenrunc
159154
setup_grootfs
160-
build_garden_rootfs
161155

162156
export ROUTER_GOPATH="$ROUTING_RELEASE_PATH/src/code.cloudfoundry.org"
163157
export ROUTING_API_GOPATH=${ROUTER_GOPATH}

0 commit comments

Comments
 (0)