Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-8933

DO280-392: Using an Ansible role to retrieve the Docker images that we use for the OUC layer

XMLWordPrintable

    • en-US (English)

      URL: https://mojo.redhat.com/docs/DOC-1168581
      Reporter RHNID:
      Section: -
      Language: en-US (English)
      Workaround:

      Description: See the request n° 10 in https://mojo.redhat.com/docs/DOC-1168581 for the proposed change.


      Proposed change

      • Usage of a new role (jq-tag-images in the "ansible-common" Git repo) to retrieve and tag the Docker images.
      • Provide a flexible way (via a JSON structure) to describe the state of the images

      This ties up with the latest issue that we had regarding the way the "pull-images.sh" script works in conjunction with the "docker-images-from-file" role.

      We noticed that many images would simply use the "latest" tag in order to retrieve the latest available build. In some cases, this breaks the lab, which depends on a set of specific libraries to properly function (for example, rhel:7.5-404). 

      This speaks to the practice of "loose tagging", which consists in retrieving the latest image every time the classroom is built.

              jimrigsbee_jira Jim Rigsbee (Inactive)
              rmahroua@redhat.com Razique Mahroua
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: