Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-3395

Migrate frontend build to use shared Dockerfile

XMLWordPrintable

      By April 31, 2025, in order to comply with Konflux migrations requirements, we need all frontend apps to migrate to using the shared Dockerfile in their builds. This should be a relatively small lift for teams.

      Steps tenants need to take:

      1. Add a git submodule to your repository. Submodule URL:
        git submodule add https://github.com/RedHatInsights/insights-frontend-builder-common.git build-tools
      2. Remove obsolete tasks and reference to these tasks from pull request and push Tekton pipelines:
        1. Create-frontend-dockerfile
        2. Parse-build-deploy-script
      3. Update the path to dockerfile inside the pull request and push Tekton pipelines. The new path should be “build-tools/Dockerfile”

      You can check an example PR: https://github.com/RedHatInsights/api-frontend/pull/687/files

      Once applications migrate, frontend applications will start receiving automatic updates when we push out new build scripts.

      WHO

      This will require changes from the following: All frontend applications on console.redhat.com

      ADDITIONAL INFORMATION
      https://github.com/RedHatInsights/curiosity-frontend/tree/main/.tekton

      Relevant Jira(s): RHCLOUD-38207

      Contact: Ryan Long, Ben Turner, or #forum-consoledot-ui with any questions.
      ConsoleDot Actions Required & Releases Source page is here.

              buschv Vanessa Busch
              buschv Vanessa Busch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: