Skip to content

Add a job to verify the Docker images appear on `hub.docker.com`

Ahmad Tolba requested to merge aht/docker-hub-api-job into master

What does this MR do and why?

As part of the monthly release tasks, we create docker hub images as part of the release pipeline. The images appear on hub.docker.com shortly after the release manager runs the publish command. We need a way to automatically verify these images appear on hub.docker.com

Thus, this class uses the docker_hub_client we implemented in gitlab-com/gl-infra/delivery#20295 (closed) and addresses: gitlab-com/gl-infra/delivery#20194 (closed)

Content

  • Add class to check for docker images tags
  • Add specs

Testing

Pipeline

With no tags

With tags

Jobs

Erroring job

Successful job

Slack message

Error

  • Screenshot_2024-06-28_at_13.32.38

Success

Edited by Ahmad Tolba

Merge request reports