Deprecate message queue type (#10040)
Not removing all the code for now, maybe we should 🤔
This commit is contained in:
2
.github/workflows/ci-e2e.yaml
vendored
2
.github/workflows/ci-e2e.yaml
vendored
@ -103,7 +103,7 @@ jobs:
|
||||
|
||||
- name: Start worker
|
||||
run: |
|
||||
npx nx run twenty-server:worker:ci &
|
||||
npx nx run twenty-server:worker &
|
||||
echo "Worker started"
|
||||
|
||||
- name: Run Playwright tests
|
||||
|
||||
10
.github/workflows/ci-server.yaml
vendored
10
.github/workflows/ci-server.yaml
vendored
@ -78,7 +78,15 @@ jobs:
|
||||
npx nx run twenty-server:database:init:prod
|
||||
npx nx run twenty-server:database:migrate:prod
|
||||
- name: Worker / Run
|
||||
run: npx nx run twenty-server:worker:ci
|
||||
run: |
|
||||
timeout 30s npx nx run twenty-server:worker || exit_code=$?
|
||||
if [ $exit_code -eq 124 ]; then
|
||||
# If timeout was reached (exit code 124), consider it a success
|
||||
exit 0
|
||||
elif [ $exit_code -ne 0 ]; then
|
||||
# If worker failed for other reasons, fail the build
|
||||
exit $exit_code
|
||||
fi
|
||||
- name: Server / Check for Pending Migrations
|
||||
run: |
|
||||
METADATA_MIGRATION_OUTPUT=$(npx nx run twenty-server:typeorm migration:generate metadata-migration-check -d src/database/typeorm/metadata/metadata.datasource.ts || true)
|
||||
|
||||
Reference in New Issue
Block a user