forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Changes to support smoke test on Datahub deployed on kubernetes C…
…luster (datahub-project#5334) Co-authored-by: Aseem Bansal <asmbansal2@gmail.com>
- Loading branch information
1 parent
c455189
commit 21c4e15
Showing
20 changed files
with
248 additions
and
160 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
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 |
---|---|---|
|
@@ -130,3 +130,4 @@ dmypy.json | |
|
||
# Pyre type checker | ||
.pyre/ | ||
junit* |
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,40 @@ | ||
apply plugin: 'com.github.node-gradle.node' | ||
|
||
node { | ||
|
||
// If true, it will download node using above parameters. | ||
// If false, it will try to use globally installed node. | ||
if (project.hasProperty('useSystemNode') && project.getProperty('useSystemNode').toBoolean()) { | ||
download = false | ||
} else { | ||
download = true | ||
} | ||
|
||
// Version of node to use. | ||
version = '16.8.0' | ||
|
||
// Version of Yarn to use. | ||
yarnVersion = '1.22.0' | ||
|
||
// Base URL for fetching node distributions (set nodeDistBaseUrl if you have a mirror). | ||
if (project.hasProperty('nodeDistBaseUrl')) { | ||
distBaseUrl = project.getProperty('nodeDistBaseUrl') | ||
} else { | ||
distBaseUrl = 'https://nodejs.org/dist' | ||
} | ||
|
||
// Set the work directory for unpacking node | ||
workDir = file("${project.projectDir}/.gradle/nodejs") | ||
|
||
// Set the work directory for NPM | ||
yarnWorkDir = file("${project.projectDir}/.gradle/yarn") | ||
|
||
// Set the work directory where node_modules should be located | ||
nodeModulesDir = file("${project.projectDir}") | ||
|
||
} | ||
|
||
task yarnInstall(type: YarnTask) { | ||
println "Root directory: ${project.rootDir}"; | ||
args = ['install', '--cwd', "${project.rootDir}/smoke-test/tests/cypress"] | ||
} |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
pytest>=6.2 | ||
pytest-dependency>=0.5.1 | ||
psutil | ||
tenacity | ||
-e ../metadata-ingestion[datahub-rest,datahub-kafka,mysql] |
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.