Skip to content

Commit

Permalink
Trino 419 (#162)
Browse files Browse the repository at this point in the history
* Changed use trino 419

* Changed: bump version

* Changed: k8s version updates

* Added: k8s supported versions

* Changed: updated actions

* Changed: trigger action
  • Loading branch information
valeriano-manassero authored Jun 7, 2023
1 parent d3739cf commit 06eb6bf
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 23 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: Lint and Test Charts
on:
pull_request:
paths:
- 'valeriano-manassero/**'
- '**'

jobs:
lint-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v3.5.0
- name: Run helm-docs
run: .github/helm-docs.sh
install-chart:
Expand All @@ -21,29 +21,28 @@ jobs:
strategy:
matrix:
k8s:
- v1.22.7
- v1.23.6
- v1.24.0
- v1.25.8
- v1.26.3
- v1.27.0
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v3.5.0
with:
fetch-depth: 0
- name: Create kind ${{ matrix.k8s }} cluster
uses: helm/kind-action@v1.2.0
uses: helm/kind-action@v1.5.0
with:
version: v0.13.0
node_image: kindest/node:${{ matrix.k8s }}
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.0.1
- name: Add bitnami repo
run: helm repo add bitnami https://charts.bitnami.com/bitnami
- name: Add elstic repo
run: helm repo add elastic https://helm.elastic.co
uses: helm/chart-testing-action@v2.4.0
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --chart-dirs=valeriano-manassero --target-branch=main)
changed=$(ct list-changed --chart-dirs valeriano-manassero --target-branch main)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
echo "changed=true" >> "$GITHUB_OUTPUT"
echo "changed_charts=\"${changed//$'\n'/,}\"" >> "$GITHUB_OUTPUT"
fi
- name: Run chart-testing (lint and install)
run: ct lint-and-install --chart-dirs=valeriano-manassero --target-branch=main --helm-extra-args="--timeout=15m" --debug=true
run: ct lint-and-install --chart-dirs valeriano-manassero --target-branch main --helm-extra-args "--timeout=15m" --charts=${{steps.list-changed.outputs.changed_charts}} --debug true
if: steps.list-changed.outputs.changed == 'true'
9 changes: 5 additions & 4 deletions valeriano-manassero/trino/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
apiVersion: v1
appVersion: "380"
appVersion: "419"
description: High performance, distributed SQL query engine for big data
name: trino
version: 4.1.2
version: 4.2.0
kubeVersion: ">= 1.25.0-0 < 1.28.0-0"
home: https://trino.io
icon: https://trino.io/assets/images/trino-logo/trino-ko_tiny-alt.svg
sources:
Expand All @@ -25,5 +26,5 @@ keywords:
- "high performance"
annotations:
artifacthub.io/changes: |
- kind: fixed
description: PASSWORD string check
- kind: changed
description: Trino app version to 419
8 changes: 6 additions & 2 deletions valeriano-manassero/trino/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# trino

![Version: 4.1.2](https://img.shields.io/badge/Version-4.1.2-informational?style=flat-square) ![AppVersion: 380](https://img.shields.io/badge/AppVersion-380-informational?style=flat-square)
![Version: 4.2.0](https://img.shields.io/badge/Version-4.2.0-informational?style=flat-square) ![AppVersion: 419](https://img.shields.io/badge/AppVersion-419-informational?style=flat-square)

High performance, distributed SQL query engine for big data

Expand All @@ -17,6 +17,10 @@ High performance, distributed SQL query engine for big data
* <https://github.com/valeriano-manassero/helm-charts>
* <https://github.com/trinodb/trino>

## Requirements

Kubernetes: `>= 1.25.0-0 < 1.28.0-0`

## Values

| Key | Type | Default | Description |
Expand Down Expand Up @@ -84,7 +88,7 @@ High performance, distributed SQL query engine for big data
| image.securityContext.fsGroup | int | `1000` | |
| image.securityContext.runAsGroup | int | `1000` | |
| image.securityContext.runAsUser | int | `1000` | |
| image.tag | int | `380` | |
| image.tag | int | `419` | |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.enabled | bool | `false` | |
Expand Down
2 changes: 1 addition & 1 deletion valeriano-manassero/trino/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
image:
repository: trinodb/trino
tag: 380
tag: 419
pullPolicy: IfNotPresent
securityContext:
runAsUser: 1000
Expand Down

0 comments on commit 06eb6bf

Please sign in to comment.