Skip to content

Commit

Permalink
Merge pull request #994 from UN-OCHA/deploy-20240917
Browse files Browse the repository at this point in the history
Deploy 17-09-2024
  • Loading branch information
attiks authored Sep 17, 2024
2 parents e2bdae5 + 30a76ae commit f469812
Show file tree
Hide file tree
Showing 11 changed files with 1,593 additions and 635 deletions.
11 changes: 11 additions & 0 deletions .changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

return [
'ignoreTypes' => ['build', 'ci', 'docs', 'refactor', 'revert', 'style', 'test'],
'tagPrefix' => 'v',
'tagSuffix' => '',
'commitUrlFormat' => '{{host}}/{{owner}}/{{repository}}/commit/{{hash}}',
'compareUrlFormat' => '{{host}}/{{owner}}/{{repository}}/compare/{{previousTag}}...{{currentTag}}',
'issueUrlFormat' => 'https://humanitarian.atlassian.net/browse/{{id}}',
'hiddenVersionSeparator' => true,
];
2 changes: 1 addition & 1 deletion .docksal/docksal.env
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ DOCKSAL_STACK=default
# This will prevent images from being updated when Docksal is updated
#WEB_IMAGE='docksal/web:x.x-apache2.4'
#DB_IMAGE='docksal/db:x.x-mysql-5.6'
CLI_IMAGE='docksal/cli:php8.2-build'
CLI_IMAGE='docksal/cli:php8.3-build'

# Override virtual host (matches project folder name by default)
#VIRTUAL_HOST=iasc8.local.docksal
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/composer-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ jobs:
id: update-action
uses: UN-OCHA/actions/composer-update@main
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.ref_name }}
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 }}
13 changes: 13 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,14 @@ jobs:
threshold_metric: "lines"
comment_footer: false

- name: PHP Logs
id: phplog
if: failure()
uses: cafuego/command-output@main
with:
run: |
docker compose -f tests/docker-compose.yml exec -T drupal grep -i fatal /var/log/php/error.log
- name: DB Logs
id: dblog
if: failure()
Expand Down Expand Up @@ -204,10 +212,15 @@ jobs:
<details><summary>Software Versions</summary>
<code>${{ steps.versions.outputs.stdout }}</code>
</details>
<details><summary>Drupal Logs</summary>
<code>${{ steps.dblog.outputs.stdout }}</code>
</details>
<details><summary>PHP Logs</summary>
<code>${{ steps.phplog.outputs.stdout }}</code>
</details>
*Pusher: @${{ github.actor }}, Action: `${{ github.event_name }}`, Workflow: `${{ github.workflow }}`*
edit-mode: replace

Expand Down
753 changes: 753 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

Loading

0 comments on commit f469812

Please sign in to comment.