|
|
|
# Create Kubernetes Gitlab Runner
|
|
|
|
You now have a Kubernetes Cluster. We want you to use this cluster and spin up Gitlab Runners as needed to execute CI/CD task.
|
|
|
|
|
|
|
|
Hint 1: See [here](https://tortuemat.gitlab.io/blog/2017/07/26/gitlab-runner-kubernetes/)
|
|
|
|
|
|
|
|
Hint 2: Every `.gitlab-ci.yml` can have an `image` field.
|
|
|
|
|
|
|
|
# Deliverables
|
|
|
|
- Create a Sample Repository on Gitlab
|
|
|
|
- Populate it with a single Java class `UpCaseTransformer` that has a single method `transform(String s)`. This method will take the String `s` and return `s` with all characters capitalized.
|
|
|
|
- Write a unit test
|
|
|
|
- Create a `.gitlab-ci.yml` with appropriate fields and values for CI/CD. Use best practices involving security (i.e. do not expose secret variables here)
|
|
|
|
- On push, all test should be routed to **your** Kubernetes cluster. |