mirror of
https://gitlab.fabcity.hamburg/software/fab-city-software-kit.git
synced 2024-09-19 20:08:52 +02:00
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "k3d: create",
|
|
"type": "shell",
|
|
"command": "k3d cluster create fcos-dev --config ci/k3d-fcos-dev.yaml",
|
|
"group": "test",
|
|
},
|
|
{
|
|
"label": "k3d: delete",
|
|
"type": "shell",
|
|
"command": "k3d cluster delete --all",
|
|
"group": "test",
|
|
},
|
|
{
|
|
"label": "k8s: kustomize",
|
|
"type": "shell",
|
|
"command": "kubectl kustomize overlays/dev --enable-helm",
|
|
"group": "test",
|
|
},
|
|
{
|
|
"label": "k8s: score",
|
|
"type": "shell",
|
|
"command": "kubectl kustomize overlays/dev --enable-helm | kube-score score -",
|
|
"group": "test",
|
|
},
|
|
{
|
|
"label": "k8s: policies",
|
|
"type": "shell",
|
|
"command": "kubectl kustomize overlays/dev --enable-helm | conftest test -p test --all-namespaces -",
|
|
"group": "test",
|
|
},
|
|
{
|
|
"label": "k8s: apply",
|
|
"type": "shell",
|
|
"command": "kubectl kustomize overlays/dev --enable-helm | kubectl apply -f -",
|
|
"group": "build",
|
|
},
|
|
]
|
|
}
|