DevOps Glue

Task Automation with Gitlab-CI and Groovy

Kevin Wittek

Technical Lead @ GDATA Advanced Analytics

 

Consultant @ Styracosoft GbR

 

Maintainer Testcontainers-Java / Author Testcontainers-Spock

 

 

https://groovy-coder.com

         @Kiview

 

          https://github.com/kiview

DevOps includes automation

https://www.singaporebusiness.com/2017/automation-in-the-manufacturing-sector-helping-workers-ride-the-change.html
https://www.videoblocks.com/video/businessman-manager-reading-pie-chart-checking-data-sales-report-london-skyline-hf9qhcgnliwt4e21t
https://xkcd.com/1728/

Take THAT, piece of 1980s-era infrastructure I've inexplicably maintained on my systems for 15 years despite never really learning how it works.

http://www.zdnet.com/article/why-i-ditched-my-servers-for-the-cloud/

Gitlab (+ Gitlab-CI)

  • Git Repository UI
  • Issue Tracker
  • Wiki
  • CI/CD
  • Docker Container Registry
  • Gitlab-Pages
  • Monitoring
  • Open Source + Open Core (Community Edition)
https://about.gitlab.com/features/gitlab-ci-cd/

Gitlab-CI (Architecture)

Gitlab Runner (Executors)

  • Shell
  • Docker
  • Docker-Machine (auto-scaling)
  • SSH
  • Kubernetes
  • ...

Gitlab Runner (Architecture)

myJob:
  stage: build
  image: groovy:2.5.0-beta-3-jdk8
  script:
    - groovy myScript.groovy

Gitlab-CI (Job config)

Thank you! Questions?

DevOpsGlue-Greach

By Kevin Wittek

DevOpsGlue-Greach

Task Automation with Gitlab-CI and Groovy

  • 1,843