Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
f3d13c4019
!28 change cincinnati url for nestos
From: @jianli-97 
Reviewed-by: @duyiwei7w 
Signed-off-by: @duyiwei7w
2023-10-16 09:16:46 +00:00
jianli-97
e49b04778b change cincinnati url for nestos 2023-10-16 16:13:10 +08:00
openeuler-ci-bot
0ea6658737
!25 Specification NestOS Project Component Description File
From: @duyiwei7w 
Reviewed-by: @fu-shanqing 
Signed-off-by: @fu-shanqing
2023-06-21 05:46:59 +00:00
duyiwei
f45d9cdc44
Specification NestOS Project Component Description File
Signed-off-by: duyiwei <duyiwei@kylinos.cn>
2023-06-21 03:25:57 +00:00
openeuler-ci-bot
7001e3a2c2
!22 修改cincinnati的默认更新地址至新版地址
From: @duyiwei7w 
Reviewed-by: @fu-shanqing 
Signed-off-by: @fu-shanqing
2023-05-30 01:21:37 +00:00
duyiwei
28ca39aa95 modify base-cincinnati-url-for-nestos.patch 2023-05-29 17:52:28 +08:00
openeuler-ci-bot
55f830d184
!18 Modify compliance irregularities
From: @dingdingaaaaa 
Reviewed-by: @duyiwei7w 
Signed-off-by: @duyiwei7w
2022-12-26 07:57:13 +00:00
丁紫薇
ca7896dc11
update rust-zincati.spec.
Signed-off-by: 丁紫薇 <dingziwei@kylinos.cn>
2022-12-15 08:05:13 +00:00
openeuler-ci-bot
08f6c185f6
!16 [sync] Enable debuginfo for fix strip
From: @fu-shanqing 
Reviewed-by: @duyiwei7w 
Signed-off-by: @duyiwei7w
2022-12-09 08:58:26 +00:00
fu-shanqing
f242d71468 Enable debuginfo for fix strip 2022-12-09 01:54:03 +08:00
4 changed files with 70 additions and 25 deletions

View File

@ -1,30 +1,39 @@
# zincati # zincati
#### 介绍 #### 介绍
Zincati is an auto-update agent for NestOS hosts.. Zincati is an auto-update agent for NestOS hosts.
#### 软件架构 It works as a client for Cincinnati and rpm-ostree, taking care of automatically updating/rebooting machines.
软件架构说明
#### Features:
-Agent for continuous auto-updates, with support for phased rollouts
-Configuration via TOML dropins and overlaid directories
-Multiple update strategies for finalization/reboot
-Local maintenance windows on a weekly schedule for planned upgrades
-Internal metrics exposed over a local endpoint in Prometheus format
-Logging with configurable priority levels
-Support for complex update-graphs via Cincinnati protocol (with rollout wariness, barriers, dead-ends and more)
-Support for cluster-wide reboot orchestration, via an external lock-manager
#### 安装教程 #### 安装教程
1. xxxx Install zincati rpm package:
2. xxxx
3. xxxx yum install zincati
#### 使用说明 #### 使用说明
1. xxxx 详细使用说明请参考[zincati官网](https://coreos.github.io/zincati/)以及[NestOS主页](https://gitee.com/openeuler/NestOS)
2. xxxx
3. xxxx
#### 参与贡献 #### 参与贡献
1. Fork 本仓库 master分支使用最新的上游版本如果检测到上游有最新版本发布先形成issue后再提交对应PR更新流程如下。
2. 新建 Feat_xxx 分支 1. 提交issue
3. 提交代码 2. Fork 本仓库
4. 新建 Pull Request 3. 新建 Feat_xxx 分支
4. 提交代码
5. 新建 Pull Request
#### 特技 #### 特技

View File

@ -1,8 +0,0 @@
diff -Nur zincati-0.0.18/dist/config.d/50-fedora-coreos-cincinnati.toml zincati-0.0.18-new/dist/config.d/50-fedora-coreos-cincinnati.toml
--- zincati-0.0.18/dist/config.d/50-fedora-coreos-cincinnati.toml 2021-02-28 06:16:41.000000000 +0800
+++ zincati-0.0.18-new/dist/config.d/50-fedora-coreos-cincinnati.toml 2022-05-17 11:27:14.242121619 +0800
@@ -1,3 +1,2 @@
-# Fedora CoreOS Cincinnati backend
[cincinnati]
-base_url= "https://updates.coreos.fedoraproject.org"
+base_url= "http://nestos.org.cn:8080"

View File

@ -0,0 +1,33 @@
From bd31264e125d4350380996957a2ae4d27b711747 Mon Sep 17 00:00:00 2001
From: jianli-97 <lijian2@kylinos.cn>
Date: Mon, 16 Oct 2023 16:03:49 +0800
Subject: [PATCH] change cincinnati url for nestos
---
dist/config.d/50-fedora-coreos-cincinnati.toml | 3 ---
dist/config.d/50-nestos-cincinnati.toml | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)
delete mode 100644 dist/config.d/50-fedora-coreos-cincinnati.toml
create mode 100644 dist/config.d/50-nestos-cincinnati.toml
diff --git a/dist/config.d/50-fedora-coreos-cincinnati.toml b/dist/config.d/50-fedora-coreos-cincinnati.toml
deleted file mode 100644
index fe259f3..0000000
--- a/dist/config.d/50-fedora-coreos-cincinnati.toml
+++ /dev/null
@@ -1,3 +0,0 @@
-# Fedora CoreOS Cincinnati backend
-[cincinnati]
-base_url= "https://updates.coreos.fedoraproject.org"
diff --git a/dist/config.d/50-nestos-cincinnati.toml b/dist/config.d/50-nestos-cincinnati.toml
new file mode 100644
index 0000000..7a01c68
--- /dev/null
+++ b/dist/config.d/50-nestos-cincinnati.toml
@@ -0,0 +1,3 @@
+# NestOS Cincinnati backend
+[cincinnati]
+base_url= "http://www.nestos.org.cn:8080"
--
2.33.0

View File

@ -1,19 +1,18 @@
%bcond_without check %bcond_without check
%global __cargo_skip_build 0 %global __cargo_skip_build 0
%define debug_package %{nil}
%global crate zincati %global crate zincati
%global zcuid 986 %global zcuid 986
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.0.24 Version: 0.0.24
Release: 2 Release: 6
Summary: Update agent for NestOS Summary: Update agent for NestOS
License: ASL 2.0 License: Apache-2.0
URL: https://crates.io/crates/%{crate} URL: https://crates.io/crates/%{crate}
Source0: %{crate}-%{version}.crate Source0: %{crate}-%{version}.crate
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
Source2: zincati-systemd-sysusers.conf Source2: zincati-systemd-sysusers.conf
Patch1: base-cincinnati-url-for-nestos.patch Patch1: change-cincinnati-url-for-nestos.patch
Patch2: modify-as-nestos-stream.patch Patch2: modify-as-nestos-stream.patch
BuildRequires: rust-packaging BuildRequires: rust-packaging
@ -127,6 +126,18 @@ install -Dpm644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysusersdir}/zincati.conf
%endif %endif
%changelog %changelog
* Mon Oct 16 2023 lijian <lijian2@kylinos.cn> - 0.0.24-6
- add change-cincinnati-url-for-nestos.patch
* Mon May 29 2023 duyiwei <duyiwei@kylinos.cn> - 0.0.24-5
- modify base-cincinnati-url-for-nestos.patch
* Thu Dec 15 2022 dingdingaaaaa <dingziwei@kylinos.cn> - 0.0.24-4
- License compliance rectification
* Thu Dec 08 2022 fushanqing <fushanqing@kylinos.cn> - 0.0.24-3
- Enable debuginfo for fix strip
* Thu Nov 10 2022 duyiwei <duyiwei@kylinos.cn> - 0.0.24-2 * Thu Nov 10 2022 duyiwei <duyiwei@kylinos.cn> - 0.0.24-2
- sync master and fix some bug - sync master and fix some bug