communication #128699
closeda new cron job for relsync@pinot-o-o
0%
Description
Hello team
we've moved hosting of doc-o-o from community to pinot, however it seems that we do not have in place a cronjob that would update release-notes accordingly
cron in old setup:
relsync@community:~> crontab -l
0 */6 * * * test -x /home/relsync/bin/update_release_notes && /home/relsync/bin/update_release_notes
new:
relsync@pinot:~> crontab -l
-bash: /usr/bin/crontab: Permission denied
relsync@pinot:~> systemctl --user list-timers
NEXT LEFT LAST PASSED UNIT ACTIVATES
0 timers listed.
relsync@pinot:~> ls -la /etc/cron.d
total 20
drwxr-xr-x 2 root root 4096 May 7 2022 .
drwxr-xr-x 99 root root 12288 Apr 29 00:01 ..
-rw-r--r-- 1 root root 183 Jun 25 2019 countdown.opensuse.org
I'm also pretty sure that something must have trigered following rsync on the community-o-o (taken from history of relsync@pinot-o-o)
rsync -arz --delete-after /home/relsync/release-notes/ /srv/www/vhosts/doc.opensuse.org/release-notes/
Otherwise the update script above would only pull changes to the /home/relsync, while we need these changes also in /srv/www
Updated by lkocman about 2 years ago
Could we please add fs@suse.com and lukas.kucharczyk@suse.com to cc?
Updated by lkocman about 2 years ago
- Assignee set to lkocman
0 */6 * * * /home/relsync/bin/update_release_notes && rsync -arz --delete-after /home/relsync/release-notes/ /srv/www/vhosts/doc.opensuse.org/release-notes/
Updated by lkocman about 2 years ago
gitlab@gitlab.infra.opensuse.org:infra/salt.git
Updated by lkocman about 2 years ago
Agreement was to link the etc/*/releasenotes file to git, use automatic checkout, so the initial setup of new release notes is a matter of github PR.
Updated by cboltz about 2 years ago
- Assignee deleted (
lkocman)
lkocman wrote:
Could we please add fs@suse.com and lukas.kucharczyk@suse.com to cc?
Done.
FYI: You can do this at the bottom of the right column ("watchers" or something like that - I have the german version)