Add CI Jobs to push packages to Pulp

This is the final required piece of the packageclound -> pulp migration. With this in place, packages will be pushed to pulp on main and release pipelines.

These jobs are largely a copy/pasta of the analogous packagecloud jobs. The only deviations from the packagecloud jobs are:

  • the base job calls mage pulp:createConfig in before_script.
  • There no equivalent to for the variable PACKAGE_CLOUD_NAMESPACE in the pulp jobs because it's not necessary. That variable is arguably not necessary in the packagecloud jobs.
  • The name of the unstable job is unstable pulp instead of bleeding edge pulp.

To go along with this, I have added the following variables to the runners CI/CD Settings.

  • PULP_URL
  • PULP_USER
  • PULP_PASSWORD
  • PULP_PRE_URL
  • PULP_PRE_USER
  • PULP_PRE_PASSWORD

The password and user variables are protected.

And I've added the the following 2 environments:

Closes https://gitlab.com/gitlab-org/gitlab-runner/-/work_items/39121+

Testing

Really the ultimate test for this will be to have it run on a main pipeline once the MR is merged. But in the meantime I'll mark the MR's branch as protected and manually start a pipeline run to see if that causes the unstable pulp jobs to be run.

Edited by Axel von Bertoldi

Merge request reports

Loading