Check compatibility with k8s 1.27 (#203)

* Fixed: typo

* Added: k8s 1.27

* Changed: bump up version

* Changed: actions versions bump up

* Fixed: gh action usage

* Fixed: deep chackout
This commit is contained in:
Valeriano Manassero 2023-04-12 09:07:11 +02:00 committed by GitHub
parent d1f46dac7a
commit da2fb44479
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 34 additions and 31 deletions

View File

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v3.5.0
- name: Run helm-docs - name: Run helm-docs
run: .github/helm-docs.sh run: .github/helm-docs.sh
install-chart: install-chart:
@ -22,18 +22,21 @@ jobs:
strategy: strategy:
matrix: matrix:
k8s: k8s:
- v1.24.7 - v1.24.12
- v1.25.3 - v1.25.8
- v1.26.0 - v1.26.3
- v1.27.0
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v3.5.0
with:
fetch-depth: 0
- name: Create kind ${{ matrix.k8s }} cluster - name: Create kind ${{ matrix.k8s }} cluster
uses: helm/kind-action@v1.5.0 uses: helm/kind-action@v1.5.0
with: with:
node_image: kindest/node:${{ matrix.k8s }} node_image: kindest/node:${{ matrix.k8s }}
- name: Set up chart-testing - name: Set up chart-testing
uses: helm/chart-testing-action@v2.3.1 uses: helm/chart-testing-action@v2.4.0
- name: Add bitnami repo - name: Add bitnami repo
run: helm repo add bitnami https://charts.bitnami.com/bitnami run: helm repo add bitnami https://charts.bitnami.com/bitnami
- name: Add elastic repo - name: Add elastic repo
@ -45,11 +48,11 @@ jobs:
- name: Run chart-testing (list-changed) - name: Run chart-testing (list-changed)
id: list-changed id: list-changed
run: | run: |
changed=$(ct list-changed --chart-dirs=charts --target-branch=main) changed=$(ct list-changed --chart-dirs charts --target-branch main)
if [[ -n "$changed" ]]; then if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true" echo "changed=true" >> "$GITHUB_OUTPUT"
echo "::set-output name=changed_charts::\"${changed//$'\n'/,}\"" echo "changed_charts=\"${changed//$'\n'/,}\"" >> "$GITHUB_OUTPUT"
fi fi
- name: Run chart-testing (lint and install) - name: Run chart-testing (lint and install)
run: ct lint-and-install --chart-dirs=charts --target-branch=main --helm-extra-args="--timeout=15m" --charts=${{steps.list-changed.outputs.changed_charts}} --debug=true run: ct lint-and-install --chart-dirs charts --target-branch main --helm-extra-args "--timeout=15m" --charts=${{steps.list-changed.outputs.changed_charts}} --debug true
if: steps.list-changed.outputs.changed == 'true' if: steps.list-changed.outputs.changed == 'true'

View File

@ -10,7 +10,7 @@ jobs:
issues: write issues: write
pull-requests: write pull-requests: write
steps: steps:
- uses: actions/stale@v7 - uses: actions/stale@v8.0.0
with: with:
days-before-issue-stale: 28 days-before-issue-stale: 28
days-before-issue-close: 14 days-before-issue-close: 14

View File

@ -2,9 +2,9 @@ apiVersion: v2
name: clearml-agent name: clearml-agent
description: MLOps platform Task running agent description: MLOps platform Task running agent
type: application type: application
version: "4.0.9" version: "4.0.10"
appVersion: "1.24" appVersion: "1.24"
kubeVersion: ">= 1.21.0-0 < 1.27.0-0" kubeVersion: ">= 1.21.0-0 < 1.28.0-0"
home: https://clear.ml home: https://clear.ml
icon: https://raw.githubusercontent.com/allegroai/clearml/master/docs/clearml-logo.svg icon: https://raw.githubusercontent.com/allegroai/clearml/master/docs/clearml-logo.svg
sources: sources:
@ -20,5 +20,5 @@ keywords:
- "task agent" - "task agent"
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: fixed - kind: added
description: missing events permissions description: support for k8s 1.27

View File

@ -1,6 +1,6 @@
# ClearML Kubernetes Agent # ClearML Kubernetes Agent
![Version: 4.0.9](https://img.shields.io/badge/Version-4.0.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.24](https://img.shields.io/badge/AppVersion-1.24-informational?style=flat-square) ![Version: 4.0.10](https://img.shields.io/badge/Version-4.0.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.24](https://img.shields.io/badge/AppVersion-1.24-informational?style=flat-square)
MLOps platform Task running agent MLOps platform Task running agent
@ -61,7 +61,7 @@ Keep in mind it's not possible to install packages on non-root containers so ima
## Requirements ## Requirements
Kubernetes: `>= 1.21.0-0 < 1.27.0-0` Kubernetes: `>= 1.21.0-0 < 1.28.0-0`
## Values ## Values

View File

@ -2,9 +2,9 @@ apiVersion: v2
name: clearml-serving name: clearml-serving
description: ClearML Serving Helm Chart description: ClearML Serving Helm Chart
type: application type: application
version: "1.0.0" version: "1.0.1"
appVersion: "1.2.0" appVersion: "1.2.0"
kubeVersion: ">= 1.21.0-0 < 1.27.0-0" kubeVersion: ">= 1.21.0-0 < 1.28.0-0"
home: https://clear.ml home: https://clear.ml
icon: https://raw.githubusercontent.com/allegroai/clearml/master/docs/clearml-logo.svg icon: https://raw.githubusercontent.com/allegroai/clearml/master/docs/clearml-logo.svg
sources: sources:
@ -33,5 +33,5 @@ dependencies:
condition: grafana.enabled condition: grafana.enabled
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: changed - kind: added
description: refactoring description: support for k8s 1.27

View File

@ -1,6 +1,6 @@
# ClearML Kubernetes Serving # ClearML Kubernetes Serving
![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.2.0](https://img.shields.io/badge/AppVersion-1.2.0-informational?style=flat-square) ![Version: 1.0.1](https://img.shields.io/badge/Version-1.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.2.0](https://img.shields.io/badge/AppVersion-1.2.0-informational?style=flat-square)
ClearML Serving Helm Chart ClearML Serving Helm Chart
@ -15,7 +15,7 @@ ClearML Serving Helm Chart
## Introduction ## Introduction
The **clearml-serving** is the Kubernetes serving for for [ClearML](https://github.com/allegroai/clearml-serving). The **clearml-serving** is the Kubernetes serving for for [ClearML](https://github.com/allegroai/clearml-serving).
It allows you to serve mopdels on a Kubernetes cluster. It allows you to serve models on a Kubernetes cluster.
# Upgrading Chart # Upgrading Chart
@ -41,7 +41,7 @@ helm upgrade clearml-serving allegroai/clearml-serving --version <CURRENT CHART
## Requirements ## Requirements
Kubernetes: `>= 1.21.0-0 < 1.27.0-0` Kubernetes: `>= 1.21.0-0 < 1.28.0-0`
| Repository | Name | Version | | Repository | Name | Version |
|------------|------|---------| |------------|------|---------|

View File

@ -12,7 +12,7 @@
## Introduction ## Introduction
The **clearml-serving** is the Kubernetes serving for for [ClearML](https://github.com/allegroai/clearml-serving). The **clearml-serving** is the Kubernetes serving for for [ClearML](https://github.com/allegroai/clearml-serving).
It allows you to serve mopdels on a Kubernetes cluster. It allows you to serve models on a Kubernetes cluster.
# Upgrading Chart # Upgrading Chart

View File

@ -2,9 +2,9 @@ apiVersion: v2
name: clearml name: clearml
description: MLOps platform description: MLOps platform
type: application type: application
version: "6.1.0" version: "6.1.1"
appVersion: "1.10.0" appVersion: "1.10.0"
kubeVersion: ">= 1.21.0-0 < 1.27.0-0" kubeVersion: ">= 1.21.0-0 < 1.28.0-0"
home: https://clear.ml home: https://clear.ml
icon: https://raw.githubusercontent.com/allegroai/clearml/master/docs/clearml-logo.svg icon: https://raw.githubusercontent.com/allegroai/clearml/master/docs/clearml-logo.svg
sources: sources:
@ -32,5 +32,5 @@ dependencies:
condition: elasticsearch.enabled condition: elasticsearch.enabled
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: changed - kind: added
description: app image version to 1.10.0 description: support for k8s 1.27

View File

@ -1,6 +1,6 @@
# ClearML Ecosystem for Kubernetes # ClearML Ecosystem for Kubernetes
![Version: 6.1.0](https://img.shields.io/badge/Version-6.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.10.0](https://img.shields.io/badge/AppVersion-1.10.0-informational?style=flat-square) ![Version: 6.1.1](https://img.shields.io/badge/Version-6.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.10.0](https://img.shields.io/badge/AppVersion-1.10.0-informational?style=flat-square)
MLOps platform MLOps platform
@ -145,7 +145,7 @@ For detailed instructions, see the [Optional Configuration](https://github.com/a
## Requirements ## Requirements
Kubernetes: `>= 1.21.0-0 < 1.27.0-0` Kubernetes: `>= 1.21.0-0 < 1.28.0-0`
| Repository | Name | Version | | Repository | Name | Version |
|------------|------|---------| |------------|------|---------|