Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-11979

Use ActiveStorage to store artifacts

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Installation
    • None
    • ActiveStorage
    • SAT-23140 - Run Satellite's application services as containers
    • False
    • sat-rocket
    • None
    • None
    • None

      Active Storage is the Rails standard way to manage files. It supports multiple backends: disk, s3, database, postgresql and more. This allows deployments on isolated environments, such as containers or multi-machine deployments.

      Today Foreman doesn't have such an infrastructure, so for for the rendered report templates it's using a custom solution. Additionally, foreman_rh_cloud also invented its own mechanism. Then in some places it's using temporary files to pass file uploads between Foreman and DynFlow tasks.

      Acceptance criteria:

      • Foreman is configured to use ActiveStorage
      • Code (including Foreman plugins) that deals with files is updated to use ActiveStorage
      • Existing artifacts are migrated

      Open Questions:

      • Which backend(s) do we support?

      Implementation hints:

              Unassigned Unassigned
              ekohlvan@redhat.com Ewoud Kohl van Wijngaarden
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: