Skip to content
Snippets Groups Projects
Verified Commit f8fbde28 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

remove tar after unpacking, skip apps with no name

parent 5cb7c0fd
No related branches found
No related tags found
1 merge request!273Resolve "Pin nextcloud onlyoffice plugin version"
Pipeline #28616 failed with stages
in 8 minutes and 9 seconds
......@@ -56,7 +56,9 @@ data:
# Install all apps declared in the `apps` helm values array
{{- range .Values.apps }}
{{- if and .github_repository .version }}
{{- if not .name }}
echo "Skipping app {{ . }} without name variable set"
{{- else if and .github_repository .version .release_filename }}
# Apps with a pinned version number are downloaded from GitHub so we can
# update the pin with Renovatebot
......@@ -81,6 +83,7 @@ data:
# Extract app into target directory. The app tars usually contain a folder
# named after the app name
tar -xf "{{ .name }}.tar.gz" -C "$target_directory"
rm "{{ .name }}.tar.gz"
fi
{{- else }}
# Unpinned app
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment