chore/test-local-dev-builds (#2)
tested initial dev deployment to local k3d Reviewed-on: https://codeberg.org/headshed/infctl-cli/pulls/2 Co-authored-by: jon brookes <jon@headshed.dev> Co-committed-by: jon brookes <jon@headshed.dev>
This commit is contained in:
parent
506142ccd7
commit
e64666340a
35 changed files with 2625 additions and 334 deletions
65
pipelines/dev/infctl.json
Normal file
65
pipelines/dev/infctl.json
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
[
|
||||
{
|
||||
"name": "create php configmap",
|
||||
"function": "RunCommand",
|
||||
"params": [
|
||||
"./scripts/create_php_configmap_ctl.sh"
|
||||
],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
},
|
||||
{
|
||||
"name": "create redis secret",
|
||||
"function": "RunCommand",
|
||||
"params": [
|
||||
"./scripts/redis_secret.sh"
|
||||
],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
},
|
||||
{
|
||||
"name": "run metallb kustomize",
|
||||
"function": "RunCommand",
|
||||
"params": [
|
||||
"kubectl apply -k k8s-manifests/ctl-metallb"
|
||||
],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
},
|
||||
{
|
||||
"name": "configure local storage",
|
||||
"function": "RunCommand",
|
||||
"params": [
|
||||
"kubectl apply -f k8s-manifests/ctl/local-storage.yml"
|
||||
],
|
||||
"retryCount": 3,
|
||||
"shouldAbort": true
|
||||
},
|
||||
{
|
||||
"name": "run cert-manager installation",
|
||||
"function": "RunCommand",
|
||||
"params": [
|
||||
"scripts/install_cert-manager.sh"
|
||||
],
|
||||
"retryCount": 3,
|
||||
"shouldAbort": true
|
||||
},
|
||||
{
|
||||
"name": "run non-resilant redis kustomize",
|
||||
"function": "RunCommand",
|
||||
"params": [
|
||||
"kubectl apply -k k8s-manifests/ctl-redis"
|
||||
],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
},
|
||||
{
|
||||
"name": "run traefik installation",
|
||||
"function": "RunCommand",
|
||||
"params": [
|
||||
"scripts/install_traefik.sh"
|
||||
],
|
||||
"retryCount": 1,
|
||||
"shouldAbort": true
|
||||
}
|
||||
]
|
||||
47
pipelines/infctl-ns.json
Normal file
47
pipelines/infctl-ns.json
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
[
|
||||
{
|
||||
"name": "ensure infctl namespace exists",
|
||||
"function": "k8sNamespaceExists",
|
||||
"params": [
|
||||
"infctl"
|
||||
],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
},
|
||||
{
|
||||
"name": "ensure redis namespace exists",
|
||||
"function": "k8sNamespaceExists",
|
||||
"params": [
|
||||
"redis"
|
||||
],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
},
|
||||
{
|
||||
"name": "ensure metallb-system namespace exists",
|
||||
"function": "k8sNamespaceExists",
|
||||
"params": [
|
||||
"metallb-system"
|
||||
],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
},
|
||||
{
|
||||
"name": "ensure longhorn-system namespace exists",
|
||||
"function": "k8sNamespaceExists",
|
||||
"params": [
|
||||
"longhorn-system"
|
||||
],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
},
|
||||
{
|
||||
"name": "ensure cert-manager namespace exists",
|
||||
"function": "k8sNamespaceExists",
|
||||
"params": [
|
||||
"cert-manager"
|
||||
],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue