Skip to content

Commit 4b0c3f9

Browse files
author
Kjeld Schouten-Lebbing
authored
feat(apps): Unraid Port - digits (truecharts#2437)
* feat(apps): Unraid Port - digits * need alphabetic * fix questions * submit port fix * whoops * decrease timeout * add apps user in CI to prevent issues * sudo * slight tweak * Update charts/dev/server-7daystodie/values.yaml * add configmap * mount it as well * again * subpath * shoot * fix object name * hmm * 66 to 55 * simplify code a bit * get LS details * get status * try something else * hmm * try cmd * whoops * bashlist * test * use script * againnn * more quotes * non double command * quoted * enter.sh * groupmod * try setting in args * try without groupadd * whoops again * Apply suggestions from code review * trigger precommit * use tccr * exclude in ci * whoops
1 parent 6178a2c commit 4b0c3f9

File tree

13 files changed

+988
-9
lines changed

13 files changed

+988
-9
lines changed

.github/actions/collect-changes/action.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -96,19 +96,19 @@ runs:
9696
echo "Discovering changed charts since '$latest_tag'..."
9797
changed_charts=()
9898
readarray -t changed_charts <<< "$(lookup_changed_charts "$latest_tag")"
99-
99+
100100
CHARTS=()
101101
for CHARTPATH in "${changed_charts[@]}"
102102
do
103103
IFS='/' read -r -a path_parts <<< "${CHARTPATH}"
104104
CHARTS+=("${path_parts[1]}/${path_parts[2]}")
105105
done
106-
106+
107107
# Remove duplicates
108108
CHARTS=( `printf "%s\n" "${CHARTS[@]}" | sort -u` )
109109
# Set output to changed charts
110110
printf "::set-output name=addedOrModified::%s\n" "${CHARTS[*]}"
111-
111+
112112
echo "Number of detected changed charts: ${#CHARTS[@]}"
113113
if [ ${#CHARTS[@]} -eq 0 ] || [ "${CHARTS[0]}" = " " ] || [ "${CHARTS[0]}" = "/" ]; then
114114
echo "No Changed Charts detected since latest tag..."

.github/ct-install.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
remote: origin
22
target-branch: master
3-
helm-extra-args: --timeout 600s
3+
helm-extra-args: --timeout 240s
44
chart-yaml-schema: .github/chart_schema.yaml
55
chart-dirs:
66
- charts/incubator
@@ -34,6 +34,7 @@ excluded-charts:
3434
- charts/incubator/zigbee2mqtt
3535
- zigbee2mqtt
3636
- incubator/zigbee2mqtt
37+
- charts/dev/server-7daystodie
3738
chart-repos:
3839
- truecharts-old=https://truecharts.org
3940
- truecharts=https://charts.truecharts.org

.github/ct-lint.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ chart-dirs:
1010
- charts/dev
1111
- charts/games
1212
- charts/enterprise
13-
excluded-charts:
13+
excluded-charts: []
1414
chart-repos:
1515
- truecharts-old=https://truecharts.org
1616
- truecharts=https://charts.truecharts.org

.github/workflows/charts-lint.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ jobs:
5959
id: list-changed
6060
if: inputs.chartChangesDetected == 'true'
6161
run: |
62-
EXCLUDED=$(yq eval -o=json '.excluded-charts // []' .github/ct-install.yaml)
63-
CHARTS=$(ct list-changed --config .github/ct-install.yaml)
62+
EXCLUDED=$(yq eval -o=json '.excluded-charts // []' .github/ct-lint.yaml)
63+
CHARTS=$(ct list-changed --config .github/ct-lint.yaml)
6464
CHARTS_JSON=$(echo "${CHARTS}" | jq -R -s -c 'split("\n")[:-1]')
6565
OUTPUT_JSON=$(echo "{\"excluded\": ${EXCLUDED}, \"all\": ${CHARTS_JSON}}" | jq -c '.all-.excluded')
6666
OUTPUT_JSON1=$(echo $OUTPUT_JSON | jq -r -c '.[:250]')

.github/workflows/charts-release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ jobs:
144144
- name: Checkout
145145
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3
146146
if: |
147-
steps.collect-changes.outputs.changesDetectedAfterTag == 'true'
147+
steps.collect-changes.outputs.changesDetectedAfterTag == 'true'
148148
with:
149149
fetch-depth: 1
150150
repository: truecharts/catalog

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,3 @@ chartsrepo/
5353
website/
5454
pub/
5555
docs/
56-
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+
*~
18+
# Various IDEs
19+
.project
20+
.idea/
21+
*.tmproj
22+
.vscode/
23+
# OWNERS file for Kubernetes
24+
OWNERS
25+
# helm-docs templates
26+
*.gotmpl
+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
annotations:
2+
truecharts.org/SCALE-support: 'true'
3+
truecharts.org/catagories: |
4+
- GameServers
5+
truecharts.org/grade: U
6+
apiVersion: v2
7+
appVersion: 0.0.1
8+
dependencies:
9+
- name: common
10+
repository: https://library-charts.truecharts.org
11+
version: 9.2.6
12+
deprecated: false
13+
description: "This Docker will download and install SteamCMD. It will also install\
14+
\ 7 Days to Die and run it.\r\n"
15+
home: https://github.com/truecharts/apps/tree/master/charts/stable/7daystodie
16+
icon: https://truecharts.org/_static/img/appicons/7daystodie.png
17+
keywords:
18+
- 7daystodie
19+
- GameServers
20+
kubeVersion: '>=1.16.0-0'
21+
maintainers:
22+
23+
name: TrueCharts
24+
url: https://truecharts.org
25+
name: server-7daystodie
26+
sources:
27+
- https://www.steampowered.com/
28+
- https://hub.docker.com/r/ich777/steamcmd/
29+
type: application
30+
version: 0.0.1

charts/dev/server-7daystodie/icon.png

282 KB
Loading

0 commit comments

Comments
 (0)