Skip to content

Commit

Permalink
remove datadir before git clone
Browse files Browse the repository at this point in the history
  • Loading branch information
edevosc2c committed Mar 14, 2024
1 parent 992a658 commit 418b1a8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cadastrapp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A Helm chart for deploying geOrchestra's cadastrapp

type: application

version: 0.2.1
version: 0.2.2

# Last version released on https://github.com/georchestra/cadastrapp is 2.0
appVersion: "2.0.0"
1 change: 1 addition & 0 deletions cadastrapp/templates/cadastrapp-depl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ spec:
cp /ssh-secret/ssh-privatekey /root/.ssh/id_rsa ;
chmod 0600 /root/.ssh/id_rsa ;
{{- end }}
rm -Rf /etc/georchestra
git clone {{ .Values.cadastrapp.datadir.git.url }} -b {{ .Values.cadastrapp.datadir.git.ref }} /etc/georchestra
env:
{{- if .Values.cadastrapp.datadir.git.ssh_secret }}
Expand Down
2 changes: 1 addition & 1 deletion geoserver-lb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ name: geoserver-lb
apiVersion: v2
description: A Helm chart for deploying geoserver loadbalanced
type: application
version: 0.5.0
version: 0.5.1
appVersion: "22.0.4"
1 change: 1 addition & 0 deletions geoserver-lb/templates/geoserver-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ spec:
- mkdir -p /root/.ssh ;
cp /ssh-secret/ssh-privatekey /root/.ssh/id_rsa ;
chmod 0600 /root/.ssh/id_rsa ;
rm -Rf /etc/georchestra
if [ ! -f /etc/georchestra/default.properties ] ; then
git clone {{ .Values.geoserver.git.repository_url }} -b {{ .Values.geoserver.git.branch }} /etc/georchestra ;
fi ;
Expand Down

0 comments on commit 418b1a8

Please sign in to comment.