From commits-return-58460-archive-asf-public=cust-asf.ponee.io@pulsar.apache.org Tue Jul 14 00:26:42 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1578D18037A for ; Tue, 14 Jul 2020 02:26:41 +0200 (CEST) Received: (qmail 42663 invoked by uid 500); 14 Jul 2020 00:26:39 -0000 Mailing-List: contact commits-help@pulsar.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.apache.org Delivered-To: mailing list commits@pulsar.apache.org Received: (qmail 42596 invoked by uid 99); 14 Jul 2020 00:26:39 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2020 00:26:39 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id AA416811C0; Tue, 14 Jul 2020 00:26:39 +0000 (UTC) Date: Tue, 14 Jul 2020 00:26:38 +0000 To: "commits@pulsar.apache.org" Subject: [pulsar] branch master updated: Use Github actions cache for Maven deps (#7527) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <159468639819.29341.6244781790829058844@gitbox.apache.org> From: mmerli@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: pulsar X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 38155f6619b74cf6ab4e9ab7ea31a7e09629433f X-Git-Newrev: cf6e28f793a7994a5dd2bd1665bebf6be1fea115 X-Git-Rev: cf6e28f793a7994a5dd2bd1665bebf6be1fea115 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. mmerli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pulsar.git The following commit(s) were added to refs/heads/master by this push: new cf6e28f Use Github actions cache for Maven deps (#7527) cf6e28f is described below commit cf6e28f793a7994a5dd2bd1665bebf6be1fea115 Author: Matteo Merli AuthorDate: Mon Jul 13 17:26:25 2020 -0700 Use Github actions cache for Maven deps (#7527) --- .github/workflows/ci-cpp.yaml | 8 ++++++++ .github/workflows/ci-integration-backwards-compatibility.yaml | 8 ++++++++ .github/workflows/ci-integration-cli.yaml | 8 ++++++++ .github/workflows/ci-integration-function-state.yaml | 8 ++++++++ .github/workflows/ci-integration-messaging.yaml | 8 ++++++++ .github/workflows/ci-integration-process.yaml | 8 ++++++++ .github/workflows/ci-integration-schema.yaml | 8 ++++++++ .github/workflows/ci-integration-sql.yaml | 8 ++++++++ .github/workflows/ci-integration-standalone.yaml | 8 ++++++++ .github/workflows/ci-integration-thread.yaml | 8 ++++++++ .github/workflows/ci-integration-tiered-filesystem.yaml | 8 ++++++++ .github/workflows/ci-integration-tiered-jcloud.yaml | 8 ++++++++ .github/workflows/ci-license.yaml | 8 ++++++++ .github/workflows/ci-unit-adaptors.yml | 8 ++++++++ .github/workflows/ci-unit-broker-broker.yml | 8 ++++++++ .github/workflows/ci-unit-broker-client.yml | 8 ++++++++ .github/workflows/ci-unit-broker-flaky.yml | 8 ++++++++ .github/workflows/ci-unit-broker-long-time.yml | 8 ++++++++ .github/workflows/ci-unit-broker-others.yml | 8 ++++++++ .github/workflows/ci-unit-broker-publish-throttle.yml | 8 ++++++++ .github/workflows/ci-unit-broker-sasl.yml | 8 ++++++++ .github/workflows/ci-unit-broker-transaction.yml | 8 ++++++++ .github/workflows/ci-unit-broker.yml | 8 ++++++++ .github/workflows/ci-unit-flaky.yaml | 8 ++++++++ .github/workflows/ci-unit-proxy.yaml | 8 ++++++++ .github/workflows/ci-unit.yaml | 8 ++++++++ 26 files changed, 208 insertions(+) diff --git a/.github/workflows/ci-cpp.yaml b/.github/workflows/ci-cpp.yaml index 85f7195..38c1f87 100644 --- a/.github/workflows/ci-cpp.yaml +++ b/.github/workflows/ci-cpp.yaml @@ -41,6 +41,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-integration-backwards-compatibility.yaml b/.github/workflows/ci-integration-backwards-compatibility.yaml index 3dadfbf..eb5c1f9 100644 --- a/.github/workflows/ci-integration-backwards-compatibility.yaml +++ b/.github/workflows/ci-integration-backwards-compatibility.yaml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-integration-cli.yaml b/.github/workflows/ci-integration-cli.yaml index 7502f8e..f509e63 100644 --- a/.github/workflows/ci-integration-cli.yaml +++ b/.github/workflows/ci-integration-cli.yaml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-integration-function-state.yaml b/.github/workflows/ci-integration-function-state.yaml index c114e86..03230db 100644 --- a/.github/workflows/ci-integration-function-state.yaml +++ b/.github/workflows/ci-integration-function-state.yaml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-integration-messaging.yaml b/.github/workflows/ci-integration-messaging.yaml index 3583c47..20c91c3 100644 --- a/.github/workflows/ci-integration-messaging.yaml +++ b/.github/workflows/ci-integration-messaging.yaml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-integration-process.yaml b/.github/workflows/ci-integration-process.yaml index f8213cc..f6016d2 100644 --- a/.github/workflows/ci-integration-process.yaml +++ b/.github/workflows/ci-integration-process.yaml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-integration-schema.yaml b/.github/workflows/ci-integration-schema.yaml index 42fa3d6..747bdef 100644 --- a/.github/workflows/ci-integration-schema.yaml +++ b/.github/workflows/ci-integration-schema.yaml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-integration-sql.yaml b/.github/workflows/ci-integration-sql.yaml index d79d2e7..ce96a33 100644 --- a/.github/workflows/ci-integration-sql.yaml +++ b/.github/workflows/ci-integration-sql.yaml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-integration-standalone.yaml b/.github/workflows/ci-integration-standalone.yaml index 4693b48..5c6014d 100644 --- a/.github/workflows/ci-integration-standalone.yaml +++ b/.github/workflows/ci-integration-standalone.yaml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-integration-thread.yaml b/.github/workflows/ci-integration-thread.yaml index 46b0874..c663ab0 100644 --- a/.github/workflows/ci-integration-thread.yaml +++ b/.github/workflows/ci-integration-thread.yaml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-integration-tiered-filesystem.yaml b/.github/workflows/ci-integration-tiered-filesystem.yaml index ae46890..0f06b6a 100644 --- a/.github/workflows/ci-integration-tiered-filesystem.yaml +++ b/.github/workflows/ci-integration-tiered-filesystem.yaml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-integration-tiered-jcloud.yaml b/.github/workflows/ci-integration-tiered-jcloud.yaml index d2ef27b..d6259ed 100644 --- a/.github/workflows/ci-integration-tiered-jcloud.yaml +++ b/.github/workflows/ci-integration-tiered-jcloud.yaml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-license.yaml b/.github/workflows/ci-license.yaml index 7d70304..acf8a98 100644 --- a/.github/workflows/ci-license.yaml +++ b/.github/workflows/ci-license.yaml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: diff --git a/.github/workflows/ci-unit-adaptors.yml b/.github/workflows/ci-unit-adaptors.yml index 9fe71f2..34866e3 100644 --- a/.github/workflows/ci-unit-adaptors.yml +++ b/.github/workflows/ci-unit-adaptors.yml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-unit-broker-broker.yml b/.github/workflows/ci-unit-broker-broker.yml index 91374ec..141edd3 100644 --- a/.github/workflows/ci-unit-broker-broker.yml +++ b/.github/workflows/ci-unit-broker-broker.yml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-unit-broker-client.yml b/.github/workflows/ci-unit-broker-client.yml index 513629c..0fbb066 100644 --- a/.github/workflows/ci-unit-broker-client.yml +++ b/.github/workflows/ci-unit-broker-client.yml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-unit-broker-flaky.yml b/.github/workflows/ci-unit-broker-flaky.yml index c8ea356..c98f12c 100644 --- a/.github/workflows/ci-unit-broker-flaky.yml +++ b/.github/workflows/ci-unit-broker-flaky.yml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-unit-broker-long-time.yml b/.github/workflows/ci-unit-broker-long-time.yml index ba58391..4b6767a 100644 --- a/.github/workflows/ci-unit-broker-long-time.yml +++ b/.github/workflows/ci-unit-broker-long-time.yml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-unit-broker-others.yml b/.github/workflows/ci-unit-broker-others.yml index a64c964..4ab2622 100644 --- a/.github/workflows/ci-unit-broker-others.yml +++ b/.github/workflows/ci-unit-broker-others.yml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-unit-broker-publish-throttle.yml b/.github/workflows/ci-unit-broker-publish-throttle.yml index c1d11d9..4b74ec2 100644 --- a/.github/workflows/ci-unit-broker-publish-throttle.yml +++ b/.github/workflows/ci-unit-broker-publish-throttle.yml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-unit-broker-sasl.yml b/.github/workflows/ci-unit-broker-sasl.yml index 0d395a4..42ac9ae 100644 --- a/.github/workflows/ci-unit-broker-sasl.yml +++ b/.github/workflows/ci-unit-broker-sasl.yml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-unit-broker-transaction.yml b/.github/workflows/ci-unit-broker-transaction.yml index 82a1510..397d56f 100644 --- a/.github/workflows/ci-unit-broker-transaction.yml +++ b/.github/workflows/ci-unit-broker-transaction.yml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-unit-broker.yml b/.github/workflows/ci-unit-broker.yml index 14360c8..9e75ae1 100644 --- a/.github/workflows/ci-unit-broker.yml +++ b/.github/workflows/ci-unit-broker.yml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-unit-flaky.yaml b/.github/workflows/ci-unit-flaky.yaml index 31220f8..1234cf7 100644 --- a/.github/workflows/ci-unit-flaky.yaml +++ b/.github/workflows/ci-unit-flaky.yaml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-unit-proxy.yaml b/.github/workflows/ci-unit-proxy.yaml index cd60b51..f685356 100644 --- a/.github/workflows/ci-unit-proxy.yaml +++ b/.github/workflows/ci-unit-proxy.yaml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master diff --git a/.github/workflows/ci-unit.yaml b/.github/workflows/ci-unit.yaml index d329893..97f9de7 100644 --- a/.github/workflows/ci-unit.yaml +++ b/.github/workflows/ci-unit.yaml @@ -40,6 +40,14 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Check if this pull request only changes documentation id: docs uses: apache/pulsar-test-infra/diff-only@master