aws / s2n-tls

An implementation of the TLS/SSL protocols
https://aws.github.io/s2n-tls/usage-guide/
Apache License 2.0
4.47k stars 699 forks source link

Migrate CI to Ubuntu 24 #4537

Open goatgoose opened 2 months ago

goatgoose commented 2 months ago

Problem:

Currently, the vast majority of the Codebuild CI jobs use a Ubuntu 18 image: https://github.com/aws/s2n-tls/blob/1ed5624c24c80b5ef93f93a72ee93b503ddd6eba/codebuild/spec/buildspec_generalbatch.yml#L22

This includes many of the unit test jobs that test combinations of compilers and libcryptos, and the integration test jobs.

In addition to adding a simple unit test job to Ubuntu 24 (https://github.com/aws/s2n-tls/issues/4529), all of the existing unit test combinations and the integration tests should be moved to Ubuntu 24. This will allow newer compiler versions to be more easily tested.

Solution:

Migrate the ubuntu 18 CI image to Ubuntu 24.

dougch commented 2 months ago

As with Arm/nix, tools like sslyze won't be simple to bring forward. Unit test runs should be trivial to get running with minor updates to the install_ubuntu_deps script.