~/talk

Docker image testing in GitLab CI

Talkat Voxxed Days CERN 2019 · on Wednesday, 2019-05-01· [devops-and-delivery]
links:none on file
slides:none on file

GitLab CI builds a complex Docker image used by CERN Java apps, using Docker-in-Docker on private privileged runners and passing the built image between stages as an artifact (docker save/load), which makes the pipeline 26 jobs, ~30 minutes. Tests include lightweight desired-state checks with Goss, an end-to-end SSO flow by spinning up Keycloak plus the image and exercising redirects with curls, and a local LDAP container for auth. CI templating uses YAML anchors to run the same tests across multiple versions; migration to unprivileged runners and tools like container-structure-test and Clair are planned.

AI-written summary · about

  1. 0:00Intro
  2. 2:31Features Used - Docker-in-Docker
  3. 3:56Features Used - Artifacts
  4. 5:40The Pipeline - Quick facts
  5. 7:28Goss - Running
  6. 8:14SSO Test - Concept
  7. 9:31SSO Test - Setup
  8. 9:57SSO Test - Execute
  9. 10:21SSO Test - Teardown
  10. 11:08LDAP Test - Snippet
  11. 11:32Scaling Pipeline to Multiple Versions of Image
  12. 12:21YAML Anchors/References - Concept
  13. 13:26YAML Anchors/References - Usage
  14. 14:05Future Improvements
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.