From 0dea038fc5e16302ecc2ceb99eebfacde11da5c1 Mon Sep 17 00:00:00 2001 From: Andy Footner Date: Thu, 13 Jun 2024 17:18:54 +0200 Subject: [PATCH] chore: test including config in updates Refs: OPS-10254 --- .github/workflows/composer-update.yml | 4 ++-- tests/docker-compose.yml | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/composer-update.yml b/.github/workflows/composer-update.yml index 59c09a1..8167bf2 100644 --- a/.github/workflows/composer-update.yml +++ b/.github/workflows/composer-update.yml @@ -11,11 +11,11 @@ jobs: steps: - name: Update The Thing id: update-action - uses: UN-OCHA/actions/composer-update@main + # uses: UN-OCHA/actions/composer-update@main + uses: UN-OCHA/actions/composer-update@OPS-10254-config-too with: github_access_token: ${{ secrets.PAT }} patch_branch: ${{ github.head_ref || github.ref_name }} patch_maintainers: ${{ secrets.DRUPAL_MAINTAINERS }} slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }} slack_channel_name: ${{ secrets.SLACK_CHANNEL }} - flowdock_token: ${{ secrets.FLOWDOCK_TOKEN }} diff --git a/tests/docker-compose.yml b/tests/docker-compose.yml index e629c10..9d6b89d 100644 --- a/tests/docker-compose.yml +++ b/tests/docker-compose.yml @@ -22,7 +22,7 @@ services: MEMCACHE_MAX_MEMORY: 64 mysql: - image: public.ecr.aws/unocha/mysql:10.6 + image: public.ecr.aws/unocha/mysql:10.11 hostname: starterkit-test-mysql container_name: starterkit-test-mysql environment: @@ -50,6 +50,8 @@ services: - "../phpcs.xml:/srv/www/phpcs.xml:ro" - "../phpunit.xml:/srv/www/phpunit.xml:ro" - "../.coveralls.yml:/srv/www/.coveralls.yml:ro" + # Mount configuration and allow overriding it. + - "../config:/srv/www/config:rw" # Mount local custom code. - "../html/modules/custom:/srv/www/html/modules/custom:ro" - "../html/themes/custom:/srv/www/html/themes/custom:rw"