@@ -141,40 +141,11 @@ jobs:
141141 env :
142142 NODE_OPTIONS : ' --max_old_space_size=4096'
143143 YARN_ENABLE_IMMUTABLE_INSTALLS : false
144- e2e-wby-cms-ddb-constants :
145- needs :
146- - baseBranch
147- - constants
148- - build
149- name : Constants - DDB
150- outputs :
151- pulumi-backend-url : ${{ steps.pulumi-backend-url.outputs.pulumi-backend-url }}
152- steps :
153- - uses : actions/setup-node@v5
154- with :
155- node-version : 24
156- - uses : actions/checkout@v5
157- with :
158- path : ${{ needs.baseBranch.outputs.base-branch }}
159- - name : Checkout Pull Request
160- working-directory : ${{ needs.baseBranch.outputs.base-branch }}
161- run : gh pr checkout ${{ github.event.issue.number }}
162- env :
163- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
164- - name : Get Pulumi backend URL
165- id : get-pulumi-backend-url
166- run : >-
167- echo "pulumi-backend-url=${{ secrets.WEBINY_PULUMI_BACKEND }}${{
168- github.run_id }}_ddb" >> $GITHUB_OUTPUT
169- runs-on : ubuntu-latest
170- env :
171- NODE_OPTIONS : ' --max_old_space_size=4096'
172- YARN_ENABLE_IMMUTABLE_INSTALLS : false
173144 e2e-wby-cms-ddb-project-setup :
174145 needs :
175146 - baseBranch
176147 - constants
177- - e2e-wby-cms-ddb-constants
148+ - build
178149 - checkComment
179150 name : E2E (DDB) - Project setup
180151 environment : next
@@ -183,7 +154,6 @@ jobs:
183154 YARN_ENABLE_IMMUTABLE_INSTALLS : false
184155 PULUMI_CONFIG_PASSPHRASE : ${{ secrets.PULUMI_CONFIG_PASSPHRASE }}
185156 PULUMI_SECRETS_PROVIDER : ${{ secrets.PULUMI_SECRETS_PROVIDER }}
186- WEBINY_PULUMI_BACKEND : ${{ needs.e2e-wby-cms-ddb-constants.outputs.pulumi-backend-url }}
187157 WEBINY_INFRA_API_MAX_BUNDLE_SIZE : ${{ vars.WEBINY_INFRA_API_MAX_BUNDLE_SIZE }}
188158 steps :
189159 - uses : actions/setup-node@v5
@@ -321,43 +291,29 @@ jobs:
321291 if-no-files-found : ignore
322292 include-hidden-files : true
323293 path : ${{ needs.baseBranch.outputs.base-branch }}/e2e/.e2e
324- runs-on : ubuntu-latest
325- permissions :
326- id-token : write
327- e2e-wby-cms-ddb-os-constants :
328- needs :
329- - baseBranch
330- - constants
331- - build
332- name : Constants - DDB-OS
333- outputs :
334- pulumi-backend-url : ${{ steps.pulumi-backend-url.outputs.pulumi-backend-url }}
335- steps :
336- - uses : actions/setup-node@v5
337- with :
338- node-version : 24
339- - uses : actions/checkout@v5
340- with :
341- path : ${{ needs.baseBranch.outputs.base-branch }}
342- - name : Checkout Pull Request
294+ - name : E2E - run tests
343295 working-directory : ${{ needs.baseBranch.outputs.base-branch }}
344- run : gh pr checkout ${{ github.event.issue.number }}
345296 env :
346- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
347- - name : Get Pulumi backend URL
348- id : get-pulumi-backend-url
349- run : >-
350- echo "pulumi-backend-url=${{ secrets.WEBINY_PULUMI_BACKEND }}${{
351- github.run_id }}_ddb-os" >> $GITHUB_OUTPUT
297+ E2E_ADMIN_URL : ${{ steps.admin-url.outputs.admin-url }}
298+ E2E_TELEMETRY_DISABLED : ' 1'
299+ run : yarn e2e --exclude-tag wcp,ai,installation --pass-with-no-tests
300+ - name : E2E - upload test results
301+ if : failure()
302+ uses : actions/upload-artifact@v6
303+ with :
304+ name : e2e-test-results-ddb
305+ retention-days : 7
306+ if-no-files-found : ignore
307+ include-hidden-files : true
308+ path : ${{ needs.baseBranch.outputs.base-branch }}/e2e/.e2e
352309 runs-on : ubuntu-latest
353- env :
354- NODE_OPTIONS : ' --max_old_space_size=4096'
355- YARN_ENABLE_IMMUTABLE_INSTALLS : false
310+ permissions :
311+ id-token : write
356312 e2e-wby-cms-ddb-os-project-setup :
357313 needs :
358314 - baseBranch
359315 - constants
360- - e2e-wby-cms-ddb-os-constants
316+ - build
361317 - checkComment
362318 name : E2E (DDB-OS) - Project setup
363319 environment : next
@@ -366,7 +322,6 @@ jobs:
366322 YARN_ENABLE_IMMUTABLE_INSTALLS : false
367323 PULUMI_CONFIG_PASSPHRASE : ${{ secrets.PULUMI_CONFIG_PASSPHRASE }}
368324 PULUMI_SECRETS_PROVIDER : ${{ secrets.PULUMI_SECRETS_PROVIDER }}
369- WEBINY_PULUMI_BACKEND : ${{ needs.e2e-wby-cms-ddb-os-constants.outputs.pulumi-backend-url }}
370325 WEBINY_INFRA_API_MAX_BUNDLE_SIZE : ${{ vars.WEBINY_INFRA_API_MAX_BUNDLE_SIZE }}
371326 AWS_OPENSEARCH_DOMAIN_NAME : ${{ secrets.OPENSEARCH_DOMAIN_NAME }}
372327 OPENSEARCH_ENDPOINT : ${{ secrets.OPENSEARCH_ENDPOINT }}
@@ -525,6 +480,21 @@ jobs:
525480 if-no-files-found : ignore
526481 include-hidden-files : true
527482 path : ${{ needs.baseBranch.outputs.base-branch }}/e2e/.e2e
483+ - name : E2E - run tests
484+ working-directory : ${{ needs.baseBranch.outputs.base-branch }}
485+ env :
486+ E2E_ADMIN_URL : ${{ steps.admin-url.outputs.admin-url }}
487+ E2E_TELEMETRY_DISABLED : ' 1'
488+ run : yarn e2e --exclude-tag wcp,ai,installation --pass-with-no-tests
489+ - name : E2E - upload test results
490+ if : failure()
491+ uses : actions/upload-artifact@v6
492+ with :
493+ name : e2e-test-results-ddb-os
494+ retention-days : 7
495+ if-no-files-found : ignore
496+ include-hidden-files : true
497+ path : ${{ needs.baseBranch.outputs.base-branch }}/e2e/.e2e
528498 runs-on : ubuntu-latest
529499 permissions :
530500 id-token : write
0 commit comments