Skip to content

Commit 9886563

Browse files
committed
v0.15.0
1 parent 7405804 commit 9886563

File tree

93 files changed

+2342
-2315
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+2342
-2315
lines changed

.github/renovate.json

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"docker": {
4+
"enabled": true
5+
},
6+
"extends": [
7+
"config:base"
8+
],
9+
"golang": {
10+
"enabled": true
11+
},
12+
"packageRules": [
13+
{
14+
"enabled": true,
15+
"managers": [
16+
"dockerfile"
17+
],
18+
"matchFiles": [
19+
"**/Dockerfile"
20+
]
21+
},
22+
{
23+
"enabled": true,
24+
"managers": [
25+
"gomod"
26+
],
27+
"matchFiles": [
28+
"**/go.mod"
29+
]
30+
},
31+
{
32+
"enabled": true,
33+
"managers": [
34+
"helm-requirements",
35+
"helm-values"
36+
],
37+
"matchFiles": [
38+
"**/Chart.yaml"
39+
]
40+
},
41+
{
42+
"enabled": true,
43+
"managers": [
44+
"helmfile"
45+
],
46+
"matchFiles": [
47+
"**/helmfile.yaml"
48+
]
49+
},
50+
{
51+
"enabled": true,
52+
"managers": [
53+
"kustomize"
54+
],
55+
"matchFiles": [
56+
"**/kustomization.yaml"
57+
]
58+
},
59+
{
60+
"enabled": true,
61+
"managers": [
62+
"pre-commit"
63+
],
64+
"matchFiles": [
65+
"**/.pre-commit-config.yaml"
66+
]
67+
}
68+
],
69+
"pre-commit": {
70+
"enabled": true
71+
},
72+
"rangeStrategy": "replace",
73+
"timezone": "America/Los_Angeles"
74+
}

.github/workflows/main.yaml

-41
This file was deleted.

.github/workflows/release.yaml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: goreleaser
2+
3+
"on":
4+
push:
5+
tags:
6+
- "v*"
7+
workflow_dispatch:
8+
9+
jobs:
10+
goreleaser:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
- name: Set up Go
18+
uses: actions/setup-go@v5
19+
with:
20+
go-version: '1.22.0'
21+
- name: Run GoReleaser
22+
uses: goreleaser/goreleaser-action@v5
23+
with:
24+
args: release --clean
25+
distribution: goreleaser
26+
version: latest
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
30+
permissions:
31+
contents: write

.gitignore

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
.flatpak-builder/
2-
**/__pycache__/
3-
build/flatpak/**
4-
build/pyinstaller/**
5-
dist/linux/**
6-
dist/windows/**
7-
src/*-build/
8-
src/*.bin
1+
.mypy_cache/
2+
*/.go/
3+
build/
94
venv/

.goreleaser.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
builds:
2+
- binary: helmizer
3+
dir: ./src
4+
env:
5+
- CGO_ENABLED=0
6+
goarch:
7+
- amd64
8+
- arm64
9+
- '386'
10+
goos:
11+
- linux
12+
- darwin
13+
- windows
14+
id: helmizer
15+
checksum:
16+
name_template: checksums.txt
17+
release:
18+
draft: true

.pre-commit-config.yaml

+38-28
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
repos:
2-
- hooks:
2+
# General pre-commit hooks
3+
- repo: https://github.com/pre-commit/pre-commit-hooks
4+
rev: v4.6.0
5+
hooks:
36
- id: check-case-conflict
47
- id: check-docstring-first
58
- id: check-executables-have-shebangs
@@ -13,43 +16,50 @@ repos:
1316
args:
1417
- --remove
1518
- id: mixed-line-ending
16-
- args:
17-
- '--maxkb=1024'
18-
id: check-added-large-files
19-
- args:
19+
- id: check-added-large-files
20+
args:
21+
- '--maxkb=64'
22+
- id: trailing-whitespace
23+
args:
2024
- '--markdown-linebreak-ext=md'
21-
id: trailing-whitespace
2225
- id: check-symlinks
23-
- args:
26+
- id: check-yaml
27+
args:
2428
- '--allow-multiple-documents'
25-
id: check-yaml
26-
- args:
27-
- '--maxkb=1024'
28-
id: check-added-large-files
2929
- id: requirements-txt-fixer
3030
- id: check-ast
31-
repo: 'https://github.com/pre-commit/pre-commit-hooks'
32-
rev: v4.4.0
31+
# Go specific hooks
32+
- repo: https://github.com/tekwizely/pre-commit-golang
33+
rev: v1.0.0-rc.1
34+
hooks:
35+
- id: go-build-mod
36+
- id: go-mod-tidy
37+
- id: go-mod-tidy-repo
38+
- id: go-test-mod
39+
- id: go-test-repo-mod
40+
- id: go-fmt
41+
- id: go-fmt-repo
42+
# Python specific hooks
3343
- repo: https://github.com/asottile/reorder_python_imports
34-
rev: v3.9.0
44+
rev: v3.12.0
45+
hooks:
46+
- id: reorder-python-imports
47+
args: [--application-directories, '.:src', --py311-plus]
48+
- repo: https://github.com/psf/black
49+
rev: 24.4.2
3550
hooks:
36-
- id: reorder-python-imports
37-
args: [--application-directories, '.:src', --py36-plus]
38-
- hooks:
3951
- id: black
40-
language_version: python3.10
52+
language_version: python3.11
4153
args:
4254
- --line-length
4355
- "140"
44-
repo: https://github.com/psf/black
45-
rev: 23.1.0
4656
- repo: https://github.com/pre-commit/mirrors-mypy
47-
rev: v0.991
57+
rev: v1.10.0
4858
hooks:
49-
- id: mypy
50-
args:
51-
- --check-untyped-defs
52-
- --ignore-missing-imports
53-
- --install-types
54-
- --non-interactive
55-
files: src/helmizer.py
59+
- id: mypy
60+
args:
61+
- --check-untyped-defs
62+
- --ignore-missing-imports
63+
- --install-types
64+
- --non-interactive
65+
files: docs/diagrams/main.py

0 commit comments

Comments
 (0)