Add a workaround for the currents.dev issue

This commit is contained in:
Ramon Wenger 2023-12-11 11:10:59 +01:00
parent 5a3e2501c6
commit 1e79e7ba38
1 changed files with 24 additions and 21 deletions

View File

@ -51,6 +51,7 @@ definitions:
- echo "This pipeline rules!"
- *setup-tests
- npm ci --prefix client
- CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force
- npm run "install:cypress" --prefix client
- psql -U $DATABASE_USER -h $DATABASE_HOST -c "create database $DATABASE_NAME"
- python server/manage.py dummy_data
@ -70,6 +71,7 @@ definitions:
- client/cypress/**/*.mp4
script:
- npm ci --prefix client
- CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force
- npm run "install:cypress" --prefix client
- npm run dev --prefix client 2>&1 > /dev/null &
- curl http://localhost:8080/beta-login
@ -86,6 +88,7 @@ definitions:
- client/cypress/**/*.mp4
script:
- npm ci --prefix client
- CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force
- npm run "install:cypress" --prefix client
- npm run dev --prefix client 2>&1 > /dev/null &
- sleep 5
@ -162,13 +165,13 @@ pipelines:
- parallel:
- step: *lint
- step: *unittest-python
# - step: *cypress-test
# - step: *frontend-test-parallel
# - step: *frontend-test-parallel
# - step: *frontend-test-parallel
# - step: *frontend-test-parallel
# - step: *frontend-test-parallel
# - step: *frontend-test-parallel
- step: *cypress-test
- step: *frontend-test-parallel
- step: *frontend-test-parallel
- step: *frontend-test-parallel
- step: *frontend-test-parallel
- step: *frontend-test-parallel
- step: *frontend-test-parallel
- step: *jest-test
- step: *deploy-dev
@ -176,13 +179,13 @@ pipelines:
master:
- parallel:
- step: *unittest-python
# - step: *cypress-test
# - step: *frontend-test-parallel
# - step: *frontend-test-parallel
# - step: *frontend-test-parallel
# - step: *frontend-test-parallel
# - step: *frontend-test-parallel
# - step: *frontend-test-parallel
- step: *cypress-test
- step: *frontend-test-parallel
- step: *frontend-test-parallel
- step: *frontend-test-parallel
- step: *frontend-test-parallel
- step: *frontend-test-parallel
- step: *frontend-test-parallel
- step: *jest-test
- step: *deploy-preprod-manual
@ -190,13 +193,13 @@ pipelines:
- parallel:
- step: *lint
- step: *unittest-python
# - step: *cypress-test
# - step: *frontend-test-parallel
# - step: *frontend-test-parallel
# - step: *frontend-test-parallel
# - step: *frontend-test-parallel
# - step: *frontend-test-parallel
# - step: *frontend-test-parallel
- step: *cypress-test
- step: *frontend-test-parallel
- step: *frontend-test-parallel
- step: *frontend-test-parallel
- step: *frontend-test-parallel
- step: *frontend-test-parallel
- step: *frontend-test-parallel
- step: *jest-test
- parallel:
- step: *deploy-stage