Skip to content
Snippets Groups Projects

Update webpage references

Merged Daniel Juarez Gonzalez requested to merge update_webpage_reference into master
2 files
+ 8
34
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 4
17
@@ -105,7 +105,8 @@ yum clean --enablerepo=cern-testing,updates-testing all && yum update --enablere
@@ -105,7 +105,8 @@ yum clean --enablerepo=cern-testing,updates-testing all && yum update --enablere
```
```
Note: if you are testing a SIG package (cloud, virt, etc) then you will need to "--enablerepo=cloud-testing*" or similar
Note: if you are testing a SIG package (cloud, virt, etc) then you will need to "--enablerepo=cloud-testing*" or similar
Send an email to `linux-announce-test@cern.ch` with updated packages information:
Send an email to `linux-announce-test@cern.ch` with updated packages information. This will as well add the updates to <https://linux.web.cern.ch/updates/cc7/test/latest_updates/>:
 
```
```
/mnt/data2/home/build/bin/bsmailusers -d cc7 -r testing -e -s -w
/mnt/data2/home/build/bin/bsmailusers -d cc7 -r testing -e -s -w
```
```
@@ -165,28 +166,14 @@ yum clean all && yum update
@@ -165,28 +166,14 @@ yum clean all && yum update
## Update web pages & send email
## Update web pages & send email
To successfully update the web page, we need to first generate the html files which is actually done via the bsmailusers script. As we don't necessarily want to send the email before the www root has been updated, the below process should be followed:
The below process should be followed:
run
run
```
```
/mnt/data2/home/build/bin/bsmailusers -d cc7 -r updates -e -s -w
/mnt/data2/home/build/bin/bsmailusers -d cc7 -r updates -e -s -w
```
```
Update the subject line and copy this subject to a temporary location. Save the file and exit the editor, but do NOT send the email yet (the script will ask you if you wish to send)
Confirm 'yes' to send to send the mail. This will also [push an update automatically](https://gitlab.cern.ch/linuxsupport/websites/linux.cern.ch) that will end up showing on on <https://linux.web.cern.ch/updates/cc7/prod/latest_updates/>
Update the web pages, new table blocks can be copied from the previous week.
Use the subject line that you copied previously as a title. Dates need to be updated. (this need better automation overall).
```
vim /afs/cern.ch/project/linux/wwwtest/freshnews.shtml
```
Sync web page to production site [linux.web.cern.ch/linux](https://linux.web.cern.ch/linux/):
```
/afs/cern.ch/project/linux/adm/bin/wwwtest2prod
```
Double check the rendering looks fine
Finally go back to your terminal that is still running the bsmailusers process and confirm 'yes' to send to send the mail.
## 'Minor' (7.x -> 7.x+1) version release process.
## 'Minor' (7.x -> 7.x+1) version release process.
Loading