Skip to content

IBX-12374: Used PHP Behat configuration as behat.php when the edition ships one - #147

Merged
barbaragr merged 1 commit into
k8s-satisfrom
IBX-12374-behat-php-config-k8s-satis
Sep 9, 2026
Merged

IBX-12374: Used PHP Behat configuration as behat.php when the edition ships one#147
barbaragr merged 1 commit into
k8s-satisfrom
IBX-12374-behat-php-config-k8s-satis

Conversation

@barbaragr

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12374

Description:

Sync of the YAML→PHP Behat configuration migration from main onto k8s-satis: cherry-pick of #145 (f00b423d). Both prepare_project_edition.sh variants now copy behat_ibexa_<edition>.php to behat.php when the edition ships one, falling back to behat.yaml otherwise.

This is the sibling of ibexa/gh-workflows#116, which cherry-picks the same migration onto the k8s-satis branch of the workflows repository. That PR covers the multirepository setup steps; this one covers the project setup step that runs before them, so both are needed for browser jobs pinned to k8s-satis.

Without it, every regression using ci-scripts-branch: "k8s-satis" fails in Set up whole project using the tested dependency (dev version) now that ibexa/recipes-dev#262 stopped copying the YAML files out of the ibexa/behat 6.0 recipe:

cp: cannot stat 'behat_ibexa_commerce.yaml': No such file or directory
##[error]Process completed with exit code 1

Observed on https://github.com/ibexa/commerce/actions/runs/34150225832 — the same four jobs were green on 07.09 and failed 4/4 on re-run on 09.09, 22 minutes after #262 was merged.

The cherry-pick applied cleanly and carries the elif [[ ... ]] thenelif [[ ... ]]; then syntax fix from the original commit. The two k8s-satis-only commits (43ebb2a6 private Satis server, befda8d4 composer dump ordering) are untouched. bash -n passes on both scripts.

For QA:

Browser jobs pinned to k8s-satis must get past the project setup step on 6.0 (Behat 4, PHP configuration) and stay green on 5.0/4.x (Behat 3, YAML configuration) via the fallback.

Documentation:

N/A

…145)

* Used the PHP Behat configuration as behat.php when the edition ships one

* Fixed missing semicolon before then in the valkey branch of the 6.0 prepare script

* [TEMP] Listed Behat configuration files after copying

* Removed recipe-provided Behat configuration files before creating behat.php

* Fixed missing semicolon before then in the valkey branch of the stable prepare script

* Relied on the ibexabehat default configuration instead of removing recipe files

(cherry picked from commit f00b423)
@sonarqubecloud

sonarqubecloud Bot commented Sep 9, 2026

Copy link
Copy Markdown

@barbaragr
barbaragr merged commit daf67ad into k8s-satis Sep 9, 2026
22 checks passed
@barbaragr
barbaragr deleted the IBX-12374-behat-php-config-k8s-satis branch September 9, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants