fix gitignore, add makefile
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,2 @@
|
|||||||
**/charts/*
|
charts/**/charts
|
||||||
**.tgz
|
**.tgz
|
||||||
21
charts/nextcloud/.helmignore
Normal file
21
charts/nextcloud/.helmignore
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# Patterns to ignore when building packages.
|
||||||
|
# This supports shell glob matching, relative path matching, and
|
||||||
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
|
.DS_Store
|
||||||
|
# Common VCS dirs
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
# Common backup files
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
||||||
14
charts/nextcloud/Makefile
Normal file
14
charts/nextcloud/Makefile
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
VERSION := $(shell yq -r .version Chart.yaml)
|
||||||
|
|
||||||
|
build_only:
|
||||||
|
helm dependency build
|
||||||
|
helm package .
|
||||||
|
|
||||||
|
cleanup:
|
||||||
|
rm -r charts
|
||||||
|
rm nextcloud-${VERSION}.tgz
|
||||||
|
|
||||||
|
build: build_only cleanup
|
||||||
|
|
||||||
|
push:
|
||||||
|
helm push nextcloud-${VERSION}.tgz oci://git.djf.lol/davidfrickert/nextcloud
|
||||||
Reference in New Issue
Block a user