mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
parent
8f5d80ab5e
commit
b1fc8dd547
31
.github/workflows/charts-validate.yaml
vendored
31
.github/workflows/charts-validate.yaml
vendored
@ -215,11 +215,7 @@ jobs:
|
|||||||
if:
|
if:
|
||||||
always() &&
|
always() &&
|
||||||
needs.changes-lint.outputs.detected == 'true'
|
needs.changes-lint.outputs.detected == 'true'
|
||||||
name: Lint charts
|
name: Lint successful
|
||||||
strategy:
|
|
||||||
matrix: ${{ fromJson(needs.changes-lint.outputs.matrix) }}
|
|
||||||
fail-fast: true
|
|
||||||
max-parallel: 15
|
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -241,29 +237,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Run chart-testing (lint)
|
- name: Run chart-testing (lint)
|
||||||
id: lint
|
id: lint
|
||||||
run: ct lint --config .github/ct-lint.yaml --charts ${{ matrix.chart }}
|
run: ct lint --config .github/ct-lint.yaml
|
||||||
|
|
||||||
# Summarize matrix https://github.community/t/status-check-for-a-matrix-jobs/127354/7
|
|
||||||
lint_success:
|
|
||||||
needs:
|
|
||||||
- changes-lint
|
|
||||||
- lint
|
|
||||||
if: |
|
|
||||||
always() &&
|
|
||||||
needs.lint.result != 'skipped'
|
|
||||||
name: Lint successful
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
steps:
|
|
||||||
- name: Check lint matrix status
|
|
||||||
if: ${{ needs.changes-lint.outputs.detected == 'true' && needs.lint.result != 'success' }}
|
|
||||||
run: exit 1
|
|
||||||
|
|
||||||
unittest:
|
unittest:
|
||||||
needs:
|
needs:
|
||||||
- lint_success
|
- lint
|
||||||
if: |
|
if: |
|
||||||
always() &&
|
always() &&
|
||||||
needs.lint_success.result == 'success'
|
needs.lint.result == 'success'
|
||||||
name: Run unit tests
|
name: Run unit tests
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
@ -298,10 +279,10 @@ jobs:
|
|||||||
install:
|
install:
|
||||||
needs:
|
needs:
|
||||||
- changes-install
|
- changes-install
|
||||||
- lint_success
|
- lint
|
||||||
if:
|
if:
|
||||||
always() &&
|
always() &&
|
||||||
needs.lint_success.result == 'success' &&
|
needs.lint.result == 'success' &&
|
||||||
needs.changes-install.outputs.detected == 'true'
|
needs.changes-install.outputs.detected == 'true'
|
||||||
name: Install charts
|
name: Install charts
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 4.27.2
|
appVersion: 4.27.2
|
||||||
description: Ghost is a blogging and publishing software
|
description: Ghost is a blogging and publishing software
|
||||||
name: ghost
|
name: ghost
|
||||||
version: 1.1.0
|
version: 1.1.1
|
||||||
kubeVersion: ">=1.19.0-0"
|
kubeVersion: ">=1.19.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- ghost
|
- ghost
|
||||||
@ -25,7 +25,8 @@ dependencies:
|
|||||||
condition: mariadb.enabled
|
condition: mariadb.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: fixed
|
||||||
description: Upgraded `common` chart dependency to version `4.3.0`.
|
description: Fixed PVC creation.
|
||||||
- kind: changed
|
links:
|
||||||
description: Upgraded `mariadb` chart dependency to version `10.2.0`.
|
- name: GitHub Issue
|
||||||
|
url: https://github.com/k8s-at-home/charts/issues/1358
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# ghost
|
# ghost
|
||||||
|
|
||||||
![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![AppVersion: 4.27.2](https://img.shields.io/badge/AppVersion-4.27.2-informational?style=flat-square)
|
![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-informational?style=flat-square) ![AppVersion: 4.27.2](https://img.shields.io/badge/AppVersion-4.27.2-informational?style=flat-square)
|
||||||
|
|
||||||
Ghost is a blogging and publishing software
|
Ghost is a blogging and publishing software
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ N/A
|
|||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
### Version 1.1.0
|
### Version 1.1.1
|
||||||
|
|
||||||
#### Added
|
#### Added
|
||||||
|
|
||||||
@ -108,12 +108,11 @@ N/A
|
|||||||
|
|
||||||
#### Changed
|
#### Changed
|
||||||
|
|
||||||
* Upgraded `common` chart dependency to version `4.3.0`.
|
N/A
|
||||||
* Upgraded `mariadb` chart dependency to version `10.2.0`.
|
|
||||||
|
|
||||||
#### Fixed
|
#### Fixed
|
||||||
|
|
||||||
N/A
|
* Fixed PVC creation.
|
||||||
|
|
||||||
### Older versions
|
### Older versions
|
||||||
|
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
|
|
||||||
{{/* Append the hardcoded settings */}}
|
{{/* Append the hardcoded settings */}}
|
||||||
{{- define "ghost.hardcodedValues" -}}
|
{{- define "ghost.hardcodedValues" -}}
|
||||||
|
|
||||||
persistence:
|
|
||||||
{{- if not .Values.persistence.content.enabled }}
|
{{- if not .Values.persistence.content.enabled }}
|
||||||
|
persistence:
|
||||||
content:
|
content:
|
||||||
enabled: "true"
|
enabled: true
|
||||||
type: "emptyDir"
|
type: "emptyDir"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user