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 f2c355a commit 9cc4ccc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datahub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: datahub
description: A Helm chart to deploy the datahub application
type: application
version: 0.4.3
version: 0.5.4
appVersion: "1.16.0"
maintainers:
- name: geOrchestra
Expand Down
1 change: 1 addition & 0 deletions datahub/templates/_bootstrap-datahub-configuration.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
cp /ssh-secret/ssh-privatekey /root/.ssh/id_rsa ;
chmod 0600 /root/.ssh/id_rsa ;
{{- end }}
rm -Rf /etc/datahub
git clone --depth 1 --single-branch {{ .Values.configuration.git.url }} -b {{ .Values.configuration.git.ref }} /etc/datahub ;
{{- if .Values.configuration.git.ssh_secret }}
env:
Expand Down
2 changes: 1 addition & 1 deletion metadata-editor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: metadata-editor
description: A Helm chart to deploy the metadata-editor application
type: application
version: 0.1.0
version: 0.1.1
appVersion: "1.0.0"
maintainers:
- name: geOrchestra
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
cp /ssh-secret/ssh-privatekey /root/.ssh/id_rsa ;
chmod 0600 /root/.ssh/id_rsa ;
{{- end }}
rm -Rf /etc/metadata-editor
git clone --depth 1 --single-branch {{ .Values.configuration.git.url }} -b {{ .Values.configuration.git.ref }} /etc/metadata-editor ;
{{- if .Values.configuration.git.ssh_secret }}
env:
Expand Down

0 comments on commit 9cc4ccc

Please sign in to comment.