Skip to content

Bug fixes pr 1.x #720

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/roles/_init.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ lock_file: /tmp/ce-deploy-lock
provision_lock_file: /tmp/ce-provision-lock # must match _init.lock_file in ce-provision
skip_build_path_check: false # by default we're checking if track number matches
keep_builds: 10 # the number of builds to keep in the build history, includes associated databases
build_cleanup_pattern: "{{ project_name }}_{{ build_type }}_build_*" # name pattern of the builds to be checked for cleanup
# Application specific variables.
drupal:
drush_verbose_output: false
Expand Down
6 changes: 3 additions & 3 deletions docs/roles/tests/tests_behat.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ behat:
verbose: false # set to true for verbose output
fail_builds: true # set to false if you do not want Ansible to stop if Behat tests fail
show_results: true # if `fail_builds: false` then show_results allows us to optionally show Behat test results in the Ansible output
bin: "{{ deploy_path }}/vendor/bin/behat" # location of Behat
bin: "{{ live_symlink_dest }}/vendor/bin/behat" # location of Behat
# List of outputs to create, defaults to 'pretty' to STDOUT
outputs:
- format: pretty # options are pretty, progress or junit
output: std # see docs for more information, supports output filepath or various formats
config_file: "{{ deploy_path }}/tests/behat/behat.yml" # path to config file
working_dir: "{{ deploy_path }}" # path to execute composer from
config_file: "{{ live_symlink_dest }}/tests/behat/behat.yml" # path to config file
working_dir: "{{ live_symlink_dest }}" # path to execute composer from

```

Expand Down
4 changes: 2 additions & 2 deletions docs/roles/tests/tests_diffy.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ diffy:
main_env: dev # name of the 'good' environment to compare against (must be pre-configured in diffy)
test_env: custom # name of the environment to be compared (usually diffy's default 'custom' environment)
test_env_url: "" # set a base URL to use against the diffy 'custom' environment
bin: "{{ deploy_path }}/vendor/bin/diffy" # location of diffy
working_dir: "{{ deploy_path }}" # path to execute composer and related binaries from
bin: "{{ live_symlink_dest }}/vendor/bin/diffy" # location of diffy
working_dir: "{{ live_symlink_dest }}" # path to execute composer and related binaries from

```

Expand Down
4 changes: 2 additions & 2 deletions docs/roles/tests/tests_phpcs.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ See the installation documentation on packagist: https://packagist.org/packages/
phpcs:
install: false # set to true if you want ce-deploy to attempt to composer install PHP CodeSniffer
install_drupal_coder: false # set to true to install the Coder module for Drupal, which provides a Drupal standard for CodeSniffer
bin: "{{ deploy_path }}/vendor/bin/phpcs" # location of phpcs
bin: "{{ live_symlink_dest }}/vendor/bin/phpcs" # location of phpcs
standard: "" # optionally set the path to an installed standard, for example "vendor/drupal/coder/coder_sniffer/Drupal" for the Coder module for Drupal
extensions: "" # set optional extensions, for example for Drupal you could set "php,module,inc,theme,install" - defaults to "php,inc/php,js,css"
test_paths: [] # list of paths to test against
working_dir: "{{ deploy_path }}" # path to execute composer from
working_dir: "{{ live_symlink_dest }}" # path to execute composer from

```

Expand Down
6 changes: 3 additions & 3 deletions docs/roles/tests/tests_phpunit.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ phpunit:
install: false # set to true if you want ce-deploy to attempt to composer install phpunit
group: unit # comma separated list of group names to run
target: ../modules # directory or file to test, defaults to Drupal's modules directory
bin: "{{ deploy_path }}/vendor/bin/phpunit" # location of phpunit
tests_path: "{{ deploy_path }}/{{ webroot }}/core" # directory containing the PHPUnit 'tests' directory, defaults to Drupal's core directory
working_dir: "{{ deploy_path }}" # path to execute composer from
bin: "{{ live_symlink_dest }}/vendor/bin/phpunit" # location of phpunit
tests_path: "{{ live_symlink_dest }}/{{ webroot }}/core" # directory containing the PHPUnit 'tests' directory, defaults to Drupal's core directory
working_dir: "{{ live_symlink_dest }}" # path to execute composer from

```

Expand Down
1 change: 1 addition & 0 deletions roles/_init/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ lock_file: /tmp/ce-deploy-lock
provision_lock_file: /tmp/ce-provision-lock # must match _init.lock_file in ce-provision
skip_build_path_check: false # by default we're checking if track number matches
keep_builds: 10 # the number of builds to keep in the build history, includes associated databases
build_cleanup_pattern: "{{ project_name }}_{{ build_type }}_build_*" # name pattern of the builds to be checked for cleanup
# Application specific variables.
drupal:
drush_verbose_output: false
Expand Down
6 changes: 3 additions & 3 deletions roles/tests/tests_behat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ behat:
verbose: false # set to true for verbose output
fail_builds: true # set to false if you do not want Ansible to stop if Behat tests fail
show_results: true # if `fail_builds: false` then show_results allows us to optionally show Behat test results in the Ansible output
bin: "{{ deploy_path }}/vendor/bin/behat" # location of Behat
bin: "{{ live_symlink_dest }}/vendor/bin/behat" # location of Behat
# List of outputs to create, defaults to 'pretty' to STDOUT
outputs:
- format: pretty # options are pretty, progress or junit
output: std # see docs for more information, supports output filepath or various formats
config_file: "{{ deploy_path }}/tests/behat/behat.yml" # path to config file
working_dir: "{{ deploy_path }}" # path to execute composer from
config_file: "{{ live_symlink_dest }}/tests/behat/behat.yml" # path to config file
working_dir: "{{ live_symlink_dest }}" # path to execute composer from

```

Expand Down
6 changes: 3 additions & 3 deletions roles/tests/tests_behat/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ behat:
verbose: false # set to true for verbose output
fail_builds: true # set to false if you do not want Ansible to stop if Behat tests fail
show_results: true # if `fail_builds: false` then show_results allows us to optionally show Behat test results in the Ansible output
bin: "{{ deploy_path }}/vendor/bin/behat" # location of Behat
bin: "{{ live_symlink_dest }}/vendor/bin/behat" # location of Behat
# List of outputs to create, defaults to 'pretty' to STDOUT
outputs:
- format: pretty # options are pretty, progress or junit
output: std # see docs for more information, supports output filepath or various formats
config_file: "{{ deploy_path }}/tests/behat/behat.yml" # path to config file
working_dir: "{{ deploy_path }}" # path to execute composer from
config_file: "{{ live_symlink_dest }}/tests/behat/behat.yml" # path to config file
working_dir: "{{ live_symlink_dest }}" # path to execute composer from
4 changes: 2 additions & 2 deletions roles/tests/tests_diffy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ diffy:
main_env: dev # name of the 'good' environment to compare against (must be pre-configured in diffy)
test_env: custom # name of the environment to be compared (usually diffy's default 'custom' environment)
test_env_url: "" # set a base URL to use against the diffy 'custom' environment
bin: "{{ deploy_path }}/vendor/bin/diffy" # location of diffy
working_dir: "{{ deploy_path }}" # path to execute composer and related binaries from
bin: "{{ live_symlink_dest }}/vendor/bin/diffy" # location of diffy
working_dir: "{{ live_symlink_dest }}" # path to execute composer and related binaries from

```

Expand Down
4 changes: 2 additions & 2 deletions roles/tests/tests_diffy/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ diffy:
main_env: dev # name of the 'good' environment to compare against (must be pre-configured in diffy)
test_env: custom # name of the environment to be compared (usually diffy's default 'custom' environment)
test_env_url: "" # set a base URL to use against the diffy 'custom' environment
bin: "{{ deploy_path }}/vendor/bin/diffy" # location of diffy
working_dir: "{{ deploy_path }}" # path to execute composer and related binaries from
bin: "{{ live_symlink_dest }}/vendor/bin/diffy" # location of diffy
working_dir: "{{ live_symlink_dest }}" # path to execute composer and related binaries from
4 changes: 2 additions & 2 deletions roles/tests/tests_phpcs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ See the installation documentation on packagist: https://packagist.org/packages/
phpcs:
install: false # set to true if you want ce-deploy to attempt to composer install PHP CodeSniffer
install_drupal_coder: false # set to true to install the Coder module for Drupal, which provides a Drupal standard for CodeSniffer
bin: "{{ deploy_path }}/vendor/bin/phpcs" # location of phpcs
bin: "{{ live_symlink_dest }}/vendor/bin/phpcs" # location of phpcs
standard: "" # optionally set the path to an installed standard, for example "vendor/drupal/coder/coder_sniffer/Drupal" for the Coder module for Drupal
extensions: "" # set optional extensions, for example for Drupal you could set "php,module,inc,theme,install" - defaults to "php,inc/php,js,css"
test_paths: [] # list of paths to test against
working_dir: "{{ deploy_path }}" # path to execute composer from
working_dir: "{{ live_symlink_dest }}" # path to execute composer from

```

Expand Down
4 changes: 2 additions & 2 deletions roles/tests/tests_phpcs/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
phpcs:
install: false # set to true if you want ce-deploy to attempt to composer install PHP CodeSniffer
install_drupal_coder: false # set to true to install the Coder module for Drupal, which provides a Drupal standard for CodeSniffer
bin: "{{ deploy_path }}/vendor/bin/phpcs" # location of phpcs
bin: "{{ live_symlink_dest }}/vendor/bin/phpcs" # location of phpcs
standard: "" # optionally set the path to an installed standard, for example "vendor/drupal/coder/coder_sniffer/Drupal" for the Coder module for Drupal
extensions: "" # set optional extensions, for example for Drupal you could set "php,module,inc,theme,install" - defaults to "php,inc/php,js,css"
test_paths: [] # list of paths to test against
working_dir: "{{ deploy_path }}" # path to execute composer from
working_dir: "{{ live_symlink_dest }}" # path to execute composer from
6 changes: 3 additions & 3 deletions roles/tests/tests_phpunit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ phpunit:
install: false # set to true if you want ce-deploy to attempt to composer install phpunit
group: unit # comma separated list of group names to run
target: ../modules # directory or file to test, defaults to Drupal's modules directory
bin: "{{ deploy_path }}/vendor/bin/phpunit" # location of phpunit
tests_path: "{{ deploy_path }}/{{ webroot }}/core" # directory containing the PHPUnit 'tests' directory, defaults to Drupal's core directory
working_dir: "{{ deploy_path }}" # path to execute composer from
bin: "{{ live_symlink_dest }}/vendor/bin/phpunit" # location of phpunit
tests_path: "{{ live_symlink_dest }}/{{ webroot }}/core" # directory containing the PHPUnit 'tests' directory, defaults to Drupal's core directory
working_dir: "{{ live_symlink_dest }}" # path to execute composer from

```

Expand Down
6 changes: 3 additions & 3 deletions roles/tests/tests_phpunit/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ phpunit:
install: false # set to true if you want ce-deploy to attempt to composer install phpunit
group: unit # comma separated list of group names to run
target: ../modules # directory or file to test, defaults to Drupal's modules directory
bin: "{{ deploy_path }}/vendor/bin/phpunit" # location of phpunit
tests_path: "{{ deploy_path }}/{{ webroot }}/core" # directory containing the PHPUnit 'tests' directory, defaults to Drupal's core directory
working_dir: "{{ deploy_path }}" # path to execute composer from
bin: "{{ live_symlink_dest }}/vendor/bin/phpunit" # location of phpunit
tests_path: "{{ live_symlink_dest }}/{{ webroot }}/core" # directory containing the PHPUnit 'tests' directory, defaults to Drupal's core directory
working_dir: "{{ live_symlink_dest }}" # path to execute composer from