StackStorm / st2-packages

StackStorm deb/rpm packages (automated docker build pipeline)
https://stackstorm.com/
27 stars 59 forks source link

Add Ubuntu 20.04 (focal) support #700

Closed nzlosh closed 3 years ago

nzlosh commented 3 years ago

This PR is part of https://github.com/StackStorm/discussions/issues/68. The packages for focal appear to be building correctly now.

nzlosh commented 3 years ago

The tests are failing because the focal packagingbuild image isn't updated with the upstream fix using the python3.8-venv debian package.

arm4b commented 3 years ago

The updated Docker image should be ready now per https://hub.docker.com/r/stackstorm/packagingbuild/tags?page=1&ordering=last_updated Committing the review changes should help to re-trigger the build next.

arm4b commented 3 years ago

FYI this should be installable now from the staging-unstable packages with the following one-liner command:

bash <(curl -sSL https://stackstorm.com/packages/install.sh) --user=st2admin --password=Ch@ngeMe --staging --unstable
arm4b commented 3 years ago

Which is currently failing on MongoDB.

Looks like we need to ensure we're installing Mongo 4.4 for U20 here:

20210511T210627+0000 Warning: apt-key output should not be parsed (stdout is not a terminal)
20210511T210628+0000 OK
20210511T210628+0000 deb http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.0 multiverse
20210511T210628+0000 Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
20210511T210629+0000 Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
20210511T210629+0000 Hit:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease
20210511T210629+0000 Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
20210511T210629+0000 Ign:5 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.0 InRelease
20210511T210629+0000 Err:6 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.0 Release
20210511T210629+0000   404  Not Found [IP: 52.85.104.74 80]
20210511T210630+0000 Reading package lists...
20210511T210630+0000 E: The repository 'http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.0 Release' does not have a Release file.
20210511T210630+0000 ############### ERROR ###############
20210511T210630+0000 # Failed on Install st2 dependencies (MongoDB) #
20210511T210630+0000 #####################################
nzlosh commented 3 years ago

PR for focal mongo 4.4 fix https://github.com/StackStorm/st2-packages/pull/702