update version to v1.2.0
(cherry picked from commit 6bfe5b4f8b0406965a51ed44230f53f3dac30415)
This commit is contained in:
parent
70df921f06
commit
593860d2fb
@ -1,35 +0,0 @@
|
|||||||
From e48ee859dcc753fec77e23c465019f0d1572f36a Mon Sep 17 00:00:00 2001
|
|
||||||
From: wenxin <shusheng.wen@outlook.com>
|
|
||||||
Date: Tue, 27 Dec 2022 11:09:06 +0800
|
|
||||||
Subject: [PATCH] Modify uwsgi configuration file fields
|
|
||||||
|
|
||||||
---
|
|
||||||
aops-vulcanus | 5 +++++
|
|
||||||
1 file changed, 5 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/aops-vulcanus b/aops-vulcanus
|
|
||||||
index 78a43a8..368c57f 100644
|
|
||||||
--- a/aops-vulcanus
|
|
||||||
+++ b/aops-vulcanus
|
|
||||||
@@ -40,6 +40,8 @@ function create_config_file() {
|
|
||||||
daemonize=$(get_config "${config_file}" "uwsgi" "daemonize")
|
|
||||||
http_timeout=$(get_config "${config_file}" "uwsgi" "http-timeout")
|
|
||||||
harakiri=$(get_config "${config_file}" "uwsgi" "harakiri")
|
|
||||||
+ processes=$(get_config "${config_file}" "uwsgi" "processes")
|
|
||||||
+ threads=$(get_config "${config_file}" "uwsgi" "threads")
|
|
||||||
|
|
||||||
check_file $daemonize
|
|
||||||
echo "[INFO] run ${service_name} under path: ${wsgi_file}"
|
|
||||||
@@ -63,6 +65,9 @@ pidfile=${OUT_PATH}/${service_name}.pid
|
|
||||||
callable=app
|
|
||||||
http-timeout=${http_timeout}
|
|
||||||
harakiri=${harakiri}
|
|
||||||
+threads=${threads}
|
|
||||||
+processes=${processes}
|
|
||||||
+lazy-apps=true
|
|
||||||
daemonize=${daemonize}" >"${OUT_PATH}"/"${service_name}".ini
|
|
||||||
chown root: ${OUT_PATH}/"${service_name}".ini
|
|
||||||
chmod 750 ${OUT_PATH}/"${service_name}".ini
|
|
||||||
--
|
|
||||||
Gitee
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
aops-vulcanus-v1.2.0.tar.gz
Normal file
BIN
aops-vulcanus-v1.2.0.tar.gz
Normal file
Binary file not shown.
@ -1,17 +1,17 @@
|
|||||||
Name: aops-vulcanus
|
Name: aops-vulcanus
|
||||||
Version: v1.1.1
|
Version: v1.2.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: A basic tool libraries of aops, including logging, configure and response, etc.
|
Summary: A basic tool libraries of aops, including logging, configure and response, etc.
|
||||||
License: MulanPSL2
|
License: MulanPSL2
|
||||||
URL: https://gitee.com/openeuler/%{name}
|
URL: https://gitee.com/openeuler/%{name}
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Patch0001: 0001-modify-uwsgi-configuration-file-fields.patch
|
|
||||||
|
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
Requires: python3-concurrent-log-handler python3-xmltodict python3-pyyaml python3-marshmallow >= 3.13.0
|
Requires: python3-concurrent-log-handler python3-xmltodict python3-pyyaml python3-marshmallow >= 3.13.0
|
||||||
Requires: python3-requests python3-xlrd python3-prettytable python3-pygments python3-sqlalchemy
|
Requires: python3-requests python3-xlrd python3-prettytable python3-pygments python3-sqlalchemy
|
||||||
Requires: python3-elasticsearch >= 7 python3-prometheus-api-client python3-urllib3 python3-werkzeug
|
Requires: python3-elasticsearch >= 7 python3-prometheus-api-client python3-urllib3 python3-werkzeug
|
||||||
Requires: python3-flask python3-flask-restful python3-PyMySQL python3-kafka-python
|
Requires: python3-flask python3-flask-restful python3-PyMySQL python3-kafka-python
|
||||||
|
Requires: python-jwt python-redis
|
||||||
Provides: aops-vulcanus
|
Provides: aops-vulcanus
|
||||||
Conflicts: aops-utils
|
Conflicts: aops-utils
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ tools for aops, it's about aops deploy
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
# build for aops-vulcanus
|
# build for aops-vulcanus
|
||||||
@ -48,6 +48,7 @@ cp -r scripts %{buildroot}/opt/aops/
|
|||||||
%files
|
%files
|
||||||
%doc README.*
|
%doc README.*
|
||||||
%attr(0644,root,root) %{_sysconfdir}/aops/system.ini
|
%attr(0644,root,root) %{_sysconfdir}/aops/system.ini
|
||||||
|
%attr(0640,root,root) %{_sysconfdir}/aops/.aops-private-config.ini
|
||||||
%{python3_sitelib}/aops_vulcanus*.egg-info
|
%{python3_sitelib}/aops_vulcanus*.egg-info
|
||||||
%{python3_sitelib}/vulcanus/*
|
%{python3_sitelib}/vulcanus/*
|
||||||
%attr(0755,root,root) %{_bindir}/aops-vulcanus
|
%attr(0755,root,root) %{_bindir}/aops-vulcanus
|
||||||
@ -58,6 +59,10 @@ cp -r scripts %{buildroot}/opt/aops/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 17 2023 wenixn<shusheng.wen@outlook.com> - v1.2.0-1
|
||||||
|
- update token authentication method; update the structure of response body
|
||||||
|
- update database connect method
|
||||||
|
|
||||||
* Tue Dec 27 2022 wenxin<shusheng.wen@outlook.com> - v1.1.1-2
|
* Tue Dec 27 2022 wenxin<shusheng.wen@outlook.com> - v1.1.1-2
|
||||||
- Modify uwsgi configuration file fields
|
- Modify uwsgi configuration file fields
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user