Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable gradle cache when publishing connectors #4507

Merged
merged 2 commits into from
Jul 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions tools/integrations/manage.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash

set -e
set -x

. tools/lib/lib.sh

Expand Down Expand Up @@ -29,16 +30,16 @@ cmd_build() {
[ -d "$path" ] || error "Path must be the root path of the integration"

local run_tests=$1; shift || run_tests=true

# TODO re-enable build cache if needed (https://github.com/airbytehq/airbyte/issues/4508)
echo "Building $path"
./gradlew "$(_to_gradle_path "$path" clean)"
./gradlew "$(_to_gradle_path "$path" build)"
./gradlew --no-daemon -no-build-cache "$(_to_gradle_path "$path" clean)"
./gradlew --no-daemon -no-build-cache "$(_to_gradle_path "$path" build)"

if [ "$run_tests" = false ] ; then
echo "Skipping integration tests..."
else
echo "Running integration tests..."
./gradlew "$(_to_gradle_path "$path" integrationTest)"
./gradlew --no-daemon -no-build-cache "$(_to_gradle_path "$path" integrationTest)"
fi
}

Expand Down