summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordd <dd@wx.tnyzeq.icu>2024-05-26 10:43:59 +0200
committerdd <dd@wx.tnyzeq.icu>2024-05-26 10:43:59 +0200
commit858273bff18b538635b0ce625b29c0489e344577 (patch)
tree9e89f3b6aecdb5b3b73ac1c2814b4b84fbef34c6
parent75d8dba05e74a4fb015ac2964c1194146c8fbf5f (diff)
downloadvyos-jenkins-858273bff18b538635b0ce625b29c0489e344577.tar.gz
vyos-jenkins-858273bff18b538635b0ce625b29c0489e344577.zip
improved reprepro example
-rw-r--r--readme.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index fcaa0c4..9fb5400 100644
--- a/readme.md
+++ b/readme.md
@@ -333,6 +333,12 @@ Remember your pub key, it's random string like "934824D5C6A72DA964B3AFBD27A7E25D
Create expected folder structure, prepare reprepro config and give Jenkins access, this is done for each release
codename.
+Set SIGN_PUB_KEY:
+
+```
+export SIGN_PUB_KEY="<pub key idenitifier from step above>"
+```
+
Set RELEASE name:
```
@@ -347,7 +353,7 @@ export RELEASE=sagitta
...
-Then create reprepro repository **REPLACE \<your singing pub key>**:
+Then create reprepro repository for each RELEASE:
```
export REPOSITORY=/home/sentrium/web/dev.packages.vyos.net/public_html/repositories/$RELEASE
@@ -361,7 +367,7 @@ Codename: $RELEASE
Architectures: source amd64
Components: main
Description: $RELEASE
-SignWith: <your singing pub key>
+SignWith: $SIGN_PUB_KEY
EOF
cat << EOF > $REPOSITORY/conf/options