[PATCH] ci: README: Mention necessary step for cirrus to pick up the github project

Peter Krempa posted 1 patch 3 years ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/71078b343816e16fb605b7cff66b04b44c71f7e4.1617795427.git.pkrempa@redhat.com
ci/README.rst | 6 ++++++
1 file changed, 6 insertions(+)
[PATCH] ci: README: Mention necessary step for cirrus to pick up the github project
Posted by Peter Krempa 3 years ago
Unless you create such an commit, cirrus-ci.com will not pick up the
github project and cirrus-run will fail.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 ci/README.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ci/README.rst b/ci/README.rst
index 033db1c847..2a7d767227 100644
--- a/ci/README.rst
+++ b/ci/README.rst
@@ -34,6 +34,12 @@ builds to happen when you push to your GitLab repository, you need to

 * grab an API token from the `Cirrus CI settings`_ page;

+* it may be necessary to push an empty ``.cirrus.yml`` file to your github fork
+  for Cirrus CI to properly recognize the project. You can check whether
+  Cirrus CI knows about your project by navigating to:
+
+  ``https://cirrus-ci.com/yourusername/libvirt``
+
 * in the *CI/CD / Variables* section of the settings page for your GitLab
   repository, create two new variables:

-- 
2.30.2