mirror of
https://gitlab.fabcity.hamburg/software/fab-city-os-core-chart.git
synced 2024-09-19 20:08:53 +02:00
latest changes
This commit is contained in:
parent
18e33135b2
commit
629e99f69b
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
*.go text eol=lf
|
20
.gitlab-ci.yml
Normal file
20
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
default:
|
||||
image: nixos/nix:latest
|
||||
retry: 2
|
||||
before_script:
|
||||
- nix-channel --update
|
||||
|
||||
stages:
|
||||
- test
|
||||
- build
|
||||
- release
|
||||
- deploy
|
||||
|
||||
lint.yaml:
|
||||
script: yamllint -f auto .
|
||||
stage: test
|
||||
|
||||
lint.markdown:
|
||||
script: mdl .
|
||||
stage: test
|
1
.mdlrc
Normal file
1
.mdlrc
Normal file
|
@ -0,0 +1 @@
|
|||
rules "MD003", "MD006", "MD011", "MD018", "MD019", "MD020", "MD021", "MD025", "MD027", "MD028"
|
12
.pre-commit-config.yaml
Normal file
12
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.3.0
|
||||
hooks:
|
||||
- id: check-yaml
|
||||
exclude: ^templates/
|
||||
- id: mixed-line-ending
|
||||
- id: trailing-whitespace
|
||||
- id: fix-byte-order-marker
|
||||
- id: end-of-file-fixer
|
||||
- id: check-merge-conflict
|
40
.yamllint.yaml
Normal file
40
.yamllint.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
extends: default
|
||||
yaml-files:
|
||||
- "*.yaml"
|
||||
- "*.yml"
|
||||
- ".yaml*"
|
||||
ignore: |
|
||||
./charts
|
||||
.direnv
|
||||
locale: en_US.UTF-8
|
||||
rules:
|
||||
braces: enable
|
||||
brackets: enable
|
||||
colons: enable
|
||||
commas: enable
|
||||
comments:
|
||||
require-starting-space: true
|
||||
level: warning
|
||||
comments-indentation:
|
||||
level: warning
|
||||
document-start:
|
||||
level: warning
|
||||
document-end: disable
|
||||
empty-lines: disable
|
||||
empty-values: enable
|
||||
hyphens: enable
|
||||
indentation:
|
||||
spaces: 2
|
||||
indent-sequences: consistent
|
||||
level: warning
|
||||
line-length:
|
||||
max: 150
|
||||
allow-non-breakable-words: true
|
||||
allow-non-breakable-inline-mappings: true
|
||||
key-duplicates: enable
|
||||
key-ordering: disable
|
||||
new-line-at-end-of-file: enable
|
||||
new-lines: enable
|
||||
trailing-spaces: enable
|
||||
truthy: enable
|
66
shell.nix
66
shell.nix
|
@ -4,75 +4,51 @@ with pkgs; mkShell {
|
|||
|
||||
name = "fcoscore-chart";
|
||||
nativeBuildInputs = with pkgs; [
|
||||
# tooling
|
||||
libcap
|
||||
typos
|
||||
grpcurl
|
||||
httpie
|
||||
jq
|
||||
|
||||
pre-commit
|
||||
python310Packages.pip
|
||||
|
||||
bazel_5
|
||||
chart-testing
|
||||
delve
|
||||
dgoss
|
||||
dotenv-linter
|
||||
editorconfig-checker
|
||||
git
|
||||
git-lfs
|
||||
gitlint
|
||||
gnumake
|
||||
|
||||
go
|
||||
go-outline
|
||||
go-tools
|
||||
gocode
|
||||
gocode-gomod
|
||||
delve
|
||||
|
||||
godef
|
||||
golangci-lint
|
||||
gopkgs
|
||||
gopls
|
||||
ansible-lint
|
||||
dotenv-linter
|
||||
editorconfig-checker
|
||||
|
||||
goss
|
||||
grype
|
||||
hadolint
|
||||
mdl
|
||||
mdsh
|
||||
pre-commit
|
||||
shellcheck
|
||||
shfmt
|
||||
yaml-language-server
|
||||
yamllint
|
||||
|
||||
rnix-lsp
|
||||
nix-build-uncached
|
||||
nix-linter
|
||||
nixpkgs-fmt
|
||||
|
||||
docker
|
||||
k9s
|
||||
kube3d
|
||||
kubebuilder
|
||||
kubeconform
|
||||
kubectl
|
||||
kubectx
|
||||
kubernetes-helm
|
||||
kustomize
|
||||
kubebuilder
|
||||
kubeval
|
||||
kubeval-schema
|
||||
kubeconform
|
||||
chart-testing
|
||||
kustomize
|
||||
mdl
|
||||
mdsh
|
||||
nix-build-uncached
|
||||
nix-linter
|
||||
nixpkgs-fmt
|
||||
pre-commit
|
||||
rnix-lsp
|
||||
shfmt
|
||||
skaffold
|
||||
dgoss
|
||||
goss
|
||||
grype
|
||||
trivy
|
||||
yamale
|
||||
chart-testing
|
||||
ansible
|
||||
glab
|
||||
vscodium-fhs
|
||||
|
||||
# vscodium.fhsWithPackages (pkgs: with pkgs; [] )
|
||||
yamale
|
||||
yaml-language-server
|
||||
yamllint
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
|
|
@ -243,4 +243,3 @@ Return true if FabCityOS SMTP uses password authentication
|
|||
{{- true -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{{- if and (not .Values.postgresql.enabled) (not .Values.externalDatabase.existingSecret) }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
|
|
|
@ -469,4 +469,3 @@ externalDatabase:
|
|||
existingSecret: ""
|
||||
existingSecretPasswordKey: ""
|
||||
existingSecretPostgresPasswordKey: ""
|
||||
|
Loading…
Reference in a new issue