Skip to content

Commit 11dbbcd

Browse files
authored
Merge pull request #77 from govCMS/release/3.2.0
Release 3.2.0
2 parents 49b8ab3 + 02a0a12 commit 11dbbcd

File tree

5 files changed

+17
-18
lines changed

5 files changed

+17
-18
lines changed

.docker/Dockerfile.paas

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,9 @@ COPY . /app
3535
# Set up Drush aliases.
3636
COPY .docker/config/cli/govcms.site.yml /app/drush/sites/
3737

38-
# Ensure drush-launcher instead of Drush 8 in /home/.composer
39-
# @todo Make drush launcher available upstream, @see https://github.com/amazeeio/lagoon/pull/1183
40-
RUN wget -O /usr/local/bin/drush "https://github.com/drush-ops/drush-launcher/releases/download/0.6.0/drush.phar" \
41-
&& chmod +x /usr/local/bin/drush \
42-
&& rm -Rf /home/.composer/vendor/bin
38+
# Remove Drush 8 in /home/.composer.
39+
RUN rm -Rf /home/.composer/vendor/bin
40+
ENV PATH="/app/vendor/bin:${PATH}"
4341

4442
COPY --from=base /app/web/sites/all/modules/ /app/web/sites/all/modules/
4543

.docker/config/cli/govcms.site.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ prod:
1414
uri: nginx-${env.LAGOON_PROJECT}-master.govcms.amazee.io
1515
ssh:
1616
options: -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30831 -F /dev/null
17+
paths:
18+
drush-script: /app/vendor/bin/drush

composer.10.json

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,6 @@
88
{ "type": "composer", "url": "https://packages.drupal.org/8" },
99
{ "type": "composer", "url": "https://asset-packagist.org" },
1010
{ "type": "vcs", "url": "git@github.com:govcms/govcms.git" },
11-
{
12-
"type": "package",
13-
"package": {
14-
"name": "harvesthq/chosen",
15-
"version": "v1.8.7",
16-
"type": "drupal-library",
17-
"dist": {
18-
"type": "zip",
19-
"url": "https://github.com/harvesthq/chosen/releases/download/v1.8.7/chosen_v1.8.7.zip"
20-
}
21-
}
22-
},
2311
{
2412
"type": "package",
2513
"package": {
@@ -38,7 +26,7 @@
3826
"govcms/govcms-custom": "*",
3927
"govcms/govcms": "3.x-master-dev",
4028
"govcms/scaffold-tooling": "10.x-master-dev",
41-
"drush/drush": "^11",
29+
"drush/drush": "^12",
4230
"composer/installers": "^2.0",
4331
"egulias/email-validator": "4.0.1 as 3.2.6"
4432
},

docker-compose.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ services:
6464
# https://pygmy.readthedocs.io/en/master/ssh_agent/
6565
volumes_from: ### Local overrides to mount host SSH keys. Automatically removed in CI.
6666
- container:amazeeio-ssh-agent ### Local overrides to mount host SSH keys. Automatically removed in CI.
67+
networks:
68+
- amazeeio-network
69+
- default
6770

6871
test:
6972
build:
@@ -80,6 +83,9 @@ services:
8083
- cli
8184
environment:
8285
<< : *default-environment
86+
networks:
87+
- amazeeio-network
88+
- default
8389

8490
nginx:
8591
build:
@@ -117,6 +123,9 @@ services:
117123
- cli
118124
environment:
119125
<< : *default-environment
126+
networks:
127+
- amazeeio-network
128+
- default
120129

121130
mariadb:
122131
image: ${MARIADB_DATA_IMAGE:-govcms/mariadb-drupal:{{ GOVCMS_VERSION }}.x-latest}

drush/sites/feature.site.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@
1313
ssh:
1414
options: -p 30831
1515
tty: false
16+
paths:
17+
drush-script: /app/vendor/bin/drush

0 commit comments

Comments
 (0)