Skip to content

Commit

Permalink
Merge pull request #1731 from danskernesdigitalebibliotek/develop
Browse files Browse the repository at this point in the history
Release 2024.45.0
  • Loading branch information
kasperg authored Nov 6, 2024
2 parents b92d622 + fbe52cc commit 2b14c3a
Show file tree
Hide file tree
Showing 42 changed files with 1,586 additions and 77 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/lagoon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ jobs:

# Creating the deployment that Lagoon will look for, and add status to.
CreateDeployment:
name: Creating deployment
name: Create deployment
runs-on: ubuntu-latest
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' }}
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
needs: [BranchNameLength]
steps:
- run: |
LAGOON_DEPLOYS_LOG_URL=$(echo "https://ui.lagoon.dplplat01.dpl.reload.dk/projects/dpl-cms/dpl-cms-${{ env.LAGOON_ENVIRONMENT }}/deployments")
Expand All @@ -49,6 +50,7 @@ jobs:
name: Close environment
runs-on: ubuntu-latest
if: ${{ github.event.action == 'closed' }}
needs: [BranchNameLength]
steps:
- run: gh api --method DELETE "/repos/${{ env.OWNER }}/${{ env.REPO }}/environments/${{ env.LAGOON_ENVIRONMENT }}"

Expand Down
3 changes: 3 additions & 0 deletions .lagoon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ tasks:
drush user:create patron --password="$PR_DRUPAL_PWD"
drush user:role:add 'patron' patron
drush user:create graphql_consumer --password="$PR_DRUPAL_PWD"
drush user:role:add 'graphql_consumer' graphql_consumer
else
echo "Test users already exist. Skipping creation..."
fi
Expand Down
3 changes: 3 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ tasks:
- task dev:cli -- drush user:create patron --password="test"
- task dev:cli -- drush user:role:add 'patron' patron

- task dev:cli -- drush user:create graphql_consumer --password="test"
- task dev:cli -- drush user:role:add 'graphql_consumer' graphql_consumer

dev:import-profile-translations:
desc: Import our custom profile translations. This is done automatically on deploy.
cmds:
Expand Down
4 changes: 4 additions & 0 deletions assets/all.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@
// because the user pulling in the changes won't have permissions to modify
// files in the directory.
$settings['skip_permissions_hardening'] = TRUE;

// Set default Unilogin configuration on non-production environments.
$config['dpl_unilogin.settings']['unilogin_api_endpoint'] = 'https://et-broker.unilogin.dk';
$config['dpl_unilogin.settings']['unilogin_api_wellknown_endpoint'] = 'https://et-broker.unilogin.dk/auth/realms/broker/.well-known/openid-configuration';
}

// Setup Redis.
Expand Down
15 changes: 9 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"type": "package",
"package": {
"name": "danskernesdigitalebibliotek/dpl-react",
"version": "2024.44.0",
"version": "2024.45.0",
"type": "drupal-library",
"dist": {
"url": "https://github.com/danskernesdigitalebibliotek/dpl-react/releases/download/2024.44.0/dist-2024-44-0-569a1656d740c639d78cac425fac380e774cae75.zip",
"url": "https://github.com/danskernesdigitalebibliotek/dpl-react/releases/download/2024.45.0/dist-2024-45-0-43d543d1b3e33cc859f2401cad3a7c18f0d7d19b.zip",
"type": "zip"
},
"require": {
Expand All @@ -56,9 +56,9 @@
"package": {
"name": "danskernesdigitalebibliotek/dpl-design-system",
"type": "drupal-library",
"version": "2024.44.0",
"version": "2024.45.0",
"dist": {
"url": "https://github.com/danskernesdigitalebibliotek/dpl-design-system/releases/download/2024.44.0/dist-2024-44-0-34305e57a86041624c7b762d10fa91f044842144.zip",
"url": "https://github.com/danskernesdigitalebibliotek/dpl-design-system/releases/download/2024.45.0/dist-2024-45-0-61278e37e6e8fa118932c90aea48f0d491755b1f.zip",
"type": "zip"
}
}
Expand Down Expand Up @@ -90,8 +90,8 @@
"composer/installers": "1.12.0",
"cweagans/composer-patches": "1.7.3",
"danskernesdigitalebibliotek/cms-api": "*",
"danskernesdigitalebibliotek/dpl-design-system": "2024.44.0",
"danskernesdigitalebibliotek/dpl-react": "2024.44.0",
"danskernesdigitalebibliotek/dpl-design-system": "2024.45.0",
"danskernesdigitalebibliotek/dpl-react": "2024.45.0",
"danskernesdigitalebibliotek/fbs-client": "*",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"deoliveiralucas/array-keys-case-transform": "^1.1",
Expand All @@ -107,6 +107,7 @@
"drupal/config_ignore_auto": "^3",
"drupal/config_perms": "^2.1",
"drupal/config_translation_po": "^1.0",
"drupal/consumers": "^1.19",
"drupal/content_lock": "^2.3",
"drupal/cookieinformation": "^2.1",
"drupal/core-composer-scaffold": "^10.3",
Expand All @@ -128,6 +129,8 @@
"drupal/gin": "^3.0@RC",
"drupal/gin_login": "^2.1",
"drupal/gin_toolbar": "^1.0@RC",
"drupal/graphql": "^4.9",
"drupal/graphql_compose": "^2.2",
"drupal/handy_cache_tags": "^1.4",
"drupal/health_check": "^3.1",
"drupal/honeypot": "^2.1",
Expand Down
Loading

0 comments on commit 2b14c3a

Please sign in to comment.