-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): reduce smoke test run time (#6841)
- Loading branch information
1 parent
ecc01b9
commit 1bec1d8
Showing
14 changed files
with
319 additions
and
211 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 @@ | ||
#!/bin/bash | ||
set -euxo pipefail | ||
|
||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
cd "$DIR" | ||
|
||
python3 -m venv venv | ||
source venv/bin/activate | ||
pip install --upgrade pip wheel setuptools | ||
pip install -r requirements.txt | ||
|
||
mkdir -p ~/.datahub/plugins/frontend/auth/ | ||
echo "test_user:test_pass" >> ~/.datahub/plugins/frontend/auth/user.props | ||
|
||
echo "DATAHUB_VERSION = $DATAHUB_VERSION" | ||
DATAHUB_TELEMETRY_ENABLED=false \ | ||
DOCKER_COMPOSE_BASE="file://$( dirname "$DIR" )" \ | ||
|
||
datahub docker quickstart --standalone_consumers --dump-logs-on-failure |
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 |
---|---|---|
|
@@ -575,10 +575,10 @@ def test_ingest_with_system_metadata(): | |
{ | ||
"com.linkedin.identity.CorpUserInfo": { | ||
"active": True, | ||
"displayName": "Data Hub", | ||
"displayName": "DataHub", | ||
"email": "[email protected]", | ||
"title": "CEO", | ||
"fullName": "Data Hub", | ||
"fullName": "DataHub", | ||
} | ||
} | ||
], | ||
|
@@ -608,10 +608,10 @@ def test_ingest_with_blank_system_metadata(): | |
{ | ||
"com.linkedin.identity.CorpUserInfo": { | ||
"active": True, | ||
"displayName": "Data Hub", | ||
"displayName": "DataHub", | ||
"email": "[email protected]", | ||
"title": "CEO", | ||
"fullName": "Data Hub", | ||
"fullName": "DataHub", | ||
} | ||
} | ||
], | ||
|
@@ -638,10 +638,10 @@ def test_ingest_without_system_metadata(): | |
{ | ||
"com.linkedin.identity.CorpUserInfo": { | ||
"active": True, | ||
"displayName": "Data Hub", | ||
"displayName": "DataHub", | ||
"email": "[email protected]", | ||
"title": "CEO", | ||
"fullName": "Data Hub", | ||
"fullName": "DataHub", | ||
} | ||
} | ||
], | ||
|
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
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
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
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
Oops, something went wrong.