HH-438: close upload and remote URL attack surfaces (#89)
* HH-438: close upload and remote URL attack surfaces * HH-438: use valid PNG in direct upload test * HH-438: align PostgreSQL upload staging schema * HH-438: run upload migrations before PostgreSQL E2E --------- Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
@@ -89,6 +89,12 @@ jobs:
|
||||
echo "PostgreSQL auto-assignment concurrency test did not run" >&2
|
||||
exit 1
|
||||
}
|
||||
- name: Test production upload migrations
|
||||
working-directory: backend
|
||||
env:
|
||||
GOCHAT_TEST_DB: postgres
|
||||
GOCHAT_TEST_DB_URL: postgres://postgres:postgres@localhost:5432/gochat_test?sslmode=disable
|
||||
run: go test ./internal/database -run '^TestUploadPostgresProductionMigration' -count=1
|
||||
- name: Test PostgreSQL E2E
|
||||
working-directory: backend
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user