-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/composer/drupal/workbench_access-…
…2.0.2
- Loading branch information
Showing
201 changed files
with
2,578 additions
and
540 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
rm -rf /var/www/html/* | ||
BRANCH_NAME=$(git -C /usr/local/quickstart-install-profile rev-parse --abbrev-ref HEAD); if [ $(git ls-remote --heads https://github.com/az-digital/az-quickstart-scaffolding.git $BRANCH_NAME | wc -l) = 1 ]; then SCAFFOLD_BRANCH="$BRANCH_NAME"; else SCAFFOLD_BRANCH="main"; fi; git clone --branch $SCAFFOLD_BRANCH https://github.com/az-digital/az-quickstart-scaffolding.git /var/www/html | ||
composer config repositories.localdev path /usr/local/quickstart-install-profile && composer require --no-update drupal/core-recommended:* zaporylie/composer-drupal-optimizations:* az-digital/az_quickstart:\*@dev | ||
composer config repositories.localdev path /usr/local/quickstart-install-profile && composer require --no-update az-digital/az_quickstart:\*@dev | ||
BRANCH_NAME=$(git -C /usr/local/quickstart-install-profile rev-parse --abbrev-ref HEAD); if [ $(git ls-remote --heads https://github.com/az-digital/az-quickstart-dev.git $BRANCH_NAME | wc -l) = 1 ]; then DEV_PACKAGE_BRANCH="$BRANCH_NAME"; else DEV_PACKAGE_BRANCH=main; fi; composer require --no-update --dev az-digital/az-quickstart-dev:dev-${DEV_PACKAGE_BRANCH} | ||
composer install | ||
drush --root=/var/www/html/web site:install [email protected] --account-name=azadmin --account-pass=azadmin2024 --db-url=mysql://db:db@db:3306/db -y --verbose | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
release_branch_name: | ||
description: The name of the new release branch (e.g. 2.9.x) to create. | ||
required: true | ||
|
||
jobs: | ||
print_inputs: | ||
runs-on: ubuntu-latest | ||
|
@@ -137,14 +137,25 @@ jobs: | |
.lando.yml | ||
.probo.yaml | ||
composer.json | ||
update_previous_release_branches: | ||
needs: [prepare_for_new_minor_release, branch_name_prep] | ||
runs-on: ubuntu-latest | ||
name: Update `${{ matrix.previous_version }}` release branch. | ||
strategy: | ||
matrix: | ||
previous_version: [2.9.x, 2.8.x, 2.7.x, 2.6.x, 2.5.x, 2.4.x, 2.3.x, 2.2.x, 2.1.x, 2.0.x] | ||
previous_version: | ||
- 2.0.x | ||
- 2.1.x | ||
- 2.2.x | ||
- 2.3.x | ||
- 2.4.x | ||
- 2.5.x | ||
- 2.6.x | ||
- 2.7.x | ||
- 2.8.x | ||
- 2.9.x | ||
- 2.10.x | ||
steps: | ||
- name: Update previous release branch `${{ matrix.previous_version }}` | ||
uses: actions/checkout@v4 | ||
|
@@ -174,3 +185,36 @@ jobs: | |
${{ matrix.previous_version }} only | ||
add-paths: | | ||
composer.json | ||
update_composer_dev_branch_alias_on_main_branch: | ||
needs: [prepare_for_new_minor_release, branch_name_prep] | ||
runs-on: ubuntu-latest | ||
name: Update the composer dev branch alias on the `main` branch. | ||
steps: | ||
- name: Update `main` branch with new minor release branch alias. | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
token: ${{ secrets.REPO_DISPATCH_TOKEN }} | ||
|
||
- name: Set up Git | ||
run: | | ||
git config user.name "GitHub Action" | ||
git config user.email "[email protected]" | ||
- name: Update dev branch alias via Composer | ||
run: | | ||
composer config extra.branch-alias.dev-main ${{ needs.branch_name_prep.outputs.next_minor_release }}.x-dev | ||
- name: Create pull request for main branch updates | ||
uses: peter-evans/create-pull-request@v6 | ||
with: | ||
title: Prepare `main` branch for new minor release branch ${{ inputs.release_branch_name }} | ||
commit-message: Prepare `main` branch for new minor release branch ${{ inputs.release_branch_name }} | ||
branch: update-main-for-${{ inputs.release_branch_name }} | ||
base: main | ||
labels: | | ||
task | ||
delete-branch: true | ||
token: ${{ secrets.REPO_DISPATCH_TOKEN }} | ||
add-paths: | | ||
composer.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.