ceph / teuthology-api

A REST API to execute teuthology commands.
MIT License
2 stars 10 forks source link

Fix CI Integration test and unit test #58

Closed VallariAg closed 3 months ago

VallariAg commented 3 months ago
  1. Fix integration test CI

    In Dockefile, use base image 'ubuntu:jammy' instead of focal.

    Reason: Default python version in focal is python3.8 which is breaking integration CI builds on t-api PRs with: ERROR: Package 'teuthology-1.1.1.dev729-g861a8dcf' requires a different Python: 3.8.10 not in '>=3.10'

    Recently, we upgraded the minimum teuthology version to support python3.10, which could be the reason of the above CI failures.

  2. Fix unit test CI

Use ubuntu-22.04 and python 3.10

Contribution Guidelines

To sign and test your commits, please refer to Contibution guidelines.

Checklist

VallariAg commented 3 months ago

https://github.com/ceph/teuthology/pull/1952 needs to be reviewed and merged before t-api integration test fix (this PR)

Update: teuthology's integration CI test has been fixed, this PR is ready for review now!

VallariAg commented 3 months ago

Thanks for the reviews!