From 437b6abda05a822f3a0abba91aa7206276a89fe7 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Fri, 15 Nov 2024 11:58:24 +1100 Subject: [PATCH] add utils (e.g. sign_build.sh) --- utils/README.md | 12 ++++++ utils/parse-list.sh | 71 +++++++++++++++++++++++++++++++ utils/queue-builds.sh | 34 +++++++++++++++ utils/sign_build.sh | 67 +++++++++++++++++++++++++++++ utils/sign_build_list.sh | 92 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 276 insertions(+) create mode 100644 utils/README.md create mode 100755 utils/parse-list.sh create mode 100755 utils/queue-builds.sh create mode 100755 utils/sign_build.sh create mode 100755 utils/sign_build_list.sh diff --git a/utils/README.md b/utils/README.md new file mode 100644 index 0000000..6c4bde2 --- /dev/null +++ b/utils/README.md @@ -0,0 +1,12 @@ +# Supporting utility scripts + +## sign_build.sh +Sign all rpms for a particular build + +## sign_build_list.sh +Sign all rpms for each build specified in a file (1 line per build) + +## queue_builds.sh +Queue a build for each package supplied in a file + +## parse-list.sh diff --git a/utils/parse-list.sh b/utils/parse-list.sh new file mode 100755 index 0000000..9e7d5c5 --- /dev/null +++ b/utils/parse-list.sh @@ -0,0 +1,71 @@ +#!/bin/bash +# +# Run script against every item in input file + +if [[ -z $1 ]] ; then + echo "parse a list of parameters and execute script with those parameters" + echo "parse-list.sh