You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2023/06/21 08:30:24 UTC

[plc4x] 02/02: chore(build/plc4go): expose testutils options as inputs [skip ci]

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

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit bb605959d238edaa10e02cd51cefad3d992043b1
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Wed Jun 21 10:30:10 2023 +0200

    chore(build/plc4go): expose testutils options as inputs [skip ci]
---
 .github/workflows/go-platform.yml | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/.github/workflows/go-platform.yml b/.github/workflows/go-platform.yml
index 9ea6135527..52aeaab503 100644
--- a/.github/workflows/go-platform.yml
+++ b/.github/workflows/go-platform.yml
@@ -36,6 +36,43 @@ on:
         description: "Forces a snapshot update"
         required: false
         default: 'false'
+      highLogPrecision:
+        description: "sets the logs to nano resolution"
+        required: false
+        default: 'false'
+      passLoggerToModel:
+        description: "passes the logger to the model"
+        required: false
+        default: 'false'
+      receiveTimeout:
+        description: "sets the receive timeout to milliseconds"
+        required: false
+        default: '600000'
+      traceTransactionManagerWorkers:
+        description: "sets tracing for transaction manager workers"
+        required: false
+        default: 'false'
+      traceTransactionManagerTransactions:
+        description: "sets tracing for transaction manager transactions"
+        required: false
+        default: 'false'
+      traceDefaultMessageCodecWorker:
+        description: "sets tracing for the default message codec worker"
+        required: false
+        default: 'false'
+      traceExecutorWorkers:
+        description: "sets tracing for executor workers"
+        required: false
+        default: 'false'
+
+env:
+  PLC4X_TEST_HIGH_TEST_LOG_PRECISION: ${{ github.event.inputs.highLogPrecision }}
+  PLC4X_TEST_PASS_LOGGER_TO_MODEL: ${{ github.event.inputs.passLoggerToModel }}
+  PLC4X_TEST_RECEIVE_TIMEOUT_MS: ${{ github.event.inputs.receiveTimeout }}
+  PLC4X_TEST_TRACE_TRANSACTION_MANAGER_WORKERS: ${{ github.event.inputs.traceTransactionManagerWorkers }}
+  PLC4X_TEST_TRACE_TRANSACTION_MANAGER_TRANSACTIONS: ${{ github.event.inputs.traceTransactionManagerTransactions }}
+  PLC4X_TEST_TRACE_MESSAGE_CODEC_WORKER: ${{ github.event.inputs.traceDefaultMessageCodecWorker }}
+  PLC4X_TEST_TRACE_EXECUTOR_WORKERS: ${{ github.event.inputs.traceExecutorWorkers }}
 
 jobs:
   test: