Skip to content

Commit

Permalink
Bump garden-ci-ubuntu image to 0.10.0
Browse files Browse the repository at this point in the history
* Also stop using concourse/bin-ci for build-gdn-linux
and switch to garden-ci-ubuntu instead. This gives us control over
the versions of static-assets (e.g. iptables, tar, etc) that gdn
gets built with.
* These versions should exactly match the versions used in our BOSH
packages to make sure we're consistently testing the same thing.

[#150545872]

Signed-off-by: Tom Godkin <[email protected]>
  • Loading branch information
teddyking authored and Tom Godkin committed Aug 30, 2017
1 parent 531f501 commit eed31c8
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 21 deletions.
2 changes: 1 addition & 1 deletion ci/bucketbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ image_resource:
type: docker-image
source:
repository: cfgarden/garden-ci-ubuntu
tag: '0.9.5'
tag: '0.10.0'

platform: linux

Expand Down
4 changes: 3 additions & 1 deletion ci/build-gdn-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ platform: linux

image_resource:
type: docker-image
source: {repository: concourse/bin-ci}
source:
repository: cfgarden/garden-ci-ubuntu
tag: '0.10.0'

inputs:
- name: gr-release-develop
Expand Down
4 changes: 2 additions & 2 deletions ci/cfbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
image_resource:
type: docker-image
source:
repository: cfgarden/garden-ci-ubuntu
tag: '0.9.5'
repository: cfgarden/garden-ci-ubuntu
tag: '0.10.0'

platform: linux

Expand Down
4 changes: 2 additions & 2 deletions ci/garden.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
image_resource:
type: docker-image
source:
repository: cfgarden/garden-ci-ubuntu
tag: '0.9.5'
repository: cfgarden/garden-ci-ubuntu
tag: '0.10.0'

platform: linux

Expand Down
4 changes: 2 additions & 2 deletions ci/gats-gdn-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
image_resource:
type: docker-image
source:
repository: cfgarden/garden-ci-ubuntu
tag: '0.9.5'
repository: cfgarden/garden-ci-ubuntu
tag: '0.10.0'

platform: linux

Expand Down
4 changes: 2 additions & 2 deletions ci/gats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
image_resource:
type: docker-image
source:
repository: cfgarden/garden-ci-ubuntu
tag: '0.9.5'
repository: cfgarden/garden-ci-ubuntu
tag: '0.10.0'

platform: linux

Expand Down
4 changes: 2 additions & 2 deletions ci/guardian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
image_resource:
type: docker-image
source:
repository: cfgarden/garden-ci-ubuntu
tag: '0.9.5'
repository: cfgarden/garden-ci-ubuntu
tag: '0.10.0'

platform: linux

Expand Down
4 changes: 2 additions & 2 deletions ci/nested-shed-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
image_resource:
type: docker-image
source:
repository: cfgarden/garden-ci-ubuntu
tag: '0.9.5'
repository: cfgarden/garden-ci-ubuntu
tag: '0.10.0'

platform: linux

Expand Down
4 changes: 2 additions & 2 deletions ci/non-nested-gats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
image_resource:
type: docker-image
source:
repository: cfgarden/golang-ci
tag: '0.2.1'
repository: cfgarden/golang-ci
tag: '0.2.1'

platform: linux

Expand Down
4 changes: 2 additions & 2 deletions ci/performance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
image_resource:
type: docker-image
source:
repository: cfgarden/golang-ci
tag: '0.2.1'
repository: cfgarden/golang-ci
tag: '0.2.1'

platform: linux

Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/build-gdn-linux
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ LINUX_ASSETS=$PWD/linux
rm -rf $LINUX_ASSETS
mkdir -p $LINUX_ASSETS/{bin,sbin}

cp /opt/static-assets/tar $LINUX_ASSETS/bin/tar
cp /opt/static-assets/tar/bin/tar $LINUX_ASSETS/bin/tar

# go-bindata does weird stuff with symlinks. we only care about iptables anyway
cp -aL /opt/static-assets/iptables/sbin/iptables $LINUX_ASSETS/sbin/iptables
Expand Down
4 changes: 3 additions & 1 deletion ci/scripts/gats
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ $GOPATH/bin/gdn \
--init-bin=$GOPATH/bin/init \
--dadoo-bin=$GOPATH/bin/dadoo \
--nstar-bin=./rundmc/nstar/nstar \
--tar-bin=/opt/tar \
--tar-bin=/opt/static-assets/tar/bin/tar \
--iptables-bin=/opt/static-assets/iptables/sbin/iptables \
--iptables-restore-bin=/opt/static-assets/iptables/sbin/iptables-restore \
--depot=$tmpdir/depot \
--graph=$tmpdir/graph \
--bind-ip=0.0.0.0 \
Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/guardian
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export GARDEN_TEST_ROOTFS=/opt/warden/rootfs
export GARDEN_PREEXISTING_USERS_TEST_ROOTFS=/opt/warden/preexisting-users-rootfs
export GARDEN_FUSE_TEST_ROOTFS=/opt/warden/fuse-rootfs
export GARDEN_NESTABLE_TEST_ROOTFS=/opt/warden/nestable-rootfs
export GARDEN_TAR_PATH=/opt/tar
export GARDEN_TAR_PATH=/opt/static-assets/tar/bin/tar
export GARDEN_TEST_GRAPHPATH=/tmp/aufs_mount
export GARDEN_DORA_PATH=$PWD/../garden-integration-tests/resources/dora.tgz
[ -d /opt/warden/docker-registry-v2-rootfs ] && export GARDEN_DOCKER_REGISTRY_V2_TEST_ROOTFS=/opt/warden/docker-registry-v2-rootfs
Expand Down

0 comments on commit eed31c8

Please sign in to comment.