Skip to content

Commit

Permalink
Update configuration to unblock Pulp pipelines and also release Pulp …
Browse files Browse the repository at this point in the history
…3.39
  • Loading branch information
Odilhao committed Nov 17, 2023
1 parent 5a06c51 commit 34682c9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pipelines/pulpcore/02-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
environment:
DJANGO_SETTINGS_MODULE: pulpcore.app.settings
pre_tasks:
- when: pipeline_version != 'nightly'
- when: pipeline_version != 'nightly' or pipeline_version is version('3.28', '<=')
set_fact:
pulp_pkg_repo: "http://koji.katello.org/releases/yum/pulpcore-{{ pipeline_version }}/el{{ ansible_distribution_major_version }}/$basearch/"
- when: pipeline_version == 'nightly'
- when: pipeline_version == 'nightly' or pipeline_version is version('3.39', '>=')
set_fact:
pulp_pkg_repo: "https://stagingyum.theforeman.org/pulpcore/{{ pipeline_version }}/el{{ ansible_distribution_major_version }}/$basearch/"
pulp_pkg_name_prefix: "python3.11-"
Expand Down
14 changes: 13 additions & 1 deletion playbooks/setup_forklift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,19 @@
when:
- forklift_install_pulp_from_galaxy
- pipeline_version is defined
- pipeline_version == 'nightly' or pipeline_version is version('3.18', '>=')
- pipeline_version != 'nightly' or pipeline_version is version('3.18', '>=')
retries: 3
register: result
until: result is succeeded

- name: 'Install Forklift Pulp collection dependencies for >3.39'
command:
cmd: ansible-galaxy collection install -r requirements-pulp-339.yml
chdir: "{{ forklift_dest }}"
when:
- forklift_install_pulp_from_galaxy
- pipeline_version is defined
- pipeline_version == 'nightly' or pipeline_version is version('3.39', '>=')
retries: 3
register: result
until: result is succeeded
Expand Down
4 changes: 2 additions & 2 deletions requirements-pulp-322.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
collections:
- name: https://github.com/pcreech/pulp_installer
type: git
- name: pulp.pulp_installer
type: 3.22.0
3 changes: 3 additions & 0 deletions requirements-pulp-339.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
collections:
- name: https://github.com/pcreech/pulp_installer
type: git

0 comments on commit 34682c9

Please sign in to comment.