Uploaded image for project: 'Agent-based Installer for OpenShift'
  1. Agent-based Installer for OpenShift
  2. AGENT-105

Create productized Dockerfiles for assisted-installer-controller and assisted-installer-agent

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Critical Critical
    • openshift-4.11
    • None
    • None
    • None
    • Agent Sprint 217

      In order to ship images in the payload, we will need to be able to build container images in ART for the following projects:

      (The latter two are in the same repo and could potentially be combined into a single image. However this would likely require code changes to override the entrypoint for one or the other.)

      We also need a postgres database image. Probably it would be best to dnf install postgres into the assisted-service image so we can run two containers with different entry points from the same image. (In future we can hopefully replace postgres with SQLite.)

      The ART build system has no access to the Internet. It can only access the repo itself, and dnf install packages. This means that in particular, all go libraries will have to be vendored and checked in, which they are currently not. We should add the relevant CI job to verify this.

      These containers must also use the standard OpenShift base images.

      Existing Dockerfiles for RHACM exist in dist-git, and go quite a long way to avoiding Internet access (e.g. no pip install):

      Probably we should add a Dockerfile.ocp to each repo as we do for other OpenShift repos.

      We should test these image builds in OpenShift CI and add them to promotion. Note that the PR to openshift/releases to add them to promotion needs personal sign-off from either Clayton Coleman or Ben Parees to approve the naming. This should be done before creating downstream builds in ART in case the names need to change.

              lranjbar@redhat.com Lisa Ranjbar
              asegurap1@redhat.com Antoni Segura Puimedon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 2 minutes
                  2m
                  Remaining:
                  Remaining Estimate - 2 minutes
                  2m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified