Skip to content

Commit c11a1bc

Browse files
init (#1)
* Boilerplate and crap * Some config * Mango runners * Pragmatism
1 parent 6929ffd commit c11a1bc

31 files changed

+1433
-0
lines changed

.cr.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
owner: unmango
2+
git-repo: charts
3+
pages-branch: main
4+
pages-index-path: index.yaml
5+
generate-release-notes: true
6+
pr: true

.github/renovate.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"customManagers:helmChartYamlAppVersions",
5+
"customManagers:makefileVersions",
6+
"github>UnstoppableMango/renovate-config"
7+
]
8+
}

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
push:
7+
branches: [main]
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
chart:
15+
- deemix
16+
- filebrowser
17+
steps:
18+
- uses: actions/checkout@v5
19+
20+
- run: make lint-${{ matrix.chart }}

.github/workflows/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
release:
9+
runs-on: unmango-runners
10+
permissions:
11+
contents: write
12+
steps:
13+
- uses: actions/checkout@v5
14+
with:
15+
fetch-depth: 0
16+
17+
- run: helm repo add oauth2-proxy https://oauth2-proxy.github.io/manifests
18+
19+
- name: Run chart-releaser
20+
uses: helm/chart-releaser-action@v1.7.0
21+
with:
22+
config: .cr.yaml

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
bin/
2+
charts/*/charts/
3+
.cr-release-packages/
4+
.envrc
5+
.vscode/*
6+
!.vscode/extensions.json

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"recommendations": [
3+
"github.vscode-github-actions"
4+
]
5+
}

Makefile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
_ != mkdir -p bin
2+
3+
GOARCH != go env GOARCH
4+
GOOS != go env GOOS
5+
6+
CR ?= bin/cr
7+
HELM ?= bin/helm
8+
9+
# renovate: datasource=github-releases depName=helm/chart-releaser
10+
CHART_RELEASER_VERSION := 1.8.1
11+
12+
# renovate: datasource=github-releases depName=helm/helm
13+
HELM_VERSION := 3.18.6
14+
15+
lint: lint-deemix lint-filebrowser
16+
lint-%: charts/%/Chart.yaml | $(HELM)
17+
$(HELM) lint $(dir $<)
18+
19+
index.yaml: | $(CR)
20+
$(CR) index --config .cr.yaml
21+
22+
.cr-release-packages/%-0.1.0.tgz: charts/%/Chart.yaml
23+
$(CR) package charts/$* --config .cr.yaml
24+
25+
bin/cr:
26+
curl -L https://github.com/helm/chart-releaser/releases/download/v${CHART_RELEASER_VERSION}/chart-releaser_${CHART_RELEASER_VERSION}_${GOOS}_${GOARCH}.tar.gz \
27+
| tar -zxvO cr > $@ && chmod +x $@
28+
29+
bin/helm:
30+
curl -L https://get.helm.sh/helm-v${HELM_VERSION}-${GOOS}-${GOARCH}.tar.gz \
31+
| tar -zxvO ${GOOS}-${GOARCH}/helm > $@ && chmod +x $@

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# UnMango Charts
2+
3+
Random Helm charts you may or may not find useful.
4+
5+
## Charts
6+
7+
- [Deemix](./charts/deemix/)
8+
- [Filebrowser](./charts/filebrowser/)
9+
10+
## Remarks
11+
12+
### Filebrowser
13+
14+
Filebrowser is looking for maintainers.
15+
16+
<https://github.com/filebrowser/filebrowser#project-status>
17+
18+
### Deemix
19+
20+
Deemix is a little unmaintained at the moment.
21+
22+
<https://gitlab.com/RemixDev/deemix-gui>
23+
<https://gitlab.com/Bockiii/deemix-docker/-/issues/149#note_2637650875>
24+
<https://gitlab.com/deeplydrumming/DeemixFix>

charts/deemix/.helmignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/
24+
# Dependencies
25+
node_modules/

charts/deemix/Chart.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dependencies:
2+
- name: oauth2-proxy
3+
repository: https://oauth2-proxy.github.io/manifests
4+
version: 7.7.19
5+
digest: sha256:63a68c9dd2a53ea1d7d9caf7a4dd58f5ba4de09c7a87cd2def6b7ed552c9d259
6+
generated: "2024-09-13T19:33:28.462786424Z"

0 commit comments

Comments
 (0)