aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.cirrus.yml14
-rw-r--r--MANIFEST.in1
2 files changed, 15 insertions, 0 deletions
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"
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 00000000..75ce7feb
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1 @@
+include po/*.po