-
Notifications
You must be signed in to change notification settings - Fork 2
164 lines (163 loc) · 9.53 KB
/
browser-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
name: Browser tests
on:
workflow_dispatch:
inputs:
send-success-notification:
description: 'Send a notification when the tests pass'
required: false
type: boolean
default: false
project-version:
description: 'Fill only when the tests should run on a stable release'
required: false
type: string
default: ''
push:
branches:
- master
- "[0-9]+.[0-9]+"
pull_request: ~
jobs:
regression-experience-setup1:
name: "PHP 7.4/Node 18/PostgreSQL/Varnish/Redis/Multirepository"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main
with:
project-edition: "experience"
project-version: ${{ github.event.inputs.project-version }}
test-suite: "--profile=regression --suite=experience"
test-setup-phase-1: "--profile=regression --suite=setup-experience --tags=~@part2 --mode=standard"
test-setup-phase-2: "--profile=regression --suite=setup-experience --tags=@part2 --mode=standard"
setup: "doc/docker/base-dev.yml:doc/docker/db-postgresql.yml:doc/docker/varnish.yml:doc/docker/redis.yml:doc/docker/selenium.yml"
send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }}
job-count: 4
multirepository: true
php-image: "ghcr.io/ibexa/docker/php:7.4-node18"
timeout: 120
secrets:
SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }}
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
TRAVIS_GITHUB_TOKEN: ${{ secrets.TRAVIS_GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
regression-experience-setup2:
name: "PHP 8.0/Node 18/MySQL/Compatibility layer/Elastic"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main
with:
project-edition: "experience"
project-version: ${{ github.event.inputs.project-version }}
test-suite: "--profile=regression --suite=experience"
test-setup-phase-1: "--profile=regression --suite=setup-experience --tags=~@part2 --mode=standard"
test-setup-phase-2: "--profile=regression --suite=setup-experience --tags=@part2 --mode=standard"
setup: "doc/docker/base-dev.yml:doc/docker/elastic.yml:doc/docker/selenium.yml"
send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }}
use-compatibility-layer: true
job-count: 4
timeout: 120
php-image: "ghcr.io/ibexa/docker/php:8.0-node18"
secrets:
SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }}
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
TRAVIS_GITHUB_TOKEN: ${{ secrets.TRAVIS_GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
regression-experience-setup3:
name: "PHP 8.3/Node 18/MySQL/Compatibility layer/Solr"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main
with:
project-edition: "experience"
project-version: ${{ github.event.inputs.project-version }}
test-suite: "--profile=regression --suite=experience"
test-setup-phase-1: "--profile=regression --suite=setup-experience --tags=~@part2 --mode=standard"
test-setup-phase-2: "--profile=regression --suite=setup-experience --tags=@part2 --mode=standard"
setup: "doc/docker/base-dev.yml:doc/docker/solr.yml:doc/docker/selenium.yml"
send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }}
use-compatibility-layer: true
job-count: 4
timeout: 120
php-image: "ghcr.io/ibexa/docker/php:8.3-node18"
secrets:
SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }}
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
TRAVIS_GITHUB_TOKEN: ${{ secrets.TRAVIS_GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
page-builder-matchers-1:
name: "Map\\Host matcher tests"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main
with:
project-edition: "experience"
project-version: ${{ github.event.inputs.project-version }}
test-suite: "--profile=browser --suite=page-builder"
test-setup-phase-1: "--mode=standard --profile=setup --suite=MapHost"
test-setup-phase-2: '--mode=standard --profile=setup --suite=page-builder --tags=@setup'
setup: "doc/docker/base-dev.yml:doc/docker/multihost.yml:doc/docker/selenium.yml"
send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }}
secrets:
SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }}
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
TRAVIS_GITHUB_TOKEN: ${{ secrets.TRAVIS_GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
page-builder-matchers-2:
name: "Map\\URI matcher tests"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main
with:
project-edition: "experience"
project-version: ${{ github.event.inputs.project-version }}
test-suite: "--profile=browser --suite=page-builder"
test-setup-phase-1: "--mode=standard --profile=setup --suite=MapURI"
test-setup-phase-2: '--mode=standard --profile=setup --suite=page-builder --tags=@setup'
send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }}
secrets:
SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }}
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
TRAVIS_GITHUB_TOKEN: ${{ secrets.TRAVIS_GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
page-builder-matchers-3:
name: "URIElement matcher tests"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main
with:
project-edition: "experience"
project-version: ${{ github.event.inputs.project-version }}
test-suite: "--profile=browser --suite=page-builder"
test-setup-phase-1: "--mode=standard --profile=setup --suite=URIElement"
test-setup-phase-2: '--mode=standard --profile=setup --suite=page-builder --tags=@setup'
send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }}
secrets:
SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }}
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
TRAVIS_GITHUB_TOKEN: ${{ secrets.TRAVIS_GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
page-builder-matchers-4:
name: "Compound matcher tests"
uses: ibexa/gh-workflows/.github/workflows/browser-tests.yml@main
with:
project-edition: "experience"
project-version: ${{ github.event.inputs.project-version }}
test-suite: "--profile=browser --suite=page-builder"
test-setup-phase-1: "--mode=standard --profile=setup --suite=CompoundMapURIMapHost"
test-setup-phase-2: '--mode=standard --profile=setup --suite=page-builder --tags=@setup'
setup: "doc/docker/base-dev.yml:doc/docker/multihost.yml:doc/docker/selenium.yml"
send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }}
secrets:
SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }}
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
TRAVIS_GITHUB_TOKEN: ${{ secrets.TRAVIS_GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}