Skip to content

Commit

Permalink
Release 0.3.0 (#34)
Browse files Browse the repository at this point in the history
* update chart testing

Signed-off-by: Allison Richardet <[email protected]>

* update version to 0.3.0

Signed-off-by: Allison Richardet <[email protected]>

---------

Signed-off-by: Allison Richardet <[email protected]>
  • Loading branch information
arichardet authored Dec 16, 2024
1 parent 89807da commit dc9e083
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 85 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,35 @@ name: Lint and Test Charts

on: [pull_request, workflow_dispatch]

env:
CI_VALUES_FILE: ${{ secrets.CI_VALUES_FILE }}

jobs:
lint-test:
runs-on: ubuntu-latest
strategy:
matrix:
k8s: ["1.19.16", "1.21.14", "1.22.9", "1.23.12", "1.24.7", "1.25.2"]
k8s: ["1.25.2", "1.26.15", "1.27.16"]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Use Repo Secret CI_VALUES_FILE as charts/lucenia/ci/test-values.yaml
run: echo "${{ secrets.CI_VALUES_FILE }}" > charts/lucenia/ci/test-values.yaml

- name: Install Helm
uses: azure/[email protected]
# as of 2022/12 the set-output still not fixed in this action
# https://github.com/Azure/setup-helm/issues/103
uses: azure/[email protected]
with:
version: v3.7.0
version: v3.16.3

- uses: actions/setup-python@v2
with:
python-version: '3.8'

- name: Install chart-testing
uses: helm/chart-testing-action@v2.1.0
uses: helm/chart-testing-action@v2.6.1

- name: Run chart-testing (list-changed)
id: list-changed
Expand All @@ -41,7 +45,7 @@ jobs:
run: ct lint --config ct.yaml

- name: Create kind cluster
uses: helm/kind-action@v1.4.0
uses: helm/kind-action@v1.10.0
with:
node_image: kindest/node:v${{ matrix.k8s }}
kubectl_version: v${{ matrix.k8s }}
Expand Down
4 changes: 2 additions & 2 deletions charts/lucenia/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the lucenia app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.1
version: 0.3.0

# This is the version number of Lucenia being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.2.1"
appVersion: "0.3.0"

maintainers:
- name: Lucenia
Expand Down
74 changes: 0 additions & 74 deletions charts/lucenia/ci/ci-values.yaml

This file was deleted.

14 changes: 14 additions & 0 deletions charts/lucenia/ci/test-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# singleNode is a boolean that determines if the cluster will be created with 1 replica
# Set to true if Lucenia cluster config discovery.type is set to single-node
# If true, the cluster will be created with 1 replica by default
# If false, the cluster will be created the replicaCount number of nodes
singleNode: true

# config is used to set `lucenia.yml` and other configuration
config:
lucenia.yml: |
cluster.name: lucenia-cluster
# Bind to all interfaces because we don't know what IP address Docker will assign to us.
network.host: 0.0.0.0
3 changes: 1 addition & 2 deletions ct.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# See https://github.com/helm/chart-testing#configuration
target-branch: main
helm-extra-args: --timeout 1000s
helm-lint-extra-args: --f 'standard'
debug: true

0 comments on commit dc9e083

Please sign in to comment.