Compare commits

..

3 Commits

Author SHA1 Message Date
db3e0f59ca Merge pull request 'v0.1.1 Romm - Fix Service' (#14) from alice/helm-charts:main into main
Some checks failed
checks / check and test (push) Successful in 26s
generate-chart / generate-chart-publish (push) Failing after 3m33s
Reviewed-on: #14
2023-06-26 15:51:05 +00:00
103b1d3145 v0.1.1 Romm - Fix Service
All checks were successful
checks / check and test (pull_request) Successful in 28s
2023-06-26 15:49:57 +00:00
a75e56947a Fix Gitea Deployment fully 2023-06-26 15:47:44 +00:00
4 changed files with 8 additions and 14 deletions

View File

@ -13,7 +13,7 @@ jobs:
- name: install tools - name: install tools
run: | run: |
apt update -y apt update -y
apt install -y curl apt install -y curl lftp
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list
apt update -y apt update -y
@ -41,13 +41,7 @@ jobs:
for filename in ./_build/*.tgz; do for filename in ./_build/*.tgz; do
helm cm-push $filename cooopsspace helm cm-push $filename cooopsspace
done done
- name: Deploy to FTP Server - name: Deploy to FTP Server
uses: https://github.com/SamKirkland/FTP-Deploy-Action@v4.3.4 run: |
with: lftp ${{ secrets.ftp_host }} -u ${{ secrets.ftp_user }},${{ secrets.ftp_password }} -e "set ftp:ssl-protect-data true; set ftp:ssl-force true; set ssl:verify-certificate true; mirror --overwrite --reverse --continue --dereference -x ^\.git/$ ./_build/ ./; quit"
server: ${{ secrets.ftp_host }}
username: ${{ secrets.ftp_user }}
server-dir: ./
local-dir: "./_build/"
protocol: ftps
password: ${{ secrets.ftp_password }}

View File

@ -18,7 +18,7 @@ romm: configure romm_ci
helm package charts/stable/romm/ -d _build/ helm package charts/stable/romm/ -d _build/
index: index:
curl -L -o _build/index.yaml https://charts.coo-ops.space/index.yaml curl -L -o index.yaml https://charts.coo-ops.space/index.yaml
helm repo index _build/ --url https://charts.coo-ops.space --merge index.yaml helm repo index _build/ --url https://charts.coo-ops.space --merge index.yaml
ci: homebox_ci romm_ci ci: homebox_ci romm_ci

View File

@ -1,7 +1,7 @@
apiVersion: v2 apiVersion: v2
name: romm name: romm
# This is the chart version. # This is the chart version.
version: 0.1.0 version: 0.1.1
# A SemVer range of compatible Kubernetes versions (optional) # A SemVer range of compatible Kubernetes versions (optional)
# kubeVersion: ">=1.16.0-0" # kubeVersion: ">=1.16.0-0"
# What is this Application? # What is this Application?

View File

@ -4,9 +4,9 @@ metadata:
name: {{ .Release.Name }} name: {{ .Release.Name }}
namespace: {{ .Values.namespace }} namespace: {{ .Values.namespace }}
labels: labels:
app: {{ .Release.Name }} {{- include "romm.labels" . | nindent 4 }}
spec: spec:
ports: ports:
- port: 80 - port: 80
selector: selector:
app: {{ .Release.Name }} {{- include "romm.selectorLabels" . | nindent 4 }}