Skip to content
Open
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
41 changes: 41 additions & 0 deletions .github/workflows/browser-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,44 @@
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
varnish9:
name: "Varnish 9 integration tests"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main

Check failure on line 108 in .github/workflows/browser-tests.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=ibexa_http-cache&issues=AZ_16PhR7jFbLY0snSwK&open=AZ_16PhR7jFbLY0snSwK&pullRequest=84
with:
project-edition: 'oss'
setup: "doc/docker/base-dev.yml:doc/docker/varnish9.yml:doc/docker/selenium.yml"
test-suite: '--mode=standard --profile=httpCache --suite=varnish9'
test-setup-phase-1: '--mode=standard --profile=httpCache --suite=setup'
secrets:
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
varnish9-translation-aware:
name: "Varnish 9 integration tests (translation-aware)"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main

Check failure on line 121 in .github/workflows/browser-tests.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=ibexa_http-cache&issues=AZ_16PhR7jFbLY0snSwL&open=AZ_16PhR7jFbLY0snSwL&pullRequest=84
with:
project-edition: 'oss'
setup: "doc/docker/base-dev.yml:doc/docker/varnish9.yml:doc/docker/selenium.yml"
test-suite: '--mode=standard --profile=httpCache --suite=varnish9-translation-aware'
test-setup-phase-1: '--mode=standard --profile=httpCache --suite=setup-translation-aware'
test-setup-phase-2: '--mode=standard --profile=httpCache --suite=setup'
secrets:
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
varnish9-token:
name: "Varnish 9 integration tests with invalidate token"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main

Check failure on line 135 in .github/workflows/browser-tests.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=ibexa_http-cache&issues=AZ_16PhR7jFbLY0snSwM&open=AZ_16PhR7jFbLY0snSwM&pullRequest=84
with:
project-edition: 'oss'
setup: "doc/docker/base-dev.yml:doc/docker/varnish9.yml:doc/docker/selenium.yml"
test-suite: '--mode=standard --profile=httpCache --suite=varnish9'
test-setup-phase-1: '--mode=standard --profile=httpCache --suite=setup-token'
test-setup-phase-2: '--mode=standard --profile=httpCache --suite=setup'
secrets:
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
32 changes: 31 additions & 1 deletion behat_suites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,37 @@ httpCache:
paths:
- '%paths.base%/vendor/ibexa/http-cache/features/varnish'
filters:
tags: '@varnish7&&~@translationNotAware'
tags: '@varnish7&&~@translationNotAware'
contexts:
- Ibexa\Behat\API\Context\TestContext
- Ibexa\Behat\API\Context\ContentTypeContext
- Ibexa\Behat\Core\Context\TimeContext
- Ibexa\Behat\Core\Context\ConfigurationContext
- Ibexa\Behat\API\Context\ContentContext
- Ibexa\Behat\Browser\Context\BrowserContext
- Ibexa\Behat\Browser\Context\AuthenticationContext
- Behat\MinkExtension\Context\MinkContext
- Ibexa\Behat\Browser\Context\ContentPreviewContext
varnish9:
paths:
- '%paths.base%/vendor/ibexa/http-cache/features/varnish'
filters:
tags: '@varnish9&&~@translationAware'
contexts:
- Ibexa\Behat\API\Context\TestContext
- Ibexa\Behat\API\Context\ContentTypeContext
- Ibexa\Behat\Core\Context\TimeContext
- Ibexa\Behat\Core\Context\ConfigurationContext
- Ibexa\Behat\API\Context\ContentContext
- Ibexa\Behat\Browser\Context\BrowserContext
- Ibexa\Behat\Browser\Context\AuthenticationContext
- Behat\MinkExtension\Context\MinkContext
- Ibexa\Behat\Browser\Context\ContentPreviewContext
varnish9-translation-aware:
paths:
- '%paths.base%/vendor/ibexa/http-cache/features/varnish'
filters:
tags: '@varnish9&&~@translationNotAware'
contexts:
- Ibexa\Behat\API\Context\TestContext
- Ibexa\Behat\API\Context\ContentTypeContext
Expand Down
11 changes: 11 additions & 0 deletions dependencies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"recipesEndpoint": "",
"packages": [
{
"requirement": "dev-IBX-12173_support_for_varnish9 as 4.6.x-dev",
"repositoryUrl": "https://github.com/ibexa/docker",
"package": "ibexa/docker",
"shouldBeAddedAsVCS": true
}
]
}
Loading