1 Star 0 Fork 30

albatross/kiwi

forked from src-openEuler/kiwi 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-Include-box-plugin-images-to-build_status.patch 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
weiwei_tiantian 提交于 2022-01-22 12:04 . Add new features
From 49d09e9667e90562470d58ab369614f2db8c5c0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= <ms@suse.de>
Date: Thu, 13 Aug 2020 11:17:33 +0200
Subject: [PATCH] Include box plugin images to build_status
Also show some colors for failed and unresolvable builds
---
helper/build_status.sh | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/helper/build_status.sh b/helper/build_status.sh
index ef93ee847c..b8fe0ea8da 100755
--- a/helper/build_status.sh
+++ b/helper/build_status.sh
@@ -1,6 +1,9 @@
#!/bin/bash
for project in \
+ Virtualization:Appliances:SelfContained:fedora \
+ Virtualization:Appliances:SelfContained:suse \
+ Virtualization:Appliances:SelfContained:ubuntu \
Virtualization:Appliances:Images:Testing_x86:suse \
Virtualization:Appliances:Images:Testing_x86:centos \
Virtualization:Appliances:Images:Testing_x86:fedora \
@@ -9,13 +12,20 @@ for project in \
Virtualization:Appliances:Images:Testing_arm:suse \
Virtualization:Appliances:Images:Testing_arm:fedora \
Virtualization:Appliances:Images:Testing_ppc:suse \
+ Virtualization:Appliances:Images:Testing_ppc:sle15 \
Virtualization:Appliances:Images:Testing_ppc:fedora \
Virtualization:Appliances:Images:Testing_x86:archlinux
do
echo "${project}"
if [ ! "$1" = "refresh" ];then
- osc -A https://api.opensuse.org \
+ while read -r line;do
+ echo -e "$(echo $line |\
+ sed -e s@^F@'\\033[31mF\\e[0m'@ |\
+ sed -e s@^U@'\\033[33mU\\e[0m'@ |\
+ sed -e s@^\\.@'\\033[32m.\\e[0m'@)"
+ done < <(osc -A https://api.opensuse.org \
results -V "${project}" | grep -B100 Legend | grep -v Legend
+ )
else
for package in $(osc -A https://api.opensuse.org list "${project}");do
if [[ "${package}" =~ ^test- ]];then
~
~
~
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jade_t/kiwi.git
git@gitee.com:jade_t/kiwi.git
jade_t
kiwi
kiwi
master

搜索帮助