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
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 methodtransform(String s)
. This method will take the Strings
and returns
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)
- Populate it with a single Java class
- On push, all test should be routed to your Kubernetes cluster.