Project

General

Profile

Actions

communication #128699

closed

a new cron job for relsync@pinot-o-o

Added by lkocman about 2 years ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2023-05-04
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by lkocman about 2 years ago

Could we please add and to cc?

Actions #2

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/

Actions #3

Updated by lkocman about 2 years ago

Actions #4

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.

Actions #6

Updated by cboltz about 2 years ago

  • Assignee deleted (lkocman)

lkocman wrote:

Could we please add and 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)

Actions #7

Updated by cboltz about 2 years ago

  • Assignee set to lkocman
Actions #8

Updated by crameleon over 1 year ago

What's the status, @lkocman ?

Actions #9

Updated by crameleon 10 months ago

  • Status changed from New to Resolved
  • Assignee changed from lkocman to crameleon
  • Private changed from Yes to No
Actions

Also available in: Atom PDF