Skip to content

Commit

Permalink
Merge pull request #1802 from acquia/stage
Browse files Browse the repository at this point in the history
Merge branch `stage` into `main`
  • Loading branch information
vishalkhode1 authored Apr 16, 2024
2 parents 30b3cc7 + 3ff8f00 commit f28d64a
Show file tree
Hide file tree
Showing 24 changed files with 763 additions and 635 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/acquia_cms_ci.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
composer self-update
composer create-project --no-dev --ignore-platform-req=php acquia/orca ../orca "$ORCA_VERSION" -n
curl https://gist.githubusercontent.com/vishalkhode1/0e26b2e9637722a256c74a6cb8496e9d/raw/sut-path-reposories.patch | git -C ../orca apply
curl https://gist.githubusercontent.com/chandan-singh7929/902a17bbf0f5c0e0ee536dd5983875f3/raw/4031ae76ca5e8f08b98545bfdcda327f6d38be58/remove-local-settings.patch | git -C ../orca apply
- name: Before Install
run: |
# Added below in CI to test acquia_cms on Drupal Core >=9.5.
Expand Down Expand Up @@ -154,10 +155,7 @@ jobs:
composer self-update
composer create-project --no-dev --ignore-platform-req=php acquia/orca ../orca "$ORCA_VERSION" -n
curl https://gist.githubusercontent.com/vishalkhode1/0e26b2e9637722a256c74a6cb8496e9d/raw/sut-path-reposories.patch | git -C ../orca apply
git clone https://github.com/acquia/acquia-cms-starterkit.git ../acquia-cms-starterkit --branch=develop --single-branch
cd ../acquia-cms-starterkit && git checkout develop && git tag 1.1.8 && cd -
composer config --global repositories.starter_kit path /home/runner/work/acquia_cms/acquia-cms-starterkit
curl https://gist.githubusercontent.com/chandan-singh7929/902a17bbf0f5c0e0ee536dd5983875f3/raw/4031ae76ca5e8f08b98545bfdcda327f6d38be58/remove-local-settings.patch | git -C ../orca apply
# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v1
# with:
Expand Down Expand Up @@ -221,14 +219,15 @@ jobs:
ORCA_SUT_DIR: /home/runner/work/acquia_cms/acquia_cms
COMPOSER_PROCESS_TIMEOUT: 1800
ORCA_JOB: ${{ matrix.orca-job }}
# AWS_S3_BUCKET_PATH: s3://acquia-cms-artifacts/backstop
AWS_S3_BUCKET_PATH: s3://acquia-cms-artifacts/backstop
# Set Required API Keys.
CONNECTOR_ID: ${{ secrets.CONNECTOR_ID }}
SEARCH_UUID: ${{ secrets.SEARCH_UUID }}
CONNECTOR_KEY: ${{ secrets.CONNECTOR_KEY }}
GMAPS_KEY: ${{ secrets.GMAPS_KEY }}
SITESTUDIO_API_KEY: ${{ secrets.SITESTUDIO_API_KEY }}
SITESTUDIO_ORG_KEY: ${{ secrets.SITESTUDIO_ORG_KEY }}
COPY_BACKSTOP_IMAGES: false
ACMS_JOB: "backstop_tests"
JOB_TYPE: "integrated-tests"
CI: true
Expand Down Expand Up @@ -261,16 +260,12 @@ jobs:
composer create-project --no-dev --ignore-platform-req=php acquia/orca ../orca "$ORCA_VERSION" -n
curl https://gist.githubusercontent.com/vishalkhode1/0e26b2e9637722a256c74a6cb8496e9d/raw/sut-path-reposories.patch | git -C ../orca apply
curl https://gist.githubusercontent.com/vishalkhode1/342a0eee801e51f48b4d9701749c1c94/raw/orca-oldest-support.patch | git -C ../orca apply
git clone https://github.com/acquia/acquia-cms-starterkit.git ../acquia-cms-starterkit --branch=develop --single-branch
cd ../acquia-cms-starterkit && git checkout develop && git tag 1.1.8 && cd -
composer config --global repositories.starter_kit path /home/runner/work/acquia_cms/acquia-cms-starterkit
# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v1
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
- name: Before Install
run: |
# Added below in CI to test acquia_cms on Drupal Core >=9.5.
Expand Down Expand Up @@ -357,6 +352,7 @@ jobs:
composer self-update
composer create-project --no-dev --ignore-platform-req=php acquia/orca ../orca "$ORCA_VERSION" -n
curl https://gist.githubusercontent.com/vishalkhode1/0e26b2e9637722a256c74a6cb8496e9d/raw/sut-path-reposories.patch | git -C ../orca apply
curl https://gist.githubusercontent.com/chandan-singh7929/902a17bbf0f5c0e0ee536dd5983875f3/raw/4031ae76ca5e8f08b98545bfdcda327f6d38be58/remove-local-settings.patch | git -C ../orca apply
- name: Before Install
run: |
# Added below in CI to test acquia_cms on Drupal Core >=9.5.
Expand Down
10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"drupal/sitestudio_config_management": "dev-develop",
"drupal/sitestudio_gin": "^1.0",
"drush/drush": "^10 || ^11 || ^12",
"mnsami/composer-custom-directory-installer": "^2.0"
"mnsami/composer-custom-directory-installer": "^2.0",
"nnnick/chartjs": "^4.4"
},
"require-dev": {
"acquia/coding-standards": "^1.0",
Expand All @@ -57,10 +58,10 @@
"package": {
"name": "nnnick/chartjs",
"type": "drupal-library",
"version": "v3.9.1",
"version": "v4.4.1",
"dist": {
"type": "tar",
"url": "https://github.com/chartjs/Chart.js/releases/download/v3.9.1/chart.js-3.9.1.tgz"
"type": "file",
"url": "https://cdn.jsdelivr.net/npm/chart.js@4.4.1/dist/chart.umd.min.js"
}
}
},
Expand Down Expand Up @@ -252,6 +253,7 @@
},
"config": {
"allow-plugins": {
"acquia/drupal-recommended-settings": true,
"composer/installers": true,
"cweagans/composer-patches": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
Expand Down
Loading

0 comments on commit f28d64a

Please sign in to comment.