You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ib...@apache.org on 2021/01/14 21:24:12 UTC

[beam] branch master updated: Add gradle-command-action as submodule

This is an automated email from the ASF dual-hosted git repository.

ibzib pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 1dd1513  Add gradle-command-action as submodule
     new 17c7162  Merge pull request #13753 from TobKed/gradle-command-action-as-submodule
1dd1513 is described below

commit 1dd1513b483f0fa49cfcc062736bda73c2f2e835
Author: Tobiasz Kędzierski <to...@polidea.com>
AuthorDate: Thu Jan 14 15:00:20 2021 +0100

    Add gradle-command-action as submodule
---
 .github/actions/gradle-command-action |  1 +
 .github/workflows/java_tests.yml      | 19 ++++++++++++++-----
 .gitmodules                           |  3 +++
 3 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/.github/actions/gradle-command-action b/.github/actions/gradle-command-action
new file mode 160000
index 0000000..90ccf05
--- /dev/null
+++ b/.github/actions/gradle-command-action
@@ -0,0 +1 @@
+Subproject commit 90ccf054e6b9905f30f98c938bce4c6acd323b6b
diff --git a/.github/workflows/java_tests.yml b/.github/workflows/java_tests.yml
index 62c51fb..0b8cf2f 100644
--- a/.github/workflows/java_tests.yml
+++ b/.github/workflows/java_tests.yml
@@ -67,9 +67,12 @@ jobs:
     steps:
       - name: Checkout code
         uses: actions/checkout@v2
+        with:
+          persist-credentials: false
+          submodules: recursive
       # :sdks:java:core:test
       - name: Run :sdks:java:core:test
-        uses: eskatos/gradle-command-action@v1
+        uses: ./.github/actions/gradle-command-action
         with:
           arguments: :sdks:java:core:test
       - name: Upload test logs for :sdks:java:core:test
@@ -80,7 +83,7 @@ jobs:
           path: sdks/java/core/build/reports/tests/test
       # :sdks:java:harness:test
       - name: Run :sdks:java:harness:test
-        uses: eskatos/gradle-command-action@v1
+        uses: ./.github/actions/gradle-command-action
         with:
           arguments: :sdks:java:harness:test
         if: always()
@@ -92,7 +95,7 @@ jobs:
           path: sdks/java/harness/build/reports/tests/test
       # :runners:core-java:test
       - name: Run :runners:core-java:test
-        uses: eskatos/gradle-command-action@v1
+        uses: ./.github/actions/gradle-command-action
         with:
           arguments: :runners:core-java:test
         if: always()
@@ -113,8 +116,11 @@ jobs:
     steps:
       - name: Checkout code
         uses: actions/checkout@v2
+        with:
+          persist-credentials: false
+          submodules: recursive
       - name: Run WordCount Unix
-        uses: eskatos/gradle-command-action@v1
+        uses: ./.github/actions/gradle-command-action
         with:
           arguments: -p examples/ integrationTest --tests org.apache.beam.examples.WordCountIT
             -DintegrationTestRunner=direct
@@ -143,6 +149,9 @@ jobs:
     steps:
       - name: Checkout code
         uses: actions/checkout@v2
+        with:
+          persist-credentials: false
+          submodules: recursive
       - name: Authenticate on GCP
         uses: google-github-actions/setup-gcloud@master
         with:
@@ -151,7 +160,7 @@ jobs:
           project_id: ${{ secrets.GCP_PROJECT_ID }}
           export_default_credentials: true
       - name: Run WordCount
-        uses: eskatos/gradle-command-action@v1
+        uses: ./.github/actions/gradle-command-action
         with:
           arguments: -p examples/ integrationTest --tests org.apache.beam.examples.WordCountIT
             -DintegrationTestPipelineOptions=["--runner=DataflowRunner","--project=${{ secrets.GCP_PROJECT_ID }}","--tempRoot=gs://${{ secrets.GCP_TESTING_BUCKET }}/tmp/"]
diff --git a/.gitmodules b/.gitmodules
index 3a6406c..fa6e30a 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -7,3 +7,6 @@
 [submodule ".github/actions/github-push-action"]
 	path = .github/actions/github-push-action
 	url = https://github.com/ad-m/github-push-action
+[submodule ".github/actions/gradle-command-action"]
+	path = .github/actions/gradle-command-action
+	url = https://github.com/eskatos/gradle-command-action