diff --git a/PilotGo-plugin-prometheus-1.0.1.tar.gz b/PilotGo-plugin-prometheus-1.0.1.tar.gz index 88c1f0273739088ad5617dfa0ba7143a98769220..1423dc6781a3fefe57cae67e3eebd1551923480a 100644 Binary files a/PilotGo-plugin-prometheus-1.0.1.tar.gz and b/PilotGo-plugin-prometheus-1.0.1.tar.gz differ diff --git a/PilotGo-plugin-prometheus-web.tar.gz b/PilotGo-plugin-prometheus-web.tar.gz index 6afd757e85cfac95ad2dc89b5c98f8f1dbfd3871..e6dc78fe6bd4d43b6a777f972b83bc74a5b8a578 100644 Binary files a/PilotGo-plugin-prometheus-web.tar.gz and b/PilotGo-plugin-prometheus-web.tar.gz differ diff --git a/PilotGo-plugin-prometheus.spec b/PilotGo-plugin-prometheus.spec index 85b164aea20fe615ae8daa119db5b5bc3dddfa01..d766173fe8cc4754fa518bcaa92b611fa6564d91 100644 --- a/PilotGo-plugin-prometheus.spec +++ b/PilotGo-plugin-prometheus.spec @@ -2,12 +2,15 @@ Name: PilotGo-plugin-prometheus Version: 1.0.1 -Release: 1 +Release: 2 Summary: PilotGo prometheus plugin provides cluster monitor and alert. License: MulanPSL-2.0 URL: https://gitee.com/openeuler/PilotGo-plugin-prometheus Source0: https://gitee.com/openeuler/%{name}-%{version}.tar.gz -# Web packaged from 822e454fdad9bb41a83640d297ad055e1c30af26 +# tar -xvf Source0 +# cd %{name}-%{version}/web +# run 'yarn install and yarn build' in it +# tar -czvf %{name}-web.tar.gz ../web/dist/ Source1: PilotGo-plugin-prometheus-web.tar.gz BuildRequires: systemd BuildRequires: golang @@ -61,6 +64,9 @@ cp -rf web/dist %{buildroot}/opt/PilotGo/plugin/prometheus/web %changelog +* Tue Sep 26 2023 jianxinyu - 1.0.1-2 +- Compatible with golang version 1.17 + * Fri Sep 01 2023 jianxinyu - 1.0.1-1 - Package init