diff --git a/.gitignore b/.gitignore index a10d21582..827e314a4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ .DS_Store .vagrant *.swp +*.tar.gz +*.log diff --git a/.travis.yml b/.travis.yml index d5a9b4655..9071e5a55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,10 +33,9 @@ before_script: - sudo service docker restart script: - - docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}"; - make build test - - if [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then + docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}"; make release; fi diff --git a/Makefile b/Makefile index f0b240213..530d3e729 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION ?= 0.11 +VERSION ?= bionic-1.0.0 ifdef BASE_IMAGE BUILD_ARG = --build-arg BASE_IMAGE=$(BASE_IMAGE) ifndef NAME diff --git a/Vagrantfile b/Vagrantfile index a1eb8af87..6667f0ac6 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,54 +1,75 @@ # -*- mode: ruby -*- # vi: set ft=ruby : -ROOT = File.dirname(File.absolute_path(__FILE__)) -# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! -VAGRANTFILE_API_VERSION = '2' - -# Default env properties which can be overridden -# Example overrides: -# echo "ENV['PASSENGER_DOCKER_PATH'] ||= '../../phusion/passenger-docker' " >> ~/.vagrant.d/Vagrantfile -# echo "ENV['BASE_BOX_URL'] ||= 'd\:/dev/vm/vagrant/boxes/phusion/'" >> ~/.vagrant.d/Vagrantfile -BASE_BOX_URL = ENV['BASE_BOX_URL'] || 'https://oss-binaries.phusionpassenger.com/vagrant/boxes/latest/' -VAGRANT_BOX_URL = ENV['VAGRANT_BOX_URL'] || BASE_BOX_URL + 'ubuntu-14.04-amd64-vbox.box' -VMWARE_BOX_URL = ENV['VMWARE_BOX_URL'] || BASE_BOX_URL + 'ubuntu-14.04-amd64-vmwarefusion.box' -BASEIMAGE_PATH = ENV['BASEIMAGE_PATH' ] || '.' -PASSENGER_DOCKER_PATH = ENV['PASSENGER_PATH' ] || '../passenger-docker' -DOCKERIZER_PATH = ENV['DOCKERIZER_PATH'] || '../dockerizer' - -$script = <