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

Create productized Dockerfiles for assisted-installer-agent

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              afasano@redhat.com Andrea Fasano
              zabitter Zane Bitter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: