From 435b0ee8962e933600145e1ffaef10353ee33f31 Mon Sep 17 00:00:00 2001 From: Jake Hunsaker Date: Tue, 20 Jul 2021 14:26:04 -0400 Subject: [build,tests] Include .po files for manual builds, add cirrus test First, adds a MANIFEST.in file for distutils to reference, so that we can easily ensure that the .po files are included in any manual build from the git checkout. Second, add a cirrus task to ensure that basic rpm builds from the git checkout can be done by the user. Signed-off-by: Jake Hunsaker --- .cirrus.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index f1249aab..94f244be 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -70,6 +70,20 @@ py_break_task: setup_script: pip install -r requirements.txt main_script: ./bin/sos report --batch +# Make sure a user can manually build an rpm from the checkout +rpm_build_task: + alias: "rpm_build" + name: "RPM Build From Checkout" + container: + image: "fedora" + setup_script: dnf -y install rpm-build rpmdevtools gettext python3-devel + main_script: | + rpmdev-setuptree + python3 setup.py sdist + cp dist/sos*.tar.gz ~/rpmbuild/SOURCES + rpmbuild -bs sos.spec + rpmbuild -bb sos.spec + # Run the stage one (no mocking) tests across all distros on GCP report_stageone_task: alias: "stageone_report" -- cgit