Project

Profile

Help

Task #6548

Story #5890: [Epic] The ansible-pulp installer needs to handle multiple versions of Pulp

Story #5618: As a user, I can download & run a version of the ansible installer that a specific version of Pulp 3

Task #6073: Adapt pulp_installer CI for pulp_installer branches

pulp_installer CI: prereq roles to use variables for what branches they test against

Added by mdepaulo@redhat.com almost 2 years ago. Updated over 1 year ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
% Done:

70%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
CI/CD
Sprint:
Quarter:

Description

prereq roles pulp_rpm_prerequisites need to use the new variables mechanisms to clone the correct branch of pulpcore, pulp_rpm, etc.

Rather than doing a ton of individual yq commands to modify pulp_installer variables, we should do 1 of the following:

  • Replace the pulp_installer group_vars files with prereq roles' versions
  • Merge group_vars files, like with the yq merge subcommand.

History

#1 Updated by mdepaulo@redhat.com almost 2 years ago

  • Assignee set to mdepaulo@redhat.com

It looks like the python module for the yq command supports merging dictionaries with its merge subcommand, while the compiled binary yq does not:

pulp_install_plugins:
  pulp-file: {}
pulp_install_plugins:
  pulp-rpm: {}

Correct result:

pulp_install_plugins:
  pulp-file: {}
  pulp-rpm: {}

This is however a necessary feature for fields we're implementing in #6547 like git_commitish:

pulp_install_plugins:
  pulp-file:
    git_commitish: old-branch
    version: old-release

#2 Updated by mdepaulo@redhat.com almost 2 years ago

  • Subject changed from pulp_installer CI: prereq roles to adopt variables files for molecule to pulp_installer CI: prereq roles to use variables to control what branches they test against
  • Description updated (diff)

#3 Updated by mdepaulo@redhat.com almost 2 years ago

  • Subject changed from pulp_installer CI: prereq roles to use variables to control what branches they test against to pulp_installer CI: prereq roles to use variables for what branches they test against

#4 Updated by mdepaulo@redhat.com over 1 year ago

  • Status changed from NEW to POST
  • % Done changed from 0 to 70

#5 Updated by bmbouter over 1 year ago

  • Category set to Installer - Moved to GitHub issues
  • Tags deleted (Pulp 3 installer)

#6 Updated by mdepaulo@redhat.com over 1 year ago

  • Status changed from POST to CLOSED - WONTFIX

OBE - prereq roles merged into pulp_installer

Also available in: Atom PDF