Skip to content

Commit

Permalink
11.3.0
Browse files Browse the repository at this point in the history
11.3.0
  • Loading branch information
joegl authored Oct 3, 2024
2 parents e0e1d69 + b78480d commit 6bca7d6
Show file tree
Hide file tree
Showing 187 changed files with 1,354 additions and 42,462 deletions.
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ update_dependencies: &update_dependencies
drush config:export -y &&
git add config composer.lock docroot &&
git commit -m "Updated dependencies $DATE" &&
git push origin $CIRCLE_BRANCH &&
blt humsci:clean-backups &&
blt humsci:clean-branches
git push origin $CIRCLE_BRANCH
- save_cache: *save_cache

# Declare all the jobs we should run.
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/acquia-cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# .github/workflows/acquia-cleanup.yml
# Clean up stale site backups and branches on Acquia
name: Acquia Cleanup
on:
schedule:
# Run on Tuesdays at Midnight (Monday Nights)
- cron: '0 0 * * 2'
jobs:
acquia_cleanup:
runs-on: ubuntu-latest
container:
image: pookmish/drupal8ci:latest
steps:
- uses: actions/checkout@v4
- name: Restore Cache
uses: actions/cache@v4
with:
path: |
vendor
docroot/core
docroot/libraries
docroot/modules/contrib
key: 1.x-${{ hashFiles('blt/blt.yml') }}-${{ hashFiles('composer.json') }}-${{ hashFiles('composer.lock') }}
restore-keys: |
1.x-${{ hashFiles('blt/blt.yml') }}-${{ hashFiles('composer.json') }}-${{ hashFiles('composer.lock') }}
1.x-${{ hashFiles('blt/blt.yml') }}-${{ hashFiles('composer.json') }}-
1.x-${{ hashFiles('blt/blt.yml') }}-
- name: Clean up backups and branches
env:
SLACK_NOTIFICATION_URL: ${{ secrets.SLACK_NOTIFICATION_URL }}
ACQUIA_KEY: ${{ secrets.ACQUIA_KEY }}
ACQUIA_SECRET: ${{ secrets.ACQUIA_SECRET }}
run: |
composer install -n &&
blt blt:telemetry:disable --no-interaction &&
blt humsci:clean-backups &&
blt humsci:clean-branches
19 changes: 0 additions & 19 deletions blt/blt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,11 @@ modules:
multisites:
- aaai
- aaas
- aarc
- aarcs
- africanstudies
- amstudies
- anthropology
- antiracismlab
- archaeology
- archaeology2023
- art
- artexhibitions
- arthandbook
Expand All @@ -65,7 +62,6 @@ multisites:
- bsurp
- buddhiststudies
- ccsre
- ccsre2023
- ceas
- cesta
- chemistry
Expand All @@ -80,7 +76,6 @@ multisites:
- datasciencemajor
- default
- dennylab
- dfetter__humsci
- dlcl
- dsresearch
- duboislab
Expand All @@ -90,7 +85,6 @@ multisites:
- english
- ethicsinsociety
- facultyaffairs_humsci
- feldman
- feminist
- finance_humsci
- francestanford
Expand All @@ -99,9 +93,7 @@ multisites:
- globalcurrents
- grandtour
- gus_humsci
- heidi_williams__humsci
- history
- hopkinsmarinestation
- hps
- hs_colorful
- hs_design
Expand All @@ -115,11 +107,8 @@ multisites:
- hsweb_referencetraditional
- hsweb_userguide
- humanbiology
- humanexperience
- humanitiescore
- humanrights
- iajs
- impact
- insidehs
- internationalrelations
- iranianstudies
Expand All @@ -133,9 +122,7 @@ multisites:
- linguistics
- lowe
- mathematics
- mathematics2024
- mcs
- mcs2023
- mediterraneanstudies
- memorylab
- middleeast
Expand All @@ -145,7 +132,6 @@ multisites:
- music
- oconnell
- philit
- philit2023
- philosophy
- physics
- planning_humsci
Expand All @@ -155,24 +141,19 @@ multisites:
- ptarmigan
- publichumanities
- publicpolicy
- race
- religiousstudies
- researchadmin_humsci
- scl
- sgs
- shenlab
- sitp
- siw
- sociology
- southasia
- stanfordsciencefellows
- starlab
- statistics
- sts
- suac
- swshumsci_sandbox
- symsys
- symsys2023
- tessier_lavigne_lab
- texttechnologies
- urbanstudies
Expand Down
4 changes: 2 additions & 2 deletions blt/src/Blt/Plugin/Commands/HsAcquiaApiCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public function humsciAddDomain($environment, $domains) {
public function backupDatabases($options = ['start-at' => NULL]) {
$this->connectAcquiaApi();
$skip = TRUE;
foreach ($this->acquiaDatabases->getAll($this->appId) as $database) {
foreach ($this->acquiaDatabases->getNames($this->appId) as $database) {
if (!empty($options['start-at']) && $skip) {
if ($options['start-at'] == $database->name) {
$skip = FALSE;
Expand Down Expand Up @@ -169,7 +169,7 @@ public function deleteOldBackups() {
}
}

foreach ($this->acquiaDatabases->getAll($this->appId) as $database) {
foreach ($this->acquiaDatabases->getNames($this->appId) as $database) {
$this->say(sprintf('Gather database backup info for %s', $database->name));

foreach ($environment_uuids as $environment_uuid => $name) {
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@
"drupal/coder": "*"
},
"conflict": {
"drupal/drupal": "*"
"drupal/drupal": "*",
"drupal/readonly_field_widget": ">1.5"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down
Loading

0 comments on commit 6bca7d6

Please sign in to comment.