From 313a35ca9251084357c1815c34a597d19e03383c Mon Sep 17 00:00:00 2001 From: Florian Lemaitre Date: Thu, 29 Aug 2024 12:03:37 +0200 Subject: [PATCH] Fix deployment with new action --- .github/workflows/build.yml | 7 ++++++ tools/parameters.tfvars | 46 +++++++++++++++++++++++++------------ 2 files changed, 38 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a675acce0..2950ee9a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,9 @@ on: - "[0-9]+.[0-9]+.x" pull_request: +env: + ARMONIK_SHARED_HOST_PATH: ${{ github.workspace }}/infra/infrastructure/quick-deploy/localhost/all-in-one/data/ + jobs: versionning: name: Versionning @@ -142,6 +145,8 @@ jobs: mtls: ${{ matrix.mtls }} ext-csharp-version: ${{ needs.versionning.outputs.version }} core-version: 0.24.2 + shared-data-folder: ${{ env.ARMONIK_SHARED_HOST_PATH }} + log-suffix: end2end-${{ matrix.tls }}-${{ matrix.mtls }}-${{ matrix.sslvalidation }}-${{ matrix.useca }} - name: Setup hosts file run : echo -e "$(kubectl get svc ingress -n armonik -o jsonpath={.status.loadBalancer.ingress[0].ip})\tarmonik.local" | sudo tee -a /etc/hosts @@ -266,6 +271,8 @@ jobs: type: localhost ext-csharp-version: ${{ needs.versionning.outputs.version }} core-version: 0.24.2 + shared-data-folder: ${{ env.ARMONIK_SHARED_HOST_PATH }} + log-suffix: container - name: Run Test timeout-minutes: 20 diff --git a/tools/parameters.tfvars b/tools/parameters.tfvars index d83cc0388..f0636d3ad 100644 --- a/tools/parameters.tfvars +++ b/tools/parameters.tfvars @@ -274,25 +274,37 @@ ingress = { generate_client_cert = false } -extra_conf = { +configurations = { core = { - Amqp__AllowHostMismatch = true - Amqp__MaxPriority = "10" - Amqp__MaxRetries = "5" - Amqp__QueueStorage__LockRefreshPeriodicity = "00:00:45" - Amqp__QueueStorage__PollPeriodicity = "00:00:10" - Amqp__QueueStorage__LockRefreshExtension = "00:02:00" - MongoDB__TableStorage__PollingDelayMin = "00:00:01" - MongoDB__TableStorage__PollingDelayMax = "00:00:10" - MongoDB__AllowInsecureTls = true - MongoDB__TableStorage__PollingDelay = "00:00:01" - MongoDB__DataRetention = "10.00:00:00" - Redis__Timeout = 30000 - Redis__SslHost = "127.0.0.1" + env = { + Amqp__AllowHostMismatch = true + Amqp__MaxPriority = "10" + Amqp__MaxRetries = "5" + Amqp__QueueStorage__LockRefreshPeriodicity = "00:00:45" + Amqp__QueueStorage__PollPeriodicity = "00:00:10" + Amqp__QueueStorage__LockRefreshExtension = "00:02:00" + MongoDB__TableStorage__PollingDelayMin = "00:00:01" + MongoDB__TableStorage__PollingDelayMax = "00:00:10" + MongoDB__AllowInsecureTls = true + MongoDB__TableStorage__PollingDelay = "00:00:01" + MongoDB__DataRetention = "1.00:00:00" + Redis__Timeout = 30000 + Redis__SslHost = "127.0.0.1" + Redis__TtlTimeSpan = "1.00:00:00" + Submitter__DeletePayload = true + } } control = { - Submitter__MaxErrorAllowed = 50 + env = { + Submitter__MaxErrorAllowed = 50 + } } + worker = { + env = { + target_zip_path = "/tmp" + } + } + jobs = { env = { MongoDB__DataRetention = "1.00:00:00" } } } environment_description = { @@ -301,3 +313,7 @@ environment_description = { description = "Local development environment" color = "blue" } + +static = { + gui_configuration = {} +}