Skip to content

Commit

Permalink
test: update postgres, k8s, helm, checkout versions
Browse files Browse the repository at this point in the history
HELM_EXPERIMENTAL_OCI removed, as it became the default in Helm v3.8. Helm v3.8 required by newest Postgres chart.
  • Loading branch information
jeremiahlee committed Oct 12, 2024
1 parent b0ae6f8 commit e09c2dc
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 17 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/test-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ permissions:

jobs:
lint-templates:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.x"
check-latest: true

- name: Install dependencies (yamllint)
run: pip install yamllint
Expand Down Expand Up @@ -53,7 +54,7 @@ jobs:
# basic configuration can be used to successfully startup mastodon.
#
test-install:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 15

strategy:
Expand All @@ -72,17 +73,14 @@ jobs:
# - EKS: https://endoflife.date/amazon-eks
#
# The helm client's version can influence what helper functions is
# available for use in the templates, currently we need v3.6.0 or
# available for use in the templates, currently we need v3.8.0 or
# higher.
#
- k3s-channel: v1.21
helm-version: v3.8.0

env:
HELM_EXPERIMENTAL_OCI: "1"
- k3s-channel: v1.28
helm-version: v3.16.2

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# This action starts a k8s cluster with NetworkPolicy enforcement and
# installs both kubectl and helm.
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
charts/
.DS_Store
8 changes: 4 additions & 4 deletions Chart.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
dependencies:
- name: elasticsearch
repository: oci://registry-1.docker.io/bitnamicharts
version: 19.19.2
version: 19.19.4
- name: postgresql
repository: oci://registry-1.docker.io/bitnamicharts
version: 14.2.3
version: 14.3.3
- name: redis
repository: oci://registry-1.docker.io/bitnamicharts
version: 18.16.1
digest: sha256:684daaf2067d96e2aa6d93e9d29b7b13fc586f6ae929342e5e9c7c169b1c0748
generated: "2024-02-23T15:14:47.536480528-08:00"
digest: sha256:42611ccdc0107a8849cf3bdf359b3101d44ac8b21c131822cf13d3acc1ad447a
generated: "2024-10-12T17:11:00.698616+02:00"
6 changes: 3 additions & 3 deletions Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ appVersion: "v4.3.0"

dependencies:
- name: elasticsearch
version: 19.19.2
version: ~19.19.4
repository: oci://registry-1.docker.io/bitnamicharts
condition: elasticsearch.enabled
- name: postgresql
version: 14.2.3
version: ~14.3.3
repository: oci://registry-1.docker.io/bitnamicharts
condition: postgresql.enabled
- name: redis
version: 18.16.1
version: ~18.16.1
repository: oci://registry-1.docker.io/bitnamicharts
condition: redis.enabled

0 comments on commit e09c2dc

Please sign in to comment.