Skip to content

Commit

Permalink
fix[ingest/build]: Disable preflight script as it is not needed anymo…
Browse files Browse the repository at this point in the history
…re (#11989)
  • Loading branch information
treff7es authored Dec 2, 2024
1 parent 02198f7 commit a31c88e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 117 deletions.
10 changes: 1 addition & 9 deletions metadata-ingestion/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,7 @@ task environmentSetup(type: Exec, dependsOn: checkPythonVersion) {
"touch ${sentinel_file}"
}

task runPreFlightScript(type: Exec, dependsOn: environmentSetup) {
def sentinel_file = ".preflight_sentinel"
outputs.file(sentinel_file)
commandLine 'bash', '-c',
"scripts/datahub_preflight.sh && " +
"touch ${sentinel_file}"
}

task installPackageOnly(type: Exec, dependsOn: runPreFlightScript) {
task installPackageOnly(type: Exec, dependsOn: environmentSetup) {
def sentinel_file = "${venv_name}/.build_install_package_only_sentinel"
inputs.file file('setup.py')
outputs.file(sentinel_file)
Expand Down
108 changes: 0 additions & 108 deletions metadata-ingestion/scripts/datahub_preflight.sh

This file was deleted.

0 comments on commit a31c88e

Please sign in to comment.