Project

General

Profile

Actions

action #130375

closed

Automatically update jenkins plugins on jenkins.qa.suse.de

Added by okurz over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
-
Start date:
2023-06-05
Due date:
% Done:

0%

Estimated time:

Description

Motivation

I unregularly update plugins on jenkins.qa.suse.de. To ensure regular updates we should look for an automatic approach.

Acceptance criteria

Suggestions

  • Research best practices for automatic update application and apply that

Related issues 1 (0 open1 closed)

Related to openQA Infrastructure (public) - action #158505: Failed systemd services alert for jenkins-plugins-update size:SResolvedokurz2024-03-18

Actions
Actions #1

Updated by okurz over 1 year ago

  • Due date set to 2023-06-19
  • Status changed from New to Feedback
Actions #2

Updated by okurz over 1 year ago

https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/873/ merged. I added roles: jenkins to jenkins.qa.suse.de:/etc/salt/grains

Actions #3

Updated by okurz over 1 year ago

The systemd timer and service is deployed on jenkins.qa.suse.de:

Tue 2023-06-13 03:00:00 CEST 16h left            Mon 2023-06-12 03:00:00 CEST 7h ago            jenkins-plugins-update.timer jenkins-plugins-update.service
# journalctl -u jenkins-plugins-update.service
Jun 10 03:00:00 jenkins systemd[1]: Started Automatically update jenkins plugins..
Jun 10 03:00:05 jenkins systemd[1]: jenkins-plugins-update.service: Main process exited, code=exited, status=1/FAILURE
Jun 10 03:00:05 jenkins systemd[1]: jenkins-plugins-update.service: Failed with result 'exit-code'.
Jun 11 03:00:00 jenkins systemd[1]: Started Automatically update jenkins plugins..
Jun 11 03:00:03 jenkins systemd[1]: jenkins-plugins-update.service: Main process exited, code=exited, status=1/FAILURE
Jun 11 03:00:03 jenkins systemd[1]: jenkins-plugins-update.service: Failed with result 'exit-code'.
-- Boot 1194fe190b0749d28399e2a08afc85f6 --
Jun 12 03:00:00 jenkins systemd[1]: Started Automatically update jenkins plugins..
Jun 12 03:00:02 jenkins systemd[1]: jenkins-plugins-update.service: Main process exited, code=exited, status=1/FAILURE
Jun 12 03:00:02 jenkins systemd[1]: jenkins-plugins-update.service: Failed with result 'exit-code'.

Calling with bash -ex … the ssh port is not properly parsed so added
https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/880

Actions #4

Updated by okurz over 1 year ago

  • Due date deleted (2023-06-19)
  • Status changed from Feedback to Resolved

http://jenkins.qa.suse.de/manage/pluginManager/ is empty as the service automatically applied updates so we are good.

Actions #5

Updated by jbaier_cz 9 months ago

  • Related to action #158505: Failed systemd services alert for jenkins-plugins-update size:S added
Actions

Also available in: Atom PDF