From 92f761c9372e21a3214c8c78a9c037eef7630e05 Mon Sep 17 00:00:00 2001 From: Valentyn Tymofieiev Date: Thu, 11 Apr 2024 16:33:33 -0700 Subject: [PATCH 1/2] Enable lint for all gradle and kts files --- .github/workflows/beam_PreCommit_Whitespace.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/beam_PreCommit_Whitespace.yml b/.github/workflows/beam_PreCommit_Whitespace.yml index e5a13e3cb3cf..4eba39f08247 100644 --- a/.github/workflows/beam_PreCommit_Whitespace.yml +++ b/.github/workflows/beam_PreCommit_Whitespace.yml @@ -19,10 +19,10 @@ on: push: tags: ['v*'] branches: ['master', 'release-*'] - paths: ['**.md', '**.build.gradle', 'build.gradle.kts', '.github/workflows/beam_PreCommit_Whitespace.yml'] + paths: ['**.md', '**.gradle', '**.kts', '.github/workflows/beam_PreCommit_Whitespace.yml'] pull_request_target: branches: ['master', 'release-*'] - paths: ['**.md', '**.build.gradle', 'build.gradle.kts', 'release/trigger_all_tests.json', '.github/trigger_files/beam_PreCommit_Whitespace.json'] + paths: ['**.md', '**.gradle', '**.kts', 'release/trigger_all_tests.json', '.github/trigger_files/beam_PreCommit_Whitespace.json'] issue_comment: types: [created] schedule: From 1d1f30d00617cc01218d04e46398615b94827580 Mon Sep 17 00:00:00 2001 From: Valentyn Tymofieiev Date: Thu, 11 Apr 2024 16:35:10 -0700 Subject: [PATCH 2/2] Fix lint. --- it/google-cloud-platform/build.gradle | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/it/google-cloud-platform/build.gradle b/it/google-cloud-platform/build.gradle index 1a7e21e4a79a..f83f24398409 100644 --- a/it/google-cloud-platform/build.gradle +++ b/it/google-cloud-platform/build.gradle @@ -82,7 +82,6 @@ dependencies { testRuntimeOnly library.java.slf4j_simple } - tasks.register( "GCSPerformanceTest", IoPerformanceTestUtilities.IoPerformanceTest, project, 'google-cloud-platform', 'FileBasedIOLT', ['configuration':'large','project':'apache-beam-testing', 'artifactBucket':'io-performance-temp'] @@ -149,10 +148,10 @@ tasks.register( + System.properties ) tasks.register( - "PubSubStressTestMedium", IoPerformanceTestUtilities.IoPerformanceTest, project, 'google-cloud-platform', 'PubSubIOST', - ['configuration':'medium','project':'apache-beam-testing', 'artifactBucket':'io-performance-temp'] + "PubSubStressTestMedium", IoPerformanceTestUtilities.IoPerformanceTest, project, 'google-cloud-platform', 'PubSubIOST', + ['configuration':'medium','project':'apache-beam-testing', 'artifactBucket':'io-performance-temp'] + System.properties) tasks.register( - "PubSubStressTestLarge", IoPerformanceTestUtilities.IoPerformanceTest, project, 'google-cloud-platform', 'PubSubIOST', - ['configuration':'large','project':'apache-beam-testing', 'artifactBucket':'io-performance-temp'] + "PubSubStressTestLarge", IoPerformanceTestUtilities.IoPerformanceTest, project, 'google-cloud-platform', 'PubSubIOST', + ['configuration':'large','project':'apache-beam-testing', 'artifactBucket':'io-performance-temp'] + System.properties)