Skip to content

Commit

Permalink
ci(ingest): add flag to skip tests but run codegen during release (da…
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored and Eric Yomi committed Jan 18, 2023
1 parent 5a79ef6 commit d862d64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion metadata-ingestion-modules/airflow-plugin/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
set -euxo pipefail

if [[ ! ${RELEASE_SKIP_TEST:-} ]]; then
../../gradlew build # also runs tests
../gradlew build # also runs tests
elif [[ ! ${RELEASE_SKIP_INSTALL:-} ]]; then
../gradlew install
fi

MODULE=datahub_airflow_plugin
Expand Down
2 changes: 2 additions & 0 deletions metadata-ingestion/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ set -euxo pipefail

if [[ ! ${RELEASE_SKIP_TEST:-} ]]; then
../gradlew build # also runs tests
elif [[ ! ${RELEASE_SKIP_INSTALL:-} ]]; then
../gradlew install
fi

# Check packaging constraint.
Expand Down

0 comments on commit d862d64

Please sign in to comment.