Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/maven/fixes/8.3' into maven/rele…
Browse files Browse the repository at this point in the history
…ase/8.3
  • Loading branch information
metaventis-build committed May 23, 2024
2 parents 4d3657d + 19e0037 commit 48505d8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
12 changes: 11 additions & 1 deletion archetypes/helm/src/main/resources/archetype-resources/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@ set -o pipefail

if [[ -z $1 ]] ; then
echo ""
echo "deploy.sh <release> <chart> [<version|path>]"
echo "deploy.sh [-s skip checks and deploy directly] <release> <chart> [<version|path>]"
echo ""
exit 0
fi

SKIP=false
while getopts s: opt; do
case $opt in
s) SKIP=true
esac
shift
done

RELEASE=${1?"release required"}
CHART=${2?"chart required"}
VERSION=${3:-"":->=0.0.0-0}
Expand Down Expand Up @@ -84,6 +92,7 @@ fi

popd >/dev/null || exit

if [ "$SKIP" = false ] ; then
echo ""
echo "--------------------------------------------------------------------------------"
echo ""
Expand Down Expand Up @@ -182,6 +191,7 @@ case ${answer:0:1} in
;;
esac

fi
echo ""
echo "--------------------------------------------------------------------------------"
echo ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,11 @@ COPY --chown=worker:worker assets/profiler profiler/

########################################################################################################################

RUN set -eux \
&& chmod -R o+w /opt/bitnami/tomcat/conf /opt/bitnami/tomcat/lib /opt/bitnami/tomcat/logs /opt/bitnami/tomcat/temp /opt/bitnami/tomcat/webapps /opt/bitnami/tomcat/work

########################################################################################################################

USER worker

EXPOSE 8009 8080 8081
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ data:
SERVICES_RENDERING_DATABASE_HOST: {{ .Values.config.database.host | quote }}
SERVICES_RENDERING_DATABASE_NAME: {{ .Values.config.database.database | quote }}
SERVICES_RENDERING_DATABASE_PORT: {{ .Values.config.database.port | quote }}
SERVICES_RENDERING_SERVICE_CACHE_CLEANER_USE_DISK_SIZE: {{ .Values.job.cachecleaner.config.useDiskSize | quote }}
SERVICES_RENDERING_SERVICE_GDPR_ENABLED: {{ .Values.config.gdpr.enabled | quote }}
{{- with .Values.config.gdpr.modules }}
SERVICES_RENDERING_SERVICE_GDPR_MODULES: '{{- join "," . }}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,9 @@ job:

cachecleaner:

config:
useDiskSize: true

podAnnotations: {}

resources:
Expand Down

0 comments on commit 48505d8

Please sign in to comment.