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

Rake tasks that depend on environment variables are now broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • 6.19.0
    • stream, 6.19.0
    • None
    • None
    • None
    • None
    • None

      Due to a recent change in foreman-installer, foreman-rake tasks in production cannot access environment variables. This means that any rake task that depends on them will be broken.

      Rather than relying on env vars, Rake tasks can themselves take arguments. See the Rails documentation at https://guides.rubyonrails.org/v7.0/command_line.html#custom-rake-tasks

      All Katello rake tasks that rely on env vars need to be refactored in this way.

              Unassigned Unassigned
              satellite-jira-automation@redhat.com Satellite Jira-Automation
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: