File tree Expand file tree Collapse file tree
addons/airflow/2/chart/airflow/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,12 +100,12 @@ Usage:
100100 . /opt/drycc/scripts/libfs.sh
101101 {{- if .context.Values.git.dags.enabled }}
102102 {{- range .context.Values.git.dags.repositories }}
103- is_dir_empty " /dags/{{ include " airflow.git.repository.name " . }}" && git clone {{ .repository }} --branch {{ .branch }} /dags/{{ include " airflow.git.repository.name" . }}
103+ is_dir_empty " /dags/{{ include " airflow.git.repository.name " . }}" && git clone {{ .repository }} --branch {{ .branch }} /dags/{{ include " airflow.git.repository.name" . }} && cd /dags/{{ include " airflow.git.repository.name " . }} && git config pull .rebase true
104104 {{- end }}
105105 {{- end }}
106106 {{- if .context.Values.git.plugins.enabled }}
107107 {{- range .context.Values.git.plugins.repositories }}
108- is_dir_empty " /plugins/{{ include " airflow.git.repository.name " . }}" && git clone {{ .repository }} --branch {{ .branch }} /plugins/{{ include " airflow.git.repository.name" . }}
108+ is_dir_empty " /plugins/{{ include " airflow.git.repository.name " . }}" && git clone {{ .repository }} --branch {{ .branch }} /plugins/{{ include " airflow.git.repository.name" . }} cd /plugins/{{ include " airflow.git.repository.name " . }} && git config pull .rebase true
109109 {{- end }}
110110 {{- end }}
111111{{- end }}
You can’t perform that action at this time.
0 commit comments