Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update in github actions #45

Merged
merged 6 commits into from
Nov 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v1
uses: azure/setup-helm@v3
with:
version: v3.6.2
version: v3.12.1

# Python is required because `ct lint` runs Yamale (https://github.com/23andMe/Yamale) and
# yamllint (https://github.com/adrienverge/yamllint) which require Python
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'

- name: Set up 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 @@ -37,10 +37,8 @@ jobs:
- name: Run chart-testing (lint)
run: ct lint --config ct.yaml

- name: Create k3d cluster
uses: nolar/setup-k3d-k3s@v1
with:
version: "v1.25.15+k3s1"
- name: Create k8s Kind cluster
uses: helm/[email protected]

- name: Run chart-testing (install)
run: ct install --config ct.yaml
2 changes: 1 addition & 1 deletion charts/aws-cost-reporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: aws-cost-reporter
description: AWS Cost Reporter
type: application
version: 1.0.0
version: 1.0.1
appVersion: "v0.1.0"
sources:
- https://github.com/neondatabase/aws-cost-reporter
2 changes: 1 addition & 1 deletion charts/aws-cost-reporter/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# aws-cost-reporter

![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) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)
![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) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)

AWS Cost Reporter

Expand Down
4 changes: 2 additions & 2 deletions charts/aws-cost-reporter/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ metadata:
labels:
{{- include "aws-cost-reporter.labels" . | nindent 4 }}
spec:
#timeZone: "Etc/UTC"
schedule: '0 12 * * *'
timeZone: "Etc/UTC"
schedule: '0 18 * * *'
jobTemplate:
metadata:
name: {{ include "aws-cost-reporter.fullname" . }}
Expand Down
5 changes: 1 addition & 4 deletions ct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@ remote: origin
target-branch: main
chart-dirs:
- charts
helm-extra-args: "--timeout 600s"
helm-extra-args: '--timeout 600s'
validate-maintainers: false

# aws-cost-reporter chart install cronjob resource that impossible test with ct
excluded-charts: aws-cost-reporter
Loading