Skip to content

Commit ae92da1

Browse files
committed
Updated snapshots.
1 parent 09cc95e commit ae92da1

385 files changed

Lines changed: 3442 additions & 1431 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.vortex/cli/tests/Fixtures/handler_process/_baseline/.docker/cli.dockerfile‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,12 @@ ENV PHP_INI_SCAN_DIR="${PHP_INI_SCAN_DIR}:/app/drush/php-ini"
6262
# Add more tools.
6363
# hadolint ignore=DL3018 # the package set tracks the pinned base image
6464
RUN apk add --no-cache ncurses pv tzdata autoconf g++ make && \
65-
pecl install pcov && \
66-
docker-php-ext-enable pcov && \
65+
pie install --no-build-tools-check pecl/pcov && \
6766
docker-php-ext-install pcntl && \
6867
apk del g++ make autoconf
6968

69+
COPY ./.docker/config/cli/custom.ini /usr/local/etc/php/conf.d/custom.ini
70+
7071
# Add patches and scripts.
7172
COPY patches /app/patches
7273
COPY scripts /app/scripts
@@ -78,7 +79,7 @@ COPY scripts /app/scripts
7879
# to the repository.
7980
# The .env file (and other environment files) is copied into the image, as it
8081
# may be needed by Composer scripts to access additional variables.
81-
COPY composer.json composer.* patches.lock.* .env* auth* /app/
82+
COPY composer.json composer.* patches.lock.* .env* /app/
8283

8384
# Install PHP dependencies without development packages to avoid exposing
8485
# potential security vulnerabilities in the production environment.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
; Custom configuration for the CLI service.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
; Custom configuration for the PHP service.
2+
3+
[Session]
4+
; Drupal does not use session upload progress, so it is turned off to reduce
5+
; the attack surface of multipart requests.
6+
session.upload_progress.enabled = Off

‎.vortex/cli/tests/Fixtures/handler_process/_baseline/.docker/php.dockerfile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ FROM uselagoon/php-8.4-fpm:__VERSION__
1414
# hadolint ignore=DL3018 # the package set tracks the pinned base image
1515
RUN apk add --no-cache tzdata
1616

17+
COPY ./.docker/config/php/custom.ini /usr/local/etc/php/conf.d/custom.ini
18+
1719
COPY --from=cli /app /app

‎.vortex/cli/tests/Fixtures/handler_process/_baseline/.dockerignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
.vscode
1212
**/.DS_Store
1313

14+
# Credentials. The package token reaches the build through a build secret.
15+
auth*
16+
1417
# Drupal directories generated by Composer during the image build.
1518
web/core
1619
web/libraries

‎.vortex/cli/tests/Fixtures/handler_process/_baseline/.env‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ DRUPAL_CLAMAV_MODE=daemon
9797
################################################################################
9898

9999
# By "provision", we mean the process of initialising the database (from dump
100-
# or fresh install from profile), running updates, appying configuration
100+
# or fresh install from profile), running updates, applying configuration
101101
# changes, clearing caches and performing other tasks that prepare the site for
102102
# use.
103103
# @see https://www.vortextemplate.com/docs/development/provision
@@ -125,6 +125,12 @@ VORTEX_PROVISION_FALLBACK_TO_PROFILE=0
125125
# drush config:import from silently overwriting those changes.
126126
VORTEX_PROVISION_VERIFY_CONFIG_UNCHANGED_AFTER_UPDATE=0
127127

128+
# Verify that configuration was not changed by post-provision operations.
129+
# If enabled and config files are present, the provision will fail if any
130+
# active configuration item differs from the exported configuration once
131+
# configuration imports, deployment hooks and deploy steps have run.
132+
VORTEX_PROVISION_VERIFY_CONFIG_UNCHANGED_AFTER_PROVISION=0
133+
128134
# Skip database sanitization.
129135
#
130136
# Database sanitization is enabled by default in all non-production

‎.vortex/cli/tests/Fixtures/handler_process/_baseline/.github/workflows/build-test-deploy.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,11 @@ jobs:
447447
files: |
448448
.logs/test_results/**/*.xml
449449
450+
# Placed after the test steps so a dirty tree never suppresses them.
451+
- name: Check that the build left a clean working tree
452+
run: ./vendor/bin/vortex-check-worktree-changes
453+
continue-on-error: ${{ vars.VORTEX_CI_WORKTREE_CHANGES_IGNORE_FAILURE == '1' }}
454+
450455
- name: Setup tmate session
451456
if: ${{ !cancelled() && github.event.inputs.enable_terminal }}
452457
uses: mxschmitt/action-tmate@__HASH__ # __VERSION__

‎.vortex/cli/tests/Fixtures/handler_process/_baseline/behat.yml‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ default:
1818
- DrevOps\BehatScreenshotExtension\Context\ScreenshotContext
1919

2020
formatters:
21-
# Show test progress and explicit fail information whule continuing the test run.
22-
progress_fail: true
21+
# Show test progress and explicit fail information while continuing the test run.
22+
progress:
23+
inline_failures: true
2324

2425
# Output test results in JUnit format.
2526
junit:
@@ -93,9 +94,6 @@ default:
9394
- step
9495
- datetime
9596

96-
# Show explicit fail information and continue the test run.
97-
DrevOps\BehatFormatProgressFail\FormatExtension: ~
98-
9997
# Profiles for parallel testing. CI derives the profile number from the index
10098
# of the runner it is on minus 'VORTEX_CI_BEHAT_PROFILE_OFFSET', so profiles
10199
# stay numbered from 'p0' regardless of which runner Behat starts on. Adding a

‎.vortex/cli/tests/Fixtures/handler_process/_baseline/composer.json‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"drupal/devel": "__VERSION__",
2020
"drupal/drupal_helpers": "__VERSION__",
2121
"drupal/environment_indicator": "__VERSION__",
22+
"drupal/fast_404": "__VERSION__",
2223
"drupal/generated_content": "__VERSION__",
2324
"drupal/navigation_extra_tools": "__VERSION__",
2425
"drupal/pathauto": "__VERSION__",
@@ -34,22 +35,17 @@
3435
"drupal/stage_file_proxy": "__VERSION__",
3536
"drupal/testmode": "__VERSION__",
3637
"drupal/xmlsitemap": "__VERSION__",
37-
"drush/drush": "__VERSION__",
38-
"webflo/drupal-finder": "__VERSION__"
38+
"drush/drush": "__VERSION__"
3939
},
4040
"require-dev": {
4141
"behat/behat": "__VERSION__",
4242
"dantleech/gherkin-lint": "__VERSION__",
43-
"dealerdirect/phpcodesniffer-composer-installer": "__VERSION__",
44-
"drevops/behat-format-progress-fail": "__VERSION__",
4543
"drevops/behat-screenshot": "__VERSION__",
4644
"drevops/behat-steps": "__VERSION__",
4745
"drevops/phpcs-standard": "__VERSION__",
4846
"drupal/coder": "__VERSION__",
4947
"drupal/drupal-extension": "__VERSION__",
5048
"ergebnis/composer-normalize": "__VERSION__",
51-
"lullabot/mink-selenium2-driver": "__VERSION__",
52-
"lullabot/php-webdriver": "__VERSION__",
5349
"mglaman/phpstan-drupal": "__VERSION__",
5450
"mikey179/vfsstream": "__VERSION__",
5551
"palantirnet/drupal-rector": "__VERSION__",
@@ -59,7 +55,6 @@
5955
"phpstan/phpstan": "__VERSION__",
6056
"phpunit/phpunit": "__VERSION__",
6157
"pyrech/composer-changelogs": "__VERSION__",
62-
"rector/rector": "__VERSION__",
6358
"softcreatr/jsonpath": "^0.10 || ^1.0",
6459
"vincentlanglet/twig-cs-fixer": "__VERSION__"
6560
},

‎.vortex/cli/tests/Fixtures/handler_process/_baseline/docker-compose.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ services:
123123
<<: [ *default-volumes, *default-user ]
124124
depends_on:
125125
- cli
126+
- appserver
126127
networks:
127128
- default # This is a standard network and is used for all other environments, where requests routing is not required and/or not supported.
128129
- amazeeio-network ### This network is supported by Pygmy and used to route all requests to host machine locally. Removed in CI.

0 commit comments

Comments
 (0)