-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Acceptance test with the new scheduler
Add a new github action task to run the acceptances test with the new scheduler
- Loading branch information
1 parent
058b802
commit 57238c9
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
. tools/lib/lib.sh | ||
|
||
assert_root | ||
|
||
echo "Starting app..." | ||
|
||
# Detach so we can run subsequent commands | ||
VERSION=dev TRACKING_STRATEGY=logging docker-compose up -d -e NEW_SCHEDULER=valuedoesntmatter | ||
trap "echo 'docker-compose logs:' && docker-compose logs -t --tail 1000 && docker-compose down -v" EXIT | ||
|
||
echo "Waiting for services to begin" | ||
while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:8000/api/v1/health)" != "200" ]]; do echo "Waiting for docker deployment.."; sleep 5; done | ||
|
||
echo "Running e2e tests via gradle" | ||
SUB_BUILD=PLATFORM USE_EXTERNAL_DEPLOYMENT=true ./gradlew :airbyte-tests:acceptanceTests --rerun-tasks --scan |