You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2025/04/09 09:20:51 UTC

(logging-log4j-samples) 01/01: Add Develocity access key to Android build

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

pkarwasz pushed a commit to branch feature/develocity-access-key
in repository https://gitbox.apache.org/repos/asf/logging-log4j-samples.git

commit 65e2ec3d0684eaf1a4140632dcededdde5418a7f
Author: Piotr P. Karwasz <pk...@apache.org>
AuthorDate: Wed Apr 9 11:20:39 2025 +0200

    Add Develocity access key to Android build
---
 .github/workflows/android-reusable-test.yaml | 4 ++++
 .github/workflows/build.yaml                 | 2 ++
 .github/workflows/integration-test.yaml      | 6 ++++++
 3 files changed, 12 insertions(+)

diff --git a/.github/workflows/android-reusable-test.yaml b/.github/workflows/android-reusable-test.yaml
index b44a698..6b5fcd4 100644
--- a/.github/workflows/android-reusable-test.yaml
+++ b/.github/workflows/android-reusable-test.yaml
@@ -33,6 +33,10 @@ on:
         description: The branch, tag or SHA of `logging-log4j-samples` to checkout
         type: string
         default: ${{ github.ref }}
+    secrets:
+      DEVELOCITY_ACCESS_KEY:
+        description: The access key to the Develocity server
+        required: false
 
 permissions: read-all
 
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 7ba9dac..b57d7c6 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -40,3 +40,5 @@ jobs:
   integration-test:
     if: github.actor != 'dependabot[bot]'
     uses: apache/logging-log4j-samples/.github/workflows/integration-test.yaml@main
+    secrets:
+      DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml
index a2f8670..b6d33f8 100644
--- a/.github/workflows/integration-test.yaml
+++ b/.github/workflows/integration-test.yaml
@@ -33,6 +33,10 @@ on:
         description: The branch, tag or SHA of `logging-log4j-samples` to checkout
         type: string
         default: ${{ github.ref }}
+    secrets:
+      DEVELOCITY_ACCESS_KEY:
+        description: The access key to the Develocity server
+        required: false
   workflow_dispatch:
     inputs:
       log4j-version:
@@ -71,6 +75,8 @@ jobs:
       log4j-version: ${{ inputs.log4j-version }}
       log4j-repository-url: ${{ inputs.log4j-repository-url }}
       samples-ref: ${{ inputs.samples-ref }}
+    secrets:
+      DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
 
   graalvm-test:
     uses: apache/logging-log4j-samples/.github/workflows/graalvm-reusable-test.yaml@main