This repository was archived by the owner on Feb 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 2020 # Defaults - Ubuntu 18.04.
2121 - type : defaults
2222 distro : ubuntu1804
23+ tag : python2
2324 # Defaults - Debian 9.
2425 - type : debian
2526 distro : debian9
2627 # Defaults - CentOS 7.
2728 - type : centos
2829 distro : centos7
30+ tag : python2
2931 local_config : tests/centos-7.config.yml
3032
3133 # PHP 7.3 - Ubuntu 18.04.
3234 - type : defaults
3335 distro : ubuntu1804
36+ tag : python2
3437 local_config : tests/ubuntu-18-php73.config.yml
3538 DRUSH_BIN : " ${DRUPALVM_DIR}/drupal/vendor/bin/drush"
3639 TEST_INSTALLED_EXTRAS : false
5154 # TEST_INSTALLED_EXTRAS: false
5255
5356before_install :
54- # Pull container.
55- - docker pull geerlingguy/docker-${distro}-ansible:latest
56-
5757 # Install lint tools.
5858 - gem install rubocop
5959
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ DRUPALVM_HTTP_PORT="${DRUPALVM_HTTP_PORT:-80}"
1515DRUPALVM_HTTPS_PORT=" ${DRUPALVM_HTTPS_PORT:- 443} "
1616
1717DISTRO=" ${DISTRO:- ubuntu1804} "
18+ TAG=" ${TAG:- python2} "
1819OPTS=" ${OPTS:- --privileged} "
1920INIT=" ${INIT:-/ lib/ systemd/ systemd} "
2021
@@ -41,7 +42,7 @@ docker run --name=$DRUPALVM_MACHINE_NAME -d \
4142 -p $DRUPALVM_IP_ADDRESS :$DRUPALVM_HTTP_PORT :80 \
4243 -p $DRUPALVM_IP_ADDRESS :$DRUPALVM_HTTPS_PORT :443 \
4344 $OPTS \
44- geerlingguy/docker-$DISTRO -ansible:latest \
45+ geerlingguy/docker-$DISTRO -ansible:$TAG \
4546 $INIT
4647
4748# Create Drupal directory.
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ TEST_INSTALLED_EXTRAS="${TEST_INSTALLED_EXTRAS:-true}"
1515CONTAINER_ID=" ${CONTAINER_ID:- dvm-test} "
1616type=" ${type:- tests/ defaults} "
1717distro=" ${distro:- ubuntu1604} "
18+ tag=" ${tag:- latest} "
1819cleanup=" ${cleanup:- true} "
1920
2021# # Set up vars for Docker setup.
@@ -81,7 +82,7 @@ docker run --name=$CONTAINER_ID -d \
8182 --add-host " $HOSTNAME drupalvm" :127.0.0.1 \
8283 -v $PWD :/var/www/drupalvm/:$volume_opts \
8384 $opts \
84- geerlingguy/docker-$distro -ansible:latest \
85+ geerlingguy/docker-$distro -ansible:$tag \
8586 $init
8687
8788# Set up directories.
You can’t perform that action at this time.
0 commit comments