Skip to content

Commit

Permalink
feat: init project
Browse files Browse the repository at this point in the history
feat: init project
  • Loading branch information
j-zimnowoda authored Dec 5, 2024
2 parents c073250 + b1e7d3d commit b33b858
Show file tree
Hide file tree
Showing 15 changed files with 611 additions and 0 deletions.
184 changes: 184 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
{
"version": "0.2",
"allowCompoundWords": true,
"enableFiletypes": ["dockerfile", "md", "yaml"],
"enabledLanguageIds": ["json", "jsonc", "markdown", "typescript", "typescriptreact", "yaml", "yml"],
"ignorePaths": ["/CHANGELOG.md", "*.json"],
"ignoreRegExpList": ["/'s\\b/"],
"ignoreWords": [
"adrs",
"trivy",
"grype",
"KUBECFG",
"cainjector",
"CNAME",
"SBOM",
"Venafi",
"adrlog",
"adrlogstop",
"anyuid",
"acquired",
"trivy",
"appgw",
"auths",
"azuredns",
"bladibla",
"byor",
"clouddns",
"civo",
"crypted",
"descheduler",
"falco",
"CNAMEs",
"encodedkey",
"envs",
"ebpf",
"gcpckms",
"gotmpl",
"groupsname",
"gzrs",
"civo",
"Hashicorp",
"htpasswd",
"ingressgateway",
"istioctl",
"istiod",
"keyid",
"konstraint",
"kubeapps",
"kubes",
"kubeval",
"kured",
"Kaniko",
"Kapsule",
"madr",
"millis",
"mkilled",
"myapp",
"nindent",
"nothrow",
"nslookup",
"nygard",
"rAGRS",
"jwks",
"pids",
"ragzrs",
"registr",
"rego",
"roboll",
"rootdirectory",
"somekey",
"somesecretvalue",
"spotinst",
"platform",
"tanzu",
"tsdb",
"tigera",
"westeurope",
"xlarge",
"xsrf",
"tada",
"minikube",
"minio",
"vultr",
"Vmware",
"ovh",
"otel",
"thanos",
"kyverno",
"Paketo",
"tekton",
"cnpg",
"dockercfg"
],
"language": "en",
"words": [
"alertmanager",
"apigee",
"authn",
"authz",
"autodiscovery",
"autoscaler",
"backoff",
"basepath",
"binzx",
"blackbox",
"bootstrapper",
"calico",
"crds",
"creds",
"criticals",
"devops",
"devs",
"distro",
"egressgateway",
"envalid",
"esbenp",
"foxundermoon",
"fqdn",
"fqdns",
"gcloud",
"gitea",
"gitops",
"gogs",
"grafana",
"grpc",
"Hashicorp",
"helmfile",
"https",
"iconemoji",
"iconurl",
"istio",
"keycloak",
"kiali",
"knative",
"kpack",
"ksvc",
"kube",
"kubeclarity",
"kubeconfig",
"kubectl",
"kubelet",
"kubernetes",
"millicores",
"minikube",
"modsecurity",
"msteams",
"mtls",
"multitenant",
"nocheck",
"oidc",
"oltp",
"onprem",
"oomkilled",
"orgs",
"otomi",
"owasp",
"platform",
"postgres",
"postgresql",
"precached",
"precaches",
"printf",
"prio",
"pullsecret",
"rabbitmq",
"rbac",
"redkubes",
"renamings",
"repos",
"runbook",
"selinux",
"semver",
"showlogs",
"sysctls",
"tekton",
"testmode",
"textconv",
"trivy",
"unencrypted",
"untrusted",
"velero",
"xlarge"
]
}
2 changes: 2 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
YAML_FILE='updates.yaml'
SCHEMA_FILE='updates.schema.json'
25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
# npm
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
commit-message:
prefix: 'chore(deps)'
labels:
- 'dependencies'
# github-actions
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
commit-message:
prefix: 'chore(deps)'
labels:
- 'dependencies'
28 changes: 28 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Check Docker Images for All Versions in updates.yaml

on:
push:
paths:
- 'updates.yaml'
pull_request:
paths:
- 'updates.yaml'

jobs:
validate:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install packages
run: npm install
- name: Run Docker image check script
run: |
npm run validate-with-schema
npm run validate-with-dockerhub
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# we don't allow json files in the root except package.json
.history
.tmp
*.bak
node_modules/
/coverage/
/dist/
/env/
*.DS_Store
*.env
*.new
.envrc
/.idea/
tmp
5 changes: 5 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tabWidth: 2
semi: false
trailingComma: all
singleQuote: true
printWidth: 500
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["christian-kohler.path-intellisense", "codezombiech.gitignore", "dbaeumer.vscode-eslint", "donjayamanne.githistory", "esbenp.prettier-vscode", "redhat.vscode-yaml", "streetsidesoftware.code-spell-checker", "timonwong.shellcheck", "xyz.local-history"]
}
26 changes: 26 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"cSpell.diagnosticLevel": "Hint",
"cSpell.enabled": true,
"editor.codeActionsOnSave": {
"source.addMissingImports": "explicit",
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"eslint.format.enable": true,
"eslint.validate": ["javascript", "typescript"],
"files.associations": {
"*.yml": "yaml",
"CODE_OF_CONDUCT": "markdown",
"CONTRIBUTING": "markdown"
},
"files.exclude": {
"**/.history": true
},
"prettier.enable": true,
"yaml.schemas": {
"./updates.schema.json": "updates.yaml",
"https://json-schema.org/draft/2020-12/schema": "updates.schema.json"
}
}
Loading

0 comments on commit b33b858

Please sign in to comment.