From 463168c73816ff6b58e20f8e4dda94e38a8ce0ff Mon Sep 17 00:00:00 2001 From: TeufelSL Date: Thu, 9 Jun 2022 14:29:52 +0200 Subject: [PATCH 1/3] Fix harness.yml to use /Backoffice as root_dir for spryker versions newer 202108 --- src/spryker/harness.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spryker/harness.yml b/src/spryker/harness.yml index 3f0636d81..7b8f8c565 100644 --- a/src/spryker/harness.yml +++ b/src/spryker/harness.yml @@ -123,7 +123,7 @@ attributes: DE: = 'zed-de-' ~ @('hostname') AT: = 'zed-at-' ~ @('hostname') US: = 'zed-us-' ~ @('hostname') - root_dir: = @('app.web_directory') ~ '/Zed' + root_dir: "= @('spryker.demoshop-version') >= '202108.0'? @('app.web_directory') ~ '/Backoffice' : @('app.web_directory') ~ '/Zed'" zed_api: external_hosts: DE: = 'zed-api-de-' ~ @('hostname') From 017972864836e279f8bfbb68c5a82558ab873327 Mon Sep 17 00:00:00 2001 From: TeufelSL Date: Fri, 10 Jun 2022 08:35:51 +0200 Subject: [PATCH 2/3] use version_compare method --- src/spryker/harness.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spryker/harness.yml b/src/spryker/harness.yml index 7b8f8c565..ea186592e 100644 --- a/src/spryker/harness.yml +++ b/src/spryker/harness.yml @@ -123,13 +123,13 @@ attributes: DE: = 'zed-de-' ~ @('hostname') AT: = 'zed-at-' ~ @('hostname') US: = 'zed-us-' ~ @('hostname') - root_dir: "= @('spryker.demoshop-version') >= '202108.0'? @('app.web_directory') ~ '/Backoffice' : @('app.web_directory') ~ '/Zed'" + root_dir: "= version_compare(@('spryker.demoshop-version'), '202108.0', '>=') ? '/Backoffice' : '/Zed'" zed_api: external_hosts: DE: = 'zed-api-de-' ~ @('hostname') AT: = 'zed-api-at-' ~ @('hostname') US: = 'zed-api-us-' ~ @('hostname') - root_dir: "= @('spryker.demoshop-version') >= '202108.0'? @('app.web_directory') ~ '/BackendGateway' : @('app.web_directory') ~ '/Zed'" + root_dir: "= version_compare(@('spryker.demoshop-version'), '202108.0', '>=') ? '/BackendGateway' : '/Zed'" glue: external_hosts: DE: = 'glue-de-' ~ @('hostname') From d920f9e784c9ccebc269732d7835018f1a8605d4 Mon Sep 17 00:00:00 2001 From: andytson-inviqa Date: Fri, 9 Dec 2022 14:02:29 +0000 Subject: [PATCH 3/3] Fix missing web_directory --- src/spryker/harness.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spryker/harness.yml b/src/spryker/harness.yml index ea186592e..9bab093a9 100644 --- a/src/spryker/harness.yml +++ b/src/spryker/harness.yml @@ -123,13 +123,13 @@ attributes: DE: = 'zed-de-' ~ @('hostname') AT: = 'zed-at-' ~ @('hostname') US: = 'zed-us-' ~ @('hostname') - root_dir: "= version_compare(@('spryker.demoshop-version'), '202108.0', '>=') ? '/Backoffice' : '/Zed'" + root_dir: "= @('app.web_directory') ~ (version_compare(@('spryker.demoshop-version'), '202108.0', '>=') ? '/Backoffice' : '/Zed')" zed_api: external_hosts: DE: = 'zed-api-de-' ~ @('hostname') AT: = 'zed-api-at-' ~ @('hostname') US: = 'zed-api-us-' ~ @('hostname') - root_dir: "= version_compare(@('spryker.demoshop-version'), '202108.0', '>=') ? '/BackendGateway' : '/Zed'" + root_dir: "= @('app.web_directory') ~ (version_compare(@('spryker.demoshop-version'), '202108.0', '>=') ? '/BackendGateway' : '/Zed')" glue: external_hosts: DE: = 'glue-de-' ~ @('hostname')