Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
K KubernetesIntroduction
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • blank
  • KubernetesIntroduction
  • Wiki
    • Lab
  • Task01

Last edited by David Lam Nov 08, 2017
Page history

Task01

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 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.
Clone repository
  • Documentation
    • Installing Kubernetes
    • Introduction to Kubernetes
    • get started
  • Home
  • lab
    • Task01
    • task02