0.1.13 version:

- koji_db_server - properly handle case when koji_db_server_ip
    is set to localhost.
  - koji_tools - install koji-tools offline from tarball if
    possible.
master 0.1.13
Eugene Zamriy 5 months ago
parent 757bbe335e
commit ef3fcabd4a
Signed by: ezamriy
GPG Key ID: 7EBF95C7DCFA496C

@ -5,6 +5,15 @@ msvsphere.ci Release Notes
.. contents:: Topics .. contents:: Topics
v0.1.13
=======
Minor Changes
-------------
- koji_db_server - properly handle case when koji_db_server_ip is set to localhost.
- koji_tools - install koji-tools offline from tarball if possible.
v0.1.12 v0.1.12
======= =======

@ -68,4 +68,4 @@ plugins:
strategy: {} strategy: {}
test: {} test: {}
vars: {} vars: {}
version: 0.1.12 version: 0.1.13

@ -44,6 +44,14 @@ releases:
fragments: fragments:
- 9-handle-koji-schema-path-change.yml - 9-handle-koji-schema-path-change.yml
release_date: '2024-04-19' release_date: '2024-04-19'
0.1.13:
changes:
minor_changes:
- koji_db_server - properly handle case when koji_db_server_ip is set to localhost.
- koji_tools - install koji-tools offline from tarball if possible.
fragments:
- 10-handle-isolated-install.yml
release_date: '2024-04-21'
0.1.2: 0.1.2:
objects: objects:
role: role:

@ -0,0 +1,4 @@
---
minor_changes:
- koji_db_server - properly handle case when koji_db_server_ip is set to localhost.
- koji_tools - install koji-tools offline from tarball if possible.

@ -1,6 +1,6 @@
namespace: msvsphere namespace: msvsphere
name: ci name: ci
version: 0.1.12 version: 0.1.13
readme: README.md readme: README.md
authors: authors:
- Eugene Zamriy <ezamriy@msvsphere-os.ru> - Eugene Zamriy <ezamriy@msvsphere-os.ru>

@ -62,6 +62,18 @@
address: "{{ koji_db_server_ip }}/32" address: "{{ koji_db_server_ip }}/32"
method: "{{ koji_db_server_password_encryption }}" method: "{{ koji_db_server_password_encryption }}"
register: pg_hba_status register: pg_hba_status
when: koji_db_server_ip | trim != 'localhost'
- name: Allow requests from Koji server
community.postgresql.postgresql_pg_hba:
dest: /var/lib/pgsql/data/pg_hba.conf
contype: host
databases: "{{ koji_db_server_db_name }}"
users: "{{ koji_db_server_user }}"
address: "localhost"
method: "{{ koji_db_server_password_encryption }}"
register: pg_hba_status
when: koji_db_server_ip | trim == 'localhost'
- name: Restart PostgreSQL - name: Restart PostgreSQL
ansible.builtin.service: ansible.builtin.service:

@ -6,8 +6,17 @@
- python3-cryptography - python3-cryptography
state: present state: present
- name: Upload and unarchive koji-tools tarball if exists
ansible.builtin.unarchive:
src: "koji-tools-{{ koji_tools_git_ref }}.tar.gz"
dest: /usr/local
remote_src: true
register: koji_tools_upload
ignore_errors: true
- name: Clone koji-tools git repository - name: Clone koji-tools git repository
ansible.builtin.git: ansible.builtin.git:
repo: 'https://pagure.io/koji-tools.git' repo: 'https://pagure.io/koji-tools.git'
dest: /usr/local/koji-tools dest: /usr/local/koji-tools
version: "{{ koji_tools_git_ref }}" version: "{{ koji_tools_git_ref }}"
when: koji_tools_upload.failed

Loading…
Cancel
Save