chore!: Rewrite Lint Workflow to Github (#685)
* feat: Move Linting to Github Actions Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> Disable ServiceAccount on disabled Dex Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> Swap Linting to Github Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> Increase all chart versions Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> Remove Circle & Improve Github Lint Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> Remove Circle & Improve Github Lint Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> Lookup Configmaps update Retest Retest reduce changes reduce changes * Bump argo-events Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * Move Config files Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * Readd Lint & Remove Argo Chart Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * Correct CT config name Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * Readd ARgo Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
This commit is contained in:
parent
b971b36317
commit
35c754364f
10 changed files with 79 additions and 30 deletions
|
|
@ -1,4 +0,0 @@
|
|||
chart-repos:
|
||||
- argo=https://argoproj.github.io/argo-helm
|
||||
- minio=https://helm.min.io/
|
||||
- dandydeveloper=https://dandydeveloper.github.io/charts/
|
||||
|
|
@ -5,8 +5,8 @@ jobs:
|
|||
- image: quay.io/helmpack/chart-testing:v3.3.1
|
||||
steps:
|
||||
- checkout
|
||||
- run: helm repo add stable https://charts.helm.sh/stable
|
||||
- run: ct lint --config .circleci/chart-testing.yaml --lint-conf .circleci/lintconf.yaml
|
||||
- run: ct lint --config .github/ct.yaml --lint-conf .github/lintconf.yaml
|
||||
|
||||
# Technically this only needs to be run on master, but it's good to have it run on every PR
|
||||
# so that it is regularly tested.
|
||||
publish:
|
||||
|
|
@ -21,6 +21,7 @@ jobs:
|
|||
- checkout
|
||||
- run: helm repo add stable https://charts.helm.sh/stable
|
||||
- run: helm repo add minio https://helm.min.io/
|
||||
- run: helm repo add argo https://argoproj.github.io/argo-helm
|
||||
- run: helm repo add dandydeveloper https://dandydeveloper.github.io/charts/
|
||||
# Only actually publish charts on master.
|
||||
- run: |
|
||||
|
|
@ -38,4 +39,4 @@ workflows:
|
|||
- lint
|
||||
- publish:
|
||||
requires:
|
||||
- lint
|
||||
- lint
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
---
|
||||
rules:
|
||||
braces:
|
||||
min-spaces-inside: 0
|
||||
max-spaces-inside: 0
|
||||
min-spaces-inside-empty: -1
|
||||
max-spaces-inside-empty: -1
|
||||
brackets:
|
||||
min-spaces-inside: 0
|
||||
max-spaces-inside: 0
|
||||
min-spaces-inside-empty: -1
|
||||
max-spaces-inside-empty: -1
|
||||
colons:
|
||||
max-spaces-before: 0
|
||||
max-spaces-after: 1
|
||||
commas:
|
||||
max-spaces-before: 0
|
||||
min-spaces-after: 1
|
||||
max-spaces-after: 1
|
||||
comments:
|
||||
require-starting-space: true
|
||||
min-spaces-from-content: 1
|
||||
document-end: disable
|
||||
document-start: disable # No --- to start a file
|
||||
empty-lines:
|
||||
max: 2
|
||||
max-start: 0
|
||||
max-end: 0
|
||||
hyphens:
|
||||
max-spaces-after: 1
|
||||
indentation:
|
||||
spaces: consistent
|
||||
indent-sequences: whatever # - list indentation will handle both indentation and without
|
||||
check-multi-line-strings: false
|
||||
key-duplicates: enable
|
||||
line-length: disable # Lines can be any length
|
||||
new-line-at-end-of-file: enable
|
||||
new-lines:
|
||||
type: unix
|
||||
trailing-spaces: enable
|
||||
truthy:
|
||||
level: warning
|
||||
Loading…
Add table
Add a link
Reference in a new issue