From 304b1d7e486f0dcb5e3bcf947dfcf291847517eb Mon Sep 17 00:00:00 2001 From: Guillaume Cusnieux Date: Mon, 13 Jun 2022 17:25:43 +0200 Subject: [PATCH] fix: use good path for config-files gravitee-io/issues#5287 --- ae/build.sh | 4 ++-- am/3.x/build.sh | 6 +++--- apim/3.x/build.sh | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ae/build.sh b/ae/build.sh index cd0145f..5531bef 100755 --- a/ae/build.sh +++ b/ae/build.sh @@ -70,8 +70,8 @@ build_alert_engine() { --architecture ${ARCH} \ --url "${URL}" \ --description "${DESC}: Alert Engine" \ - --config-files ${TEMPLATE_DIR}/opt/graviteeio/ae/graviteeio-ae-engine-${VERSION}/config \ - --config-files ${TEMPLATE_DIR}/opt/graviteeio/ae/graviteeio-ae-engine-${VERSION}/license \ + --config-files /opt/graviteeio/ae/graviteeio-ae-engine-${VERSION}/config \ + --config-files /opt/graviteeio/ae/graviteeio-ae-engine-${VERSION}/license \ --verbose \ -n ${PKGNAME}-engine } diff --git a/am/3.x/build.sh b/am/3.x/build.sh index 7a057f2..7161352 100755 --- a/am/3.x/build.sh +++ b/am/3.x/build.sh @@ -70,7 +70,7 @@ build_access_gateway() { --architecture ${ARCH} \ --url "${URL}" \ --description "${DESC}: Access Gateway" \ - --config-files ${TEMPLATE_DIR}/opt/graviteeio/am/graviteeio-am-gateway-${VERSION}/config \ + --config-files /opt/graviteeio/am/graviteeio-am-gateway-${VERSION}/config \ --verbose \ -n ${PKGNAME}-gateway-3x } @@ -107,7 +107,7 @@ build_management_api() { --architecture ${ARCH} \ --url "${URL}" \ --description "${DESC}: Management API" \ - --config-files ${TEMPLATE_DIR}/opt/graviteeio/am/graviteeio-am-management-api-${VERSION}/config \ + --config-files /opt/graviteeio/am/graviteeio-am-management-api-${VERSION}/config \ --verbose \ -n ${PKGNAME}-management-api-3x } @@ -141,7 +141,7 @@ build_management_ui() { --url "${URL}" \ --description "${DESC}: Management UI" \ --depends nginx \ - --config-files ${TEMPLATE_DIR}/opt/graviteeio/am/graviteeio-am-management-ui-${VERSION}/constants.json \ + --config-files /opt/graviteeio/am/graviteeio-am-management-ui-${VERSION}/constants.json \ --verbose \ -n ${PKGNAME}-management-ui-3x } diff --git a/apim/3.x/build.sh b/apim/3.x/build.sh index 081c58e..ab9e209 100755 --- a/apim/3.x/build.sh +++ b/apim/3.x/build.sh @@ -70,7 +70,7 @@ build_api_gateway() { --architecture ${ARCH} \ --url "${URL}" \ --description "${DESC}: API Gateway" \ - --config-files ${TEMPLATE_DIR}/opt/graviteeio/apim/graviteeio-apim-gateway-${VERSION}/config \ + --config-files /opt/graviteeio/apim/graviteeio-apim-gateway-${VERSION}/config \ --verbose \ -n ${PKGNAME}-gateway-3x } @@ -107,7 +107,7 @@ build_rest_api() { --architecture ${ARCH} \ --url "${URL}" \ --description "${DESC}: Management API" \ - --config-files ${TEMPLATE_DIR}/opt/graviteeio/apim/graviteeio-apim-rest-api-${VERSION}/config \ + --config-files /opt/graviteeio/apim/graviteeio-apim-rest-api-${VERSION}/config \ --verbose \ -n ${PKGNAME}-rest-api-3x } @@ -141,7 +141,7 @@ build_management_ui() { --url "${URL}" \ --description "${DESC}: Management UI" \ --depends nginx \ - --config-files ${TEMPLATE_DIR}/opt/graviteeio/apim/graviteeio-apim-console-ui-${VERSION}/constants.json \ + --config-files /opt/graviteeio/apim/graviteeio-apim-console-ui-${VERSION}/constants.json \ --verbose \ -n ${PKGNAME}-management-ui-3x }