diff --git a/Vagrantfile b/Vagrantfile index 788d7ccd70..58e8822c9e 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -23,7 +23,7 @@ Vagrant.configure("2") do |config| config.ssh.port = 22 end staging.vm.hostname = "mon-staging" - staging.vm.box = "bento/ubuntu-14.04" + staging.vm.box = "bento/ubuntu-16.04" staging.vm.network "private_network", ip: "10.0.1.3" staging.vm.synced_folder './', '/vagrant', disabled: true end @@ -38,7 +38,7 @@ Vagrant.configure("2") do |config| config.ssh.port = 22 end staging.vm.hostname = "app-staging" - staging.vm.box = "bento/ubuntu-14.04" + staging.vm.box = "bento/ubuntu-16.04" staging.vm.network "private_network", ip: "10.0.1.2" staging.vm.synced_folder './', '/vagrant', disabled: true staging.vm.provider "virtualbox" do |v| @@ -67,7 +67,7 @@ Vagrant.configure("2") do |config| config.ssh.port = 22 end prod.vm.hostname = "mon-prod" - prod.vm.box = "bento/ubuntu-14.04" + prod.vm.box = "bento/ubuntu-16.04" prod.vm.network "private_network", ip: "10.0.1.5", virtualbox__intnet: internal_network_name prod.vm.synced_folder './', '/vagrant', disabled: true end @@ -79,7 +79,7 @@ Vagrant.configure("2") do |config| config.ssh.port = 22 end prod.vm.hostname = "app-prod" - prod.vm.box = "bento/ubuntu-14.04" + prod.vm.box = "bento/ubuntu-16.04" prod.vm.network "private_network", ip: "10.0.1.4", virtualbox__intnet: internal_network_name prod.vm.synced_folder './', '/vagrant', disabled: true prod.vm.provider "virtualbox" do |v| diff --git a/securedrop/Makefile b/securedrop/Makefile index 30feaa3c6b..723f0219de 100644 --- a/securedrop/Makefile +++ b/securedrop/Makefile @@ -17,16 +17,16 @@ lint-full: ## Run the python linter with nothing disabled find . -name '*.py' | xargs pylint .PHONY: test -test: ## Run the test suite in a Ubuntu 14.04 (Trusty) dockerized environment +test: ## Run the test suite in a Ubuntu 16.04 (Xenial) dockerized environment ./bin/dev-shell ./bin/run-test -v $${TESTFILES:-tests} -.PHONY: test-xenial -test-xenial: ## Run the test suite in a Ubuntu 16.04 (Xenial) dockerized environment - BASE_OS=xenial ./bin/dev-shell ./bin/run-test -v $${TESTFILES:-tests} +.PHONY: test-trusty +test-trusty: ## Run the test suite in a Ubuntu 14.04 (Trusty) dockerized environment (to be removed April 30, 2019) + BASE_OS=trusty ./bin/dev-shell ./bin/run-test -v $${TESTFILES:-tests} .PHONY: translation-test translation-test: ## Run all pages-layout tests in all supported languages - BASE_OS=xenial ./bin/dev-shell ./bin/translation-test $${TESTFILES:-tests/pageslayout} + ./bin/dev-shell ./bin/translation-test $${TESTFILES:-tests/pageslayout} .PHONY: dev dev: ## Run the dev server diff --git a/securedrop/bin/dev-shell b/securedrop/bin/dev-shell index eb4b90d420..fb935300bb 100755 --- a/securedrop/bin/dev-shell +++ b/securedrop/bin/dev-shell @@ -10,8 +10,8 @@ TOPLEVEL=$(git rev-parse --show-toplevel) source "${BASH_SOURCE%/*}/../../devops/scripts/ticker" if ! test -n "${BASE_OS:-}" ; then - # If no base OS was specified, then we use Trusty - BASE_OS=trusty + # If no base OS was specified, then we use Xenial + BASE_OS=xenial fi function exit_if_not_supported_base_image() {