Skip to content
Snippets Groups Projects

simplify instructions by introducing new generaterepolist command, move email...

Merged Ben Morrice requested to merge generaterepolist into master
1 unresolved thread
Files
2
+ 21
9
@@ -63,7 +63,7 @@ Build:
## Release to testing
Move all built packages to testing:
If any packages were built in the above step, move the built packages to testing:
```
/mnt/data2/home/build/bin/bsbuild2test -d cc7 -r "cern cernonly rt centosplus rhcommon"
```
@@ -93,19 +93,29 @@ Send an email to `linux-announce-test@cern.ch` with updated packages information
## Release to production
Generate list of repos that have been updated in the last week
```
/mnt/data2/home/build/bin/generaterepolist -d cc7
```
List available updates:
```
/mnt/data2/home/build/bin/bstest2prod -d cc7 -r "updates rt"
/mnt/data2/home/build/bin/bstest2prod -d cc7 -r "$REPOLIST"
```
Promote package. `\*` can be used to promote all updates. A careful review is needed in general:
```
/mnt/data2/home/build/bin/bstest2prod -d cc7 -r "updates rt" [pkgname to release]
/mnt/data2/home/build/bin/bstest2prod -d cc7 -r "$REPOLIST" [pkgname to release]
```
Note - running this command will move files from testing to what will be production, for this reason we should bsregenrepos on both testing and non-testing repositories
Generate list of repos that have been updated in the last week + including testing repositories.
```
/mnt/data2/home/build/bin/generaterepolist -d cc7 -t
```
Regenerate production repositories metadata (=~ 15min):
```
/mnt/data2/home/build/bin/bsregenrepos -d cc7 -r "cern-testing cernonly-testing rt-testing centosplus-testing rhcommon-testing cern cernonly rt centosplus rhcommon updates updates-testing"
/mnt/data2/home/build/bin/bsregenrepos -d cc7 -r "$REPOLIST"
```
@@ -113,17 +123,13 @@ Regenerate production repositories metadata (=~ 15min):
Running `bssync` will actually "de facto" move all packages to production. Reversing this action is not trivial:
```
/mnt/data2/home/build/bin/bssync -t "data1 eos" -d cc7 -r "cern-testing cernonly-testing rt-testing centosplus-testing rhcommon-testing cern cernonly rt centosplus rhcommon updates updates-testing"
/mnt/data2/home/build/bin/bssync -t "data1 eos" -d cc7 -r "$REPOLIST"
```
Test the upgrade works as expected on `lxvmcc7t-amd64` and `lxvmcc7p-amd64`:
```
yum clean all && yum update
```
Email `linux-announce@cern.ch` with updated packages information:
```
/mnt/data2/home/build/bin/bsmailusers -d cc7 -r updates -e -s -w
```
## Update web pages
@@ -139,3 +145,9 @@ Sync web page to production site [linux.web.cern.ch/linux](https://linux.web.cer
```
Double check the rendering looks fine
## Send Email
To email `linux-announce@cern.ch` with updated packages information:
```
/mnt/data2/home/build/bin/bsmailusers -d cc7 -r updates -e -s -w
```
Loading