Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Add fedora33 support
Browse files Browse the repository at this point in the history
Remove fedora31 and add support for fedora33

re: #7800
https://pulp.plan.io/issues/7800
  • Loading branch information
pavelpicka committed Jan 8, 2021
1 parent efa2cc5 commit 75ac1ba
Show file tree
Hide file tree
Showing 28 changed files with 76 additions and 56 deletions.
4 changes: 2 additions & 2 deletions .github/vars/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ molecule_images:
- name: centos-8
image: centos:8
command: /sbin/init
- name: fedora-31
image: fedora:31
- name: fedora-33
image: fedora:33
command: /usr/sbin/init
- name: debian-10
image: debian:10
Expand Down
1 change: 1 addition & 0 deletions CHANGES/7800.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support for Fedora 33.
4 changes: 2 additions & 2 deletions molecule/release-dynamic/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ platforms:
image: pulp/molecule_debian10
command: /sbin/init
- <<: *platform_base
name: fedora-31
image: pulp/molecule_fedora31
name: fedora-33
image: pulp/molecule_fedora33
command: /usr/sbin/init
provisioner:
name: ansible
Expand Down
4 changes: 2 additions & 2 deletions molecule/release-static/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ platforms:
image: pulp/molecule_debian10
command: /sbin/init
- <<: *platform_base
name: fedora-31
image: pulp/molecule_fedora31
name: fedora-33
image: pulp/molecule_fedora33
command: /usr/sbin/init
provisioner:
name: ansible
Expand Down
4 changes: 2 additions & 2 deletions molecule/release-upgrade/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ platforms:
image: quay.io/pulp/pulp-ci-dbuster:3.0.0
command: /sbin/init
- <<: *platform_base
name: fedora-31
image: quay.io/pulp/pulp_rpm-ci-f31:3.1.0
name: fedora-33
image: quay.io/pulp/pulp_rpm-ci-f33:3.9.0
command: /usr/sbin/init
provisioner:
name: ansible
Expand Down
4 changes: 2 additions & 2 deletions molecule/source-dynamic/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ platforms:
image: pulp/molecule_debian10
command: /sbin/init
- <<: *platform_base
name: fedora-31
image: pulp/molecule_fedora31
name: fedora-33
image: pulp/molecule_fedora33
command: /usr/sbin/init
provisioner:
name: ansible
Expand Down
4 changes: 2 additions & 2 deletions molecule/source-static/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ platforms:
image: pulp/molecule_debian10
command: /sbin/init
- <<: *platform_base
name: fedora-31
image: pulp/molecule_fedora31
name: fedora-33
image: pulp/molecule_fedora33
command: /usr/sbin/init
provisioner:
name: ansible
Expand Down
4 changes: 2 additions & 2 deletions molecule/source-upgrade/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ platforms:
image: quay.io/pulp/pulp-ci-dbuster:3.0.0
command: /sbin/init
- <<: *platform_base
name: fedora-31
image: quay.io/pulp/pulp_rpm-ci-f31:3.1.0
name: fedora-33
image: quay.io/pulp/pulp_rpm-ci-f33:3.9.0
command: /usr/sbin/init
provisioner:
name: ansible
Expand Down
4 changes: 2 additions & 2 deletions roles/pulp_all_services/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ galaxy_info:
- buster
- name: Fedora
versions:
- 30
- 31
- 32
- 33
- name: EL
versions:
- 7
Expand Down
4 changes: 2 additions & 2 deletions roles/pulp_api/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ galaxy_info:
- buster
- name: Fedora
versions:
- 30
- 31
- 32
- 33
- name: EL
versions:
- 7
Expand Down
4 changes: 2 additions & 2 deletions roles/pulp_common/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ galaxy_info:
- buster
- name: Fedora
versions:
- 30
- 31
- 32
- 33
- name: EL
versions:
- 7
Expand Down
4 changes: 2 additions & 2 deletions roles/pulp_content/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ galaxy_info:
- buster
- name: Fedora
versions:
- 30
- 31
- 32
- 33
- name: EL
versions:
- 7
Expand Down
4 changes: 2 additions & 2 deletions roles/pulp_database/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ galaxy_info:
- buster
- name: Fedora
versions:
- 30
- 31
- 32
- 33
- name: EL
versions:
- 7
Expand Down
16 changes: 16 additions & 0 deletions roles/pulp_database/vars/Fedora-33.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
# Fedora 33 containers only have python3 by default
postgresql_python_library: python3-psycopg2

# Geerlingguy.postgresql roles doesn't support F33
__postgresql_version: "12.4"
__postgresql_data_dir: "/var/lib/pgsql/data"
__postgresql_bin_path: "/usr/bin"
__postgresql_config_path: "/var/lib/pgsql/data"
__postgresql_daemon: postgresql
__postgresql_packages:
- postgresql
- postgresql-server
- postgresql-contrib
- postgresql-libs
__postgresql_unix_socket_directories_mode: '0755'
4 changes: 2 additions & 2 deletions roles/pulp_database_config/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ galaxy_info:
- buster
- name: Fedora
versions:
- 30
- 31
- 32
- 33
- name: EL
versions:
- 7
Expand Down
4 changes: 2 additions & 2 deletions roles/pulp_devel/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ galaxy_info:
- buster
- name: Fedora
versions:
- 30
- 31
- 32
- 33
- name: EL
versions:
- 7
Expand Down
4 changes: 2 additions & 2 deletions roles/pulp_health_check/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ galaxy_info:
- buster
- name: Fedora
versions:
- 30
- 31
- 32
- 33
- name: EL
versions:
- 7
Expand Down
4 changes: 2 additions & 2 deletions roles/pulp_redis/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ galaxy_info:
- buster
- name: Fedora
versions:
- 30
- 31
- 32
- 33
- name: EL
versions:
- 7
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions roles/pulp_redis/vars/Fedora-33.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
_pulp_redis_server_name: redis
_pulp_redis_conf_file: '/etc/redis/redis.conf'
4 changes: 2 additions & 2 deletions roles/pulp_resource_manager/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ galaxy_info:
- buster
- name: Fedora
versions:
- 30
- 31
- 32
- 33
- name: EL
versions:
- 7
Expand Down
4 changes: 2 additions & 2 deletions roles/pulp_rpm_prerequisites/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ galaxy_info:
platforms:
- name: Fedora
versions:
- 30
- 31
- 32
- 33
- name: EL
versions:
- 7
Expand Down
4 changes: 2 additions & 2 deletions roles/pulp_services/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ galaxy_info:
- buster
- name: Fedora
versions:
- 30
- 31
- 32
- 33
- name: EL
versions:
- 7
Expand Down
4 changes: 2 additions & 2 deletions roles/pulp_webserver/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ galaxy_info:
- buster
- name: Fedora
versions:
- 30
- 31
- 32
- 33
- name: EL
versions:
- 7
Expand Down
4 changes: 2 additions & 2 deletions roles/pulp_workers/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ galaxy_info:
- buster
- name: Fedora
versions:
- 30
- 31
- 32
- 33
- name: EL
versions:
- 7
Expand Down
12 changes: 6 additions & 6 deletions vagrant/boxes.d/00-fedora.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
fedora31:
box_name: 'fedora/31-cloud-base'
image_name: !ruby/regexp '/Fedora 31.*/'
fedora32:
box_name: 'fedora/32-cloud-base'
image_name: !ruby/regexp '/Fedora 32.*/'
pty: true
ansible:
variables:
ansible_python_interpreter: /usr/bin/python3

fedora32:
box_name: 'fedora/32-cloud-base'
image_name: !ruby/regexp '/Fedora 32.*/'
fedora33:
box_name: 'fedora/33-cloud-base'
image_name: !ruby/regexp '/Fedora 33.*/'
pty: true
ansible:
variables:
Expand Down
8 changes: 4 additions & 4 deletions vagrant/boxes.d/20-sandbox.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
pulp3-sandbox-fedora31:
box: 'fedora31'
pulp3-sandbox-fedora32:
box: 'fedora32'
memory: 4096
ansible:
playbook: "vagrant/playbooks/user-sandbox.yml"
galaxy_role_file: "requirements.yml"

pulp3-sandbox-fedora32:
box: 'fedora32'
pulp3-sandbox-fedora33:
box: 'fedora33'
memory: 4096
ansible:
playbook: "vagrant/playbooks/user-sandbox.yml"
Expand Down
8 changes: 4 additions & 4 deletions vagrant/boxes.d/30-source.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pulp3-source-fedora31:
box: 'fedora31'
pulp3-source-fedora32:
box: 'fedora32'
sshfs:
host_path: '..'
guest_path: '/home/vagrant/devel'
Expand All @@ -9,8 +9,8 @@ pulp3-source-fedora31:
playbook: "vagrant/playbooks/source-install.yml"
galaxy_role_file: "requirements.yml"

pulp3-source-fedora32:
box: 'fedora32'
pulp3-source-fedora33:
box: 'fedora33'
sshfs:
host_path: '..'
guest_path: '/home/vagrant/devel'
Expand Down

0 comments on commit 75ac1ba

Please sign in to comment.