Skip to content

Commit

Permalink
Merge pull request #77 from govCMS/release/3.2.0
Browse files Browse the repository at this point in the history
Release 3.2.0
  • Loading branch information
steveworley authored Dec 14, 2023
2 parents 49b8ab3 + 02a0a12 commit 11dbbcd
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 18 deletions.
8 changes: 3 additions & 5 deletions .docker/Dockerfile.paas
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@ COPY . /app
# Set up Drush aliases.
COPY .docker/config/cli/govcms.site.yml /app/drush/sites/

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

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

Expand Down
2 changes: 2 additions & 0 deletions .docker/config/cli/govcms.site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ prod:
uri: nginx-${env.LAGOON_PROJECT}-master.govcms.amazee.io
ssh:
options: -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30831 -F /dev/null
paths:
drush-script: /app/vendor/bin/drush
14 changes: 1 addition & 13 deletions composer.10.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@
{ "type": "composer", "url": "https://packages.drupal.org/8" },
{ "type": "composer", "url": "https://asset-packagist.org" },
{ "type": "vcs", "url": "[email protected]:govcms/govcms.git" },
{
"type": "package",
"package": {
"name": "harvesthq/chosen",
"version": "v1.8.7",
"type": "drupal-library",
"dist": {
"type": "zip",
"url": "https://github.com/harvesthq/chosen/releases/download/v1.8.7/chosen_v1.8.7.zip"
}
}
},
{
"type": "package",
"package": {
Expand All @@ -38,7 +26,7 @@
"govcms/govcms-custom": "*",
"govcms/govcms": "3.x-master-dev",
"govcms/scaffold-tooling": "10.x-master-dev",
"drush/drush": "^11",
"drush/drush": "^12",
"composer/installers": "^2.0",
"egulias/email-validator": "4.0.1 as 3.2.6"
},
Expand Down
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ services:
# https://pygmy.readthedocs.io/en/master/ssh_agent/
volumes_from: ### Local overrides to mount host SSH keys. Automatically removed in CI.
- container:amazeeio-ssh-agent ### Local overrides to mount host SSH keys. Automatically removed in CI.
networks:
- amazeeio-network
- default

test:
build:
Expand All @@ -80,6 +83,9 @@ services:
- cli
environment:
<< : *default-environment
networks:
- amazeeio-network
- default

nginx:
build:
Expand Down Expand Up @@ -117,6 +123,9 @@ services:
- cli
environment:
<< : *default-environment
networks:
- amazeeio-network
- default

mariadb:
image: ${MARIADB_DATA_IMAGE:-govcms/mariadb-drupal:{{ GOVCMS_VERSION }}.x-latest}
Expand Down
2 changes: 2 additions & 0 deletions drush/sites/feature.site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@
ssh:
options: -p 30831
tty: false
paths:
drush-script: /app/vendor/bin/drush

0 comments on commit 11dbbcd

Please sign in to comment.