Uploaded image for project: 'Machine Config Operator'
  1. Machine Config Operator
  2. MCO-756

Changes to custom Containerfile should trigger a rebuild

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • 5
    • False
    • None
    • False
    • OCPSTRAT-1389 - On Cluster Layering: Phase 3 (GA)
    • 5
    • 0
    • 0.000

      Currently, the per-pool custom Dockerfiles do not trigger a build, requiring an empty MachineConfig update to be performed. Ideally, we should perform a build in response to that ConfigMap being changed.

      A subproblem we'll need to solve as part of this is tagging. Currently, we tag the built image with the name of the rendered MachineConfig that we baked into the image. In this case, however, we probably don't want to do that. Instead, we might want to append the date and time of the build onto that instead. Although rpm-ostree uses only the SHA256 version of the image pullspec, we do not want those tags to clobber one another on their container image registry. I'm open to ideas around a better tagging convention.

       

      Done When:

      • Updating the on-cluster-custom-dockerfile ConfigMap will trigger a build to be performed.
      • The built image is tagged with a unique tag that does not overwrite any other tag before being pushed to the specified container image registry.

              zzlotnik@redhat.com Zack Zlotnik
              zzlotnik@redhat.com Zack Zlotnik
              Sergio Regidor de la Rosa Sergio Regidor de la Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: