wharf-definition repo
A repository containing templates of how to run a Wharf step.
Motive
Split up logic of how to run locally and how to run in kubernetes.
Enable users to fork ours to extend it with more steps.
In a .wharf-ci.yml file, you should be able to specify the definition repo. Such as:
# ==vvvv== This part ==vvvv== definitions: git: repo: https://gitlab.local/wharf-project/definitons.git # ==^^^^== This part ==^^^^== environments: prod: cluster: # ... build: web: docker: # ...
Sample structure 1
- /
- container/
- local.yaml
- kubernetes.yaml
- kubectl/
- local.yaml
- kubernetes.ymal
- go/
- local.yaml
- kubernetes.yaml
- container/
Sample structure 2
- /
- local/
- container.yaml
- kubectl.yaml
- dotnet.yaml
- go.yaml
- kubernetes/
- container.yaml
- kubectl.yaml
- dotnet.yaml
- go.yaml
- local/