Uploaded image for project: 'Portal'
  1. Portal
  2. PORTAL-1074

Portal CI images built from code are giving issues while deployment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • Guilin Release, Honolulu Release
    • None
    • None

      While setting up CI for ONAP in Gitlab, for Portal project We've found few issues

      Nexus portal image (portal-db:3.4.1) doesn't match codebase:

      G & H release helm charts for portal refers portal-db:3.4.1 version. But when we try to build image from Guilin or 3.4.1 branch code, the image built for portal-db is giving trouble while deploying. When I pulled community image (portal-db:3.4.1) I don't see any issues.

      For ex: ENTRYPOINT docker-entrypoint.sh is missing, which actually creates database. Missing of this gives database missing errors at deployment time.

      To understand the issue with the one I build from code, I compared the image with Community image(portal-db:3.4.1), it was found that the manifest shows extra instructions which are not found in the Guilin codebase(Dockerfile.mariadb)

      Attaching 3.4.1 manifest file and Guilin Dockerfile.mariadb for your reference to this jira (PFA). And the same is with portal-app also.

      I want to understand which version of code should I build to get the same Docker image as portal-db:3.4.1 of onap nexus. Or is it really missing in the code ? Appreciate your help.

            tattasunder tattasunder
            vamshi.nemalikonda vamshi.nemalikonda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: