Compare commits
72 Commits
e46e008941
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 816ff471cb | |||
| 826884baff | |||
| 0b1258bebe | |||
| a1acf02233 | |||
| bae6a260f0 | |||
| 047c1c8758 | |||
| 9d56d1d0b9 | |||
| b036ce7710 | |||
| d478cb6ec3 | |||
| 3cdaaf07a4 | |||
| 4876cdc866 | |||
| 847eca2458 | |||
| a2a9d05ee0 | |||
| 0c2fbf3a79 | |||
| 90e6fced80 | |||
| c60bcd8c9f | |||
| 6a66bc9829 | |||
| c2bdc364c0 | |||
| b8aef496f4 | |||
| c3c8b8eebe | |||
| b6cd28d1e9 | |||
| 8389dbcee7 | |||
| 7540309c71 | |||
| 596c4102ed | |||
| d862f7c132 | |||
| 7cbab35102 | |||
| 4d44f56679 | |||
| 721dc409ad | |||
| 0ada9155eb | |||
| 5129be3fc8 | |||
| f70afe5523 | |||
| d6292ca4b0 | |||
| c514a76b5e | |||
| 6287a199b8 | |||
| d884c6cb2b | |||
| b7e034847e | |||
| cbb973550c | |||
|
|
041946b804 | ||
|
|
9793780639 | ||
|
|
a5d7592dc7 | ||
|
|
e6b0bb2db2 | ||
|
|
e3d4952df6 | ||
|
|
7bc8d7f084 | ||
|
|
06b0355568 | ||
|
|
5f6e0e9e35 | ||
|
|
8748fa515b | ||
|
|
fbbeb2e407 | ||
|
|
d84ebe5751 | ||
|
|
a062df8654 | ||
|
|
900cfed378 | ||
|
|
cb2b3a2c3a | ||
|
|
0c992a6d46 | ||
| 2604afabb5 | |||
| 10c0b70359 | |||
| 9abb6ce3cb | |||
| ea197d2006 | |||
| c735392ee5 | |||
| 63f651d622 | |||
| 81a2fb2c7f | |||
| 8d8630b0c5 | |||
| a7c67e138c | |||
| 8cda255fae | |||
| fa6f0ff85a | |||
| c23ff885f2 | |||
| d252b09a5d | |||
| 04b1992002 | |||
| 57f012a639 | |||
| d952476420 | |||
| 3fd277dd88 | |||
| 1f86724ba5 | |||
| 47168eb6dc | |||
| 87384c8b63 |
@@ -4,9 +4,9 @@ on: [push]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
runs-on: shell
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
HELM_CHART_VERSION: "1.0.24"
|
HELM_CHART_VERSION: "1.1.2"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Helm
|
- name: Set up Helm
|
||||||
@@ -15,10 +15,9 @@ jobs:
|
|||||||
version: 'v3.0.0'
|
version: 'v3.0.0'
|
||||||
- run: 'sed -i "s/version:.*/version: \"${HELM_CHART_VERSION}\"/" ./Chart/Chart.yaml'
|
- run: 'sed -i "s/version:.*/version: \"${HELM_CHART_VERSION}\"/" ./Chart/Chart.yaml'
|
||||||
- run: helm package ./Chart
|
- run: helm package ./Chart
|
||||||
- run: echo ${{ secrets.GITEA_TOKEN }} > /tmp/gitea-token
|
|
||||||
- name: Upload Helm Chart
|
- name: Upload Helm Chart
|
||||||
run: |
|
run: |
|
||||||
curl --request POST \
|
curl -ki -X POST \
|
||||||
--user ${{ secrets.HELM_PKG_UPLOAD_USER }}:${{ secrets.HELM_PKG_UPLOAD_PASS }} \
|
--user ${{ secrets.HELM_PKG_UPLOAD_USER }}:${{ secrets.HELM_PKG_UPLOAD_PASS }} \
|
||||||
--form "chart=@wordyne-${HELM_CHART_VERSION}.tgz" \
|
--upload-file "wordyne-${HELM_CHART_VERSION}.tgz" \
|
||||||
https://git.cloudyne.io/api/packages/helm/helm/api/charts
|
https://helm.cloudyne.io/api/charts
|
||||||
|
|||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,4 @@
|
|||||||
example.yaml
|
example.yaml
|
||||||
example*.yaml
|
example*.yaml
|
||||||
|
example*.yml
|
||||||
|
test-*.yaml
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
variables:
|
variables:
|
||||||
HELM_CHART_VERSION: "0.6.13"
|
HELM_CHART_VERSION: "1.0.24"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- deploy
|
- deploy
|
||||||
@@ -9,9 +9,7 @@ default:
|
|||||||
name: cloudyne/kubectl-helm:latest
|
name: cloudyne/kubectl-helm:latest
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
tags:
|
tags:
|
||||||
- build01
|
- shell
|
||||||
- helm
|
|
||||||
- chartbuild
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
|||||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: wordyne
|
name: wordyne
|
||||||
description: Helm chart for deploying pre-built website containers to kubernetes clusters
|
description: Helm chart for deploying pre-built website containers to kubernetes clusters
|
||||||
type: application
|
type: application
|
||||||
version: "1.0.24"
|
version: "1.0.27"
|
||||||
appVersion: "6.2.2"
|
appVersion: "6.2.2"
|
||||||
|
|||||||
@@ -99,23 +99,29 @@ spec:
|
|||||||
- name: serverconfig
|
- name: serverconfig
|
||||||
mountPath: /init-go/config.json
|
mountPath: /init-go/config.json
|
||||||
subPath: init.json
|
subPath: init.json
|
||||||
|
{{- if .Values.storage.cloud.active }}
|
||||||
|
- name: cloud
|
||||||
|
mountPath: "/mnt/cloud"
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.storage.local.active }}
|
{{- if .Values.storage.local.active }}
|
||||||
{{- range .Values.storage.folders }}
|
{{- range .Values.storage.folders }}
|
||||||
- name: local
|
- name: local
|
||||||
mountPath: "/app/web/app/{{ . }}"
|
mountPath: "/app/web/app/{{ . }}"
|
||||||
subPath: "{{ . }}"
|
subPath: "{{ . }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.storage.cloud.active }}
|
|
||||||
- name: cloud
|
|
||||||
mountPath: "/mnt/cloud"
|
|
||||||
{{- end }}
|
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- if .Values.storage.cloud.active }}
|
{{- if .Values.storage.cloud.active }}
|
||||||
{{- range .Values.storage.folders }}
|
{{- range .Values.storage.folders }}
|
||||||
|
{{- if or ( eq . "certificates" ) ( eq . "secrets" ) }}
|
||||||
|
- name: local
|
||||||
|
mountPath: "/app/{{ . }}"
|
||||||
|
subPath: "{{ . }}"
|
||||||
|
{{- else }}
|
||||||
- name: cloud
|
- name: cloud
|
||||||
mountPath: "/app/web/app/{{ . }}"
|
mountPath: "/app/web/app/{{ . }}"
|
||||||
subPath: "{{ . }}"
|
subPath: "{{ . }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
@@ -145,22 +151,34 @@ spec:
|
|||||||
- name: serverconfig
|
- name: serverconfig
|
||||||
mountPath: /docker-entrypoint.d/unit.json
|
mountPath: /docker-entrypoint.d/unit.json
|
||||||
subPath: unit.json
|
subPath: unit.json
|
||||||
{{- if .Values.storage.local.active }}
|
|
||||||
{{- range .Values.storage.folders }}
|
|
||||||
- name: local
|
|
||||||
mountPath: "/app/web/app/{{ . }}"
|
|
||||||
subPath: "{{ . }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.storage.cloud.active }}
|
{{- if .Values.storage.cloud.active }}
|
||||||
- name: cloud
|
- name: cloud
|
||||||
mountPath: "/mnt/cloud"
|
mountPath: "/mnt/cloud"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.storage.local.active }}
|
||||||
|
{{- range .Values.storage.folders }}
|
||||||
|
{{- if or ( eq . "certificates" ) ( eq . "secrets" ) }}
|
||||||
|
- name: local
|
||||||
|
mountPath: "/app/{{ . }}"
|
||||||
|
subPath: "{{ . }}"
|
||||||
|
{{- else }}
|
||||||
|
- name: local
|
||||||
|
mountPath: "/app/web/app/{{ . }}"
|
||||||
|
subPath: "{{ . }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- if .Values.storage.cloud.active }}
|
{{- if .Values.storage.cloud.active }}
|
||||||
{{- range .Values.storage.folders }}
|
{{- range .Values.storage.folders }}
|
||||||
|
{{- if or ( eq . "certificates" ) ( eq . "secrets" ) }}
|
||||||
|
- name: cloud
|
||||||
|
mountPath: "/app/{{ . }}"
|
||||||
|
subPath: "{{ . }}"
|
||||||
|
{{- else }}
|
||||||
- name: cloud
|
- name: cloud
|
||||||
mountPath: "/app/web/app/{{ . }}"
|
mountPath: "/app/web/app/{{ . }}"
|
||||||
subPath: "{{ . }}"
|
subPath: "{{ . }}"
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#dev-newchart
|
||||||
{{- if .Values.init.asJob }}
|
{{- if .Values.init.asJob }}
|
||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
@@ -93,16 +94,16 @@ spec:
|
|||||||
- name: serverconfig
|
- name: serverconfig
|
||||||
mountPath: /init-go/config.json
|
mountPath: /init-go/config.json
|
||||||
subPath: init.json
|
subPath: init.json
|
||||||
|
{{- if .Values.storage.cloud.active }}
|
||||||
|
- name: cloud
|
||||||
|
mountPath: "/mnt/cloud"
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.storage.local.active }}
|
{{- if .Values.storage.local.active }}
|
||||||
{{- range .Values.storage.folders }}
|
{{- range .Values.storage.folders }}
|
||||||
- name: local
|
- name: local
|
||||||
mountPath: "/app/web/app/{{ . }}"
|
mountPath: "/app/web/app/{{ . }}"
|
||||||
subPath: "{{ . }}"
|
subPath: "{{ . }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.storage.cloud.active }}
|
|
||||||
- name: cloud
|
|
||||||
mountPath: "/mnt/cloud"
|
|
||||||
{{- end }}
|
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- if .Values.storage.cloud.active }}
|
{{- if .Values.storage.cloud.active }}
|
||||||
{{- range .Values.storage.folders }}
|
{{- range .Values.storage.folders }}
|
||||||
|
|||||||
@@ -81,12 +81,12 @@ secrets:
|
|||||||
|
|
||||||
storage:
|
storage:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
- name: "pull-secret"
|
# - name: "pull-secret"
|
||||||
type: "secret"
|
# type: "secret"
|
||||||
files:
|
# files:
|
||||||
- name: .dockerconfigjson
|
# - name: .dockerconfigjson
|
||||||
content: |
|
# content: |
|
||||||
{"auths":{"ghcr.io":{"username":"ghcr.io","password":"ghcr.io","auth":"ghcr.io"}}}
|
# {"auths":{"ghcr.io":{"username":"ghcr.io","password":"ghcr.io","auth":"ghcr.io"}}}
|
||||||
# - name: "secret01"
|
# - name: "secret01"
|
||||||
# type: "secret"
|
# type: "secret"
|
||||||
# files:
|
# files:
|
||||||
@@ -140,6 +140,17 @@ init:
|
|||||||
# url: "https://url.to/content.zip"
|
# url: "https://url.to/content.zip"
|
||||||
|
|
||||||
email:
|
email:
|
||||||
|
relay:
|
||||||
|
enabled: false
|
||||||
|
relayName: "smtp-relay"
|
||||||
|
relayHost: "relay.domain.com"
|
||||||
|
relayPort: 2525
|
||||||
|
# Generate automatically
|
||||||
|
# relayUser: "relayuser"
|
||||||
|
# relayPassword: "relaypassword"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
smtpHost: ""
|
smtpHost: ""
|
||||||
smtpPort: ""
|
smtpPort: ""
|
||||||
smtpAuth: false
|
smtpAuth: false
|
||||||
|
|||||||
Reference in New Issue
Block a user