[JIRA] (JENKINS-57201) [Evergreen-backend] Expose a publicly accessible endpoint for the current last updateLevel

3 views
Skip to first unread message

bmathus+ossjira@cloudbees.com (JIRA)

unread,
Apr 26, 2019, 5:51:01 PM4/26/19
to jenkinsc...@googlegroups.com
Baptiste Mathus commented on Story JENKINS-57201
 
Re: [Evergreen-backend] Expose a publicly accessible endpoint for the current last updateLevel

R. Tyler Croy assigned this to you, after a discussion (yeah, soooo long ago :|).

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

bmathus+ossjira@cloudbees.com (JIRA)

unread,
Apr 26, 2019, 5:51:02 PM4/26/19
to jenkinsc...@googlegroups.com
Baptiste Mathus updated an issue
 
Jenkins / Story JENKINS-57201
Change By: Baptiste Mathus
Summary:
[Evergreen-backend] Expose a publicly accessible endpoint for the current   last updateLevel

bmathus+ossjira@cloudbees.com (JIRA)

unread,
Apr 26, 2019, 5:51:02 PM4/26/19
to jenkinsc...@googlegroups.com

bmathus+ossjira@cloudbees.com (JIRA)

unread,
May 17, 2019, 7:54:01 AM5/17/19
to jenkinsc...@googlegroups.com

bmathus+ossjira@cloudbees.com (JIRA)

unread,
May 17, 2019, 7:55:02 AM5/17/19
to jenkinsc...@googlegroups.com
Baptiste Mathus updated an issue
Change By: Baptiste Mathus
h3. Problem statement

To enable So an instance can itself detect it's not able to update, it would need to know it's not on latest. And endpoint to easily do that from the Evergreen Jenkins plugin, and then surface an Admin Monitor alert, would be good.

h3. Expected

The backend should expose a publicly accessible endpoint returning the current updateLevel.
(Possibly, this would include the channel for it given also it's easy to retrieve from the disk of the instance, and is next to the current updateLevel).

(This would allow the Evergreen Jenkins plugin to consume this easily and display a warning using for example an AdministrativeMonitor to inform users that their instance has the automated upgrade system broken in some way.)

h3. Technical asides

{noformat}
$ docker exec -ti evergreen cat data/updates.json | jq -r .meta.channel
general
$ docker exec -ti evergreen cat data/updates.json | jq -r .meta.level
188
{noformat}
Reply all
Reply to author
Forward
0 new messages