Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57201

[Evergreen-backend] Expose a publicly accessible endpoint for the current last updateLevel

    XMLWordPrintable

Details

    Description

      Problem statement

      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.

      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.)

      Technical asides

      $ 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
      

      Attachments

        Activity

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

          batmat Baptiste Mathus added a comment - rtyler assigned this to you, after a discussion (yeah, soooo long ago :|).

          rtyler in case you missed this. When/if you can do it, would be great. Danke!

          batmat Baptiste Mathus added a comment - rtyler in case you missed this. When/if you can do it, would be great. Danke!

          People

            rtyler R. Tyler Croy
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: