Skip to content

Commit c15cb5d

Browse files
committed
build: skip GPU on ct install
1 parent 7d7c3d5 commit c15cb5d

File tree

2 files changed

+2
-68
lines changed

2 files changed

+2
-68
lines changed

.github/workflows/test-lint.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ jobs:
198198
app=plex-media-server
199199
helm template pms "charts/${app}" \
200200
--namespace example \
201-
--values "charts/${app}/ci/ci-values.yaml" |
201+
--values "charts/${app}/ci/ci-values.yaml" \
202+
--set 'pms.gpu.nvidia.enabled=true' |
202203
kubeconform \
203204
-kubernetes-version=1.32.0 \
204205
-schema-location default \

charts/plex-media-server/ci/ci-values.yaml

Lines changed: 0 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ ingress:
2121

2222
pms:
2323
configStorage: 1Gi
24-
gpu:
25-
nvidia:
26-
enabled: true
2724

2825
resources:
2926
limits:
@@ -37,82 +34,18 @@ pms:
3734

3835
shareProcessNamespace: true
3936

40-
livenessProbe:
41-
httpGet:
42-
path: /identity
43-
port: 32400
44-
initialDelaySeconds: 60
45-
periodSeconds: 60
46-
timeoutSeconds: 1
47-
failureThreshold: 3
48-
49-
readinessProbe:
50-
httpGet:
51-
path: /identity
52-
port: 32400
53-
initialDelaySeconds: 60
54-
periodSeconds: 60
55-
timeoutSeconds: 1
56-
failureThreshold: 3
57-
58-
initContainer:
59-
image:
60-
registry: index.docker.io
61-
repository: alpine
62-
tag: '3.21'
63-
64-
script: |-
65-
#!/bin/sh
66-
echo "fetching pre-existing pms database to import..."
67-
68-
if [ -d "/config/Library" ]; then
69-
echo "PMS library already exists, exiting."
70-
exit 0
71-
fi
72-
73-
apk --update add curl
74-
curl http://example.com/pms.tgz -o pms.tgz
75-
tar -xvzf pms.tgz -C /config
76-
cp -r /config/data/Library /config/Library
77-
rm -rf /config/data pms.tgz
78-
79-
echo "Done."
80-
81-
rclone:
82-
enabled: true
83-
84-
image:
85-
registry: index.docker.io
86-
repository: rclone/rclone
87-
tag: null
88-
89-
readOnly: true
90-
91-
resources:
92-
limits:
93-
cpu: 100m
94-
memory: 128Mi
95-
requests:
96-
cpu: 100m
97-
memory: 128Mi
98-
9937
service:
10038
type: ClusterIP
10139
port: 32400
10240
annotations:
10341
plex.tv/description: just an annotation
10442

105-
nodeSelector: {}
106-
tolerations: []
107-
affinity: {}
108-
10943
priorityClassName: system-node-critical
11044

11145
commonLabels:
11246
plex.tv/name: pms
11347

11448
extraEnv:
115-
PLEX_CLAIM: claim
11649
HOSTNAME: PlexServer
11750
TZ: Etc/UTC
11851
PLEX_UPDATE_CHANNEL: '5'

0 commit comments

Comments
 (0)