Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ jobs:
sed -i 's|\${BASE_URL}|http://${DOMAIN}|g' files/service/config.json.template
sed -i 's/\$scheme/https/g' files/nginx/backend.conf
sed 's/your.domain.com/central-test.localhost/; s/^SSL_TYPE=letsencrypt/SSL_TYPE=upstream/' .env.template > .env
echo PGHOST=postgres14 >> .env
echo PGUSER=odk >> .env
echo PGPASSWORD=odk >> .env
echo PGPORT=5432 >> .env
- name: Add domain
run: echo '127.0.0.1 central-test.localhost' | sudo tee --append /etc/hosts
- name: Start services
Expand Down
4 changes: 2 additions & 2 deletions e2e-tests/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ if [[ ${CI-} = true ]]; then
wait-for-it "$ODK_DOMAIN:$ODK_PORT" --strict --timeout=60 -- echo '[e2e-tester] odk-central is UP!'

log "Creating test users..."
docker compose exec service bash -c "echo '$ODK_PASSWORD' | node lib/bin/cli.js --email '$ODK_USER' user-create"
docker compose exec service node lib/bin/cli.js --email "$ODK_USER" user-promote
echo "$ODK_PASSWORD" | docker compose exec service odk-cmd --email "$ODK_USER" user-create
docker compose exec service odk-cmd --email "$ODK_USER" user-promote
log "Test user created."
cd client
fi
Expand Down
Loading