Skip to content

Commit

Permalink
Merge branch 'main' into 172--global-binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
deviantintegral authored Oct 26, 2023
2 parents e28747f + d133882 commit 664d1e9
Show file tree
Hide file tree
Showing 38 changed files with 183 additions and 161 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/DrainpipeDev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:

jobs:
Drainpipe-Dev:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:

- name: Create a Drupal project
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/TestComposerLockDiff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:

jobs:
Test-Composer-Lock-Diff:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Create a Drupal project
run: composer create-project drupal/recommended-project:10.0.9 . --ignore-platform-req=ext-gd
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/TestEnv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:

jobs:
Test-Env:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Create a Drupal project
run: |
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/TestFunctional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:

jobs:
Build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Create a Drupal project
run: composer create-project drupal/recommended-project . --ignore-platform-req=ext-gd
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
path: /tmp/drainpipe.zip

Test-NPM:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: Build
steps:
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
path: test_result

Test-Yarn-Classic:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: Build
steps:
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -164,8 +164,8 @@ jobs:
name: test_result
path: test_result

Test-Yarn-Berry-Node-Linker:
runs-on: ubuntu-latest
Test-Yarn-3-Node-Linker:
runs-on: ubuntu-22.04
needs: Build
steps:
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -193,6 +193,7 @@ jobs:
- name: Setup Nightwatch
run: |
ddev yarn set version berry
ddev yarn set version 3
ddev yarn init -y
yarn config set nodeLinker node-modules
ddev yarn add nightwatch nightwatch-accessibility @lullabot/nightwatch-drupal-commands lodash --dev
Expand All @@ -214,8 +215,8 @@ jobs:
name: test_result
path: test_result

Test-Yarn-Berry:
runs-on: ubuntu-latest
Test-Yarn-3:
runs-on: ubuntu-22.04
needs: Build
steps:
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -243,6 +244,7 @@ jobs:
- name: Setup Nightwatch
run: |
ddev yarn set version berry
ddev yarn set version 3
ddev yarn init -y
echo "packageExtensions:" >> .yarnrc.yml
echo ' "nightwatch@*":' >> .yarnrc.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/TestGitHubActions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:

jobs:
Test-GitHub-Actions:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Create a Drupal project
run: composer create-project drupal/recommended-project . --ignore-platform-req=ext-gd
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/TestPHPUnit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:

jobs:
Test-PHPUnit-Functional:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Install xmllint
run: sudo apt-get update && sudo apt-get install -y libxml2-utils
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
expected_result: PASSED

Test-PHPUnit-Functional-DTT:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Install xmllint
run: sudo apt-get update && sudo apt-get install -y libxml2-utils
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
expected_result: PASSED

Test-PHPUnit-Static:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Install xmllint
run: sudo apt-get update && sudo apt-get install -y libxml2-utils
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/TestSass.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:

jobs:
Build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Create a Drupal project
run: composer create-project drupal/recommended-project . --ignore-platform-req=ext-gd
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
path: /tmp/drainpipe.zip

Test-Sass-NPM:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: Build
steps:
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
run: ddev task assets

Test-Yarn-Classic:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: Build
steps:
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
run: ddev task assets

Test-Yarn-Berry:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: Build
steps:
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -161,6 +161,7 @@ jobs:
- name: Setup Sass
run: |
ddev yarn set version berry
ddev yarn set version 3
ddev yarn init -y
ddev yarn add @lullabot/drainpipe-sass --dev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/TestStatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:

jobs:
Test-Static:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Create a Drupal project
run: composer create-project drupal/recommended-project . --ignore-platform-req=ext-gd
Expand Down
44 changes: 43 additions & 1 deletion .github/workflows/TestTugboat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:

jobs:
Test-Tugboat:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Create a Drupal project
run: composer create-project drupal/recommended-project . --ignore-platform-req=ext-gd
Expand Down Expand Up @@ -73,3 +73,45 @@ jobs:
with:
name: .tugboat
path: .tugboat

Test-Non-Default-Nodejs:
runs-on: ubuntu-22.04
steps:
- name: Create a Drupal project
run: composer create-project drupal/recommended-project . --ignore-platform-req=ext-gd

- uses: actions/checkout@v3
with:
path: drainpipe

- uses: ./drainpipe/scaffold/github/actions/common/set-env

- name: Install DDEV
uses: ./drainpipe/scaffold/github/actions/common/ddev
with:
git-name: Drainpipe Bot
git-email: [email protected]
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Setup Project
run: |
ddev config --auto
ddev config --php-version "8.1"
ddev config --nodejs-version "16"
ddev config --database=mariadb:10.4
ddev start
ddev composer config extra.drupal-scaffold.gitignore true
ddev composer config --json extra.drupal-scaffold.allowed-packages \[\"lullabot/drainpipe\"]
ddev composer config --no-plugins allow-plugins.composer/installers true
ddev composer config --no-plugins allow-plugins.drupal/core-composer-scaffold true
ddev composer config --no-plugins allow-plugins.lullabot/drainpipe true
ddev composer config repositories.drainpipe --json '{"type": "path", "url": "drainpipe", "options": {"symlink": false}}'
ddev composer config minimum-stability dev
ddev composer config extra.drainpipe --json '{"tugboat": {}}'
ddev composer require lullabot/drainpipe --with-all-dependencies
- name: Test NODE_MAJOR is correct
run: |
cat .tugboat/steps/1-init.sh
grep -q NODE_MAJOR=16 .tugboat/steps/1-init.sh
4 changes: 2 additions & 2 deletions .github/workflows/ValidateTaskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ on:

jobs:
Validate-Example-Taskfile:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '18'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/composer-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:

jobs:
Test-Composer-Plugin:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-production-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
Test-Production-Build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
php-version: [7.3, 7.4, 8.0]
Expand Down
Loading

0 comments on commit 664d1e9

Please sign in to comment.