Script things.

This commit is contained in:
James Cole 2019-10-31 20:56:36 +01:00
parent 34e70c7446
commit 724a1b8b08
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 16 additions and 0 deletions

15
.deploy/docker/travis.sh Normal file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
echo $TRAVIS_DIST
echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
mkdir $HOME/.docker
touch $HOME/.docker/config.json
echo '{"experimental":"enabled"}' | sudo tee $HOME/.docker/config.json
sudo service docker restart
docker version -f '{{.Server.Experimental}}'
docker version
# build everything
.deploy/docker/build-amd64.sh
.deploy/docker/build-arm.sh
.deploy/docker/manifest.sh

View File

@ -19,6 +19,7 @@ services:
- docker
script:
- .deploy/docker/travis.sh
# enable experimental features.
- echo $TRAVIS_DIST
- echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json