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

Commit

Permalink
Merge pull request #72 from mnecas/fix_spec_files
Browse files Browse the repository at this point in the history
Release 1.0.3
  • Loading branch information
mwperina committed Jun 9, 2020
2 parents 175152d + 578a638 commit c5dece8
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 5 deletions.
5 changes: 4 additions & 1 deletion misc/packaging/ansible-runner-service.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
%endif

Name: ansible-runner-service
Version: 1.0.2
Version: 1.0.3
Release: 1%{?dist}
Summary: RESTful API for ansible/ansible_runner execution
Source0: https://github.com/pcuzner/%{name}/archive/%{name}-%{version}.tar.gz
Expand Down Expand Up @@ -75,6 +75,9 @@ install -m 0644 ./LICENSE.md %{buildroot}%{_docdir}/ansible-runner-service
%{_docdir}/ansible-runner-service/*

%changelog
* Thu Jun 4 2020 Martin Necas <mnecas@redhat.com> 1.0.3-1
- No change in this RPM

* Tue Apr 28 2020 Martin Necas <mnecas@redhat.com> 1.0.2-1
- Allow playbook parallel execution.
- Add artifacts removal.
Expand Down
6 changes: 5 additions & 1 deletion misc/packaging/apache/ansible-runner-service.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%global srcname ansible-runner-service

Name: %{srcname}
Version: 1.0.2
Version: 1.0.3
Release: 1%{?dist}
Summary: RESTful API for ansible/ansible_runner execution
Source0: https://github.com/ansible/%{name}/archive/%{name}-%{version}.tar.gz
Expand Down Expand Up @@ -74,6 +74,10 @@ install -m 644 ./ansible_runner_service.py %{buildroot}%{python3_sitelib}/runner
%doc README.md

%changelog
* Thu Jun 4 2020 Martin Necas <mnecas@redhat.com> 1.0.3-1
- Add logrotate configuration to purge old log files
- Add psutil to dependencies

* Tue Apr 28 2020 Martin Necas <mnecas@redhat.com> 1.0.2-1
- Allow playbook parallel execution.
- Add artifacts removal.
Expand Down
6 changes: 5 additions & 1 deletion misc/packaging/nginx/ansible-runner-service-nginx.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
%endif

Name: ansible-runner-service
Version: 1.0.2
Version: 1.0.3
Release: 1%{?dist}
Summary: RESTful API for ansible/ansible_runner execution
Source0: https://github.com/ansible/%{name}/archive/%{name}-%{version}.tar.gz
Expand All @@ -22,6 +22,7 @@ Requires: ansible-runner >= 1.3.2
Requires: python-flask >= 1.0.2
Requires: python2-flask-restful >= 0.3.5
Requires: python2-cryptography
Requires: python2-psutil
Requires: openssl
Requires: pyOpenSSL
Requires: PyYAML
Expand Down Expand Up @@ -93,6 +94,9 @@ install -m 0644 ./misc/nginx/uwsgi.ini %{buildroot}%{_sysconfdir}/ansible-runner


%changelog
* Thu Jun 4 2020 Martin Necas <mnecas@redhat.com> 1.0.3-1
- Add psutil to dependencies

* Tue Apr 28 2020 Martin Necas <mnecas@redhat.com> 1.0.2-1
- Allow playbook parallel execution.
- Add artifacts removal.
Expand Down
12 changes: 11 additions & 1 deletion packaging/gunicorn/ansible-runner-service.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%global srcname ansible-runner-service-dev

Name: %{srcname}
Version: 1.0.2
Version: 1.0.3
Release: 1%{?dist}
Summary: RESTful API for ansible/ansible_runner execution
Source0: https://github.com/ansible/%{name}/archive/%{name}-%{version}.tar.gz
Expand Down Expand Up @@ -69,6 +69,12 @@ install -m 644 ./ansible_runner_service.py %{buildroot}%{python3_sitelib}/runner
mkdir -p %{buildroot}%{_unitdir}
cp -r ./packaging/gunicorn/ansible-runner-service.service %{buildroot}%{_unitdir}

mkdir -p %{buildroot}/var/log/ovirt-engine
touch %{buildroot}/var/log/ovirt-engine/ansible-runner-service.log

mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
install -m 644 ./packaging/gunicorn/ansible-runner-service %{buildroot}%{_sysconfdir}/logrotate.d/ansible-runner-service

%files -n %{srcname}
%{_bindir}/ansible_runner_service
%{python3_sitelib}/*
Expand All @@ -83,6 +89,10 @@ cp -r ./packaging/gunicorn/ansible-runner-service.service %{buildroot}%{_unitdir
%doc README.md

%changelog
* Thu Jun 4 2020 Martin Necas <mnecas@redhat.com> 1.0.3-1
- Add logrotate configuration to purge old log files
- Add psutil to dependencies

* Tue Apr 28 2020 Martin Necas <mnecas@redhat.com> 1.0.2-1
- Allow playbook parallel execution.
- Add artifacts removal.
Expand Down
2 changes: 1 addition & 1 deletion runner_service/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
InventoryCorruptError,
InventoryOperationNotAllowed)

__version__ = '1.0.2'
__version__ = '1.0.3'

0 comments on commit c5dece8

Please sign in to comment.