Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Create tool to detect new and end-of-life distro versions #857

Open
jodh-intel opened this issue Jan 18, 2018 · 0 comments
Open

Create tool to detect new and end-of-life distro versions #857

jodh-intel opened this issue Jan 18, 2018 · 0 comments
Labels

Comments

@jodh-intel
Copy link
Contributor

We use particular releases of Linux distributions for both our CI system and for creating OBS packages for users.

We need a tool that can identify:

  • when new versions of the distros we're using are soon to be released.
  • when an existing release we're using is soon to go EOL (end of life).

The tool is of limited value if it tells us that a new release is available "today" - we need advance warning of an upcoming release.

The tool could either consume RSS feeds, or use some sort of polling (even if it's just looking at particular distros archives to detect new release/pre-release directories).

There is a very simple and elegant solution to the problem, but only for Ubuntu - distro-info:

  • Setup:

    $ sudo apt-get install -y distro-info
    $ date --iso-8601
    2018-01-18
    
  • Number of days until the next Ubuntu release

    $ distro-info --fullname --devel --days=release
    Ubuntu 18.04 LTS "Bionic Beaver" 98
    $ date -d 'today + 98 days' --iso-8601
    2018-04-26
    
  • Number of days until the current LTS release goes EOL

    $ distro-info --fullname --lts --days=eol
    Ubuntu 16.04 LTS "Xenial Xerus" 1189
    $ date -d 'today + 1189 days' --iso-8601
    2021-04-21
    
  • Number of days until the current distro version goes EOL

    $ lsb_release -cs
    artful
    $ distro-info --series=$(lsb_release -cs) --days=eol
    182
    $ date -d 'today + 182 days' --iso-8601
    2018-07-19 
    

I think that we should add a CI check for Ubuntu using distro-info as it's exactly what we need, and consider how best to handle the other distros.

See also:

@jodh-intel jodh-intel added the P2 label Jan 18, 2018
mcastelino pushed a commit to mcastelino/tests that referenced this issue Jan 23, 2019
force flag will be used in the CI scripts to remove the
current golang version and install the correct one.
This is useful on baremetal machines where golang is already
installed and versions differ from the one needed to test kata.

Fixes: clearcontainers#857.

Signed-off-by: Salvador Fuentes <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant