Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: include config changes with automatic updates #448

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/composer-update-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Run Composer Update with Config

on:
workflow_dispatch:

jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Update The Thing with config
id: update-action-with-config
uses: UN-OCHA/actions/composer-update@OPS-10254-config-too
with:
aws_access_key_id: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
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: ${{ vars.SLACK_CHANNEL }}
2 changes: 2 additions & 0 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ services:
- mysql
volumes:
- "./settings:/srv/www/shared/settings:ro"
# Mount config.
- "../config:/srv/www/config:rw"
# Mount volumes for the private and public files.
- "common-design-test-site-public:/srv/www/html/sites/default/files:rw"
- "common-design-test-site-private:/srv/www/html/sites/default/private:rw"
Expand Down