From 1ed98c117fe7186291ee482a830c3c61dd1f2b73 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Aug 08 2016 17:30:39 +0000 Subject: Adjust a little the README.rst about pagure-ci --- diff --git a/pagure-ci/README.rst b/pagure-ci/README.rst index 9c88d0a..a6d51b6 100644 --- a/pagure-ci/README.rst +++ b/pagure-ci/README.rst @@ -2,21 +2,13 @@ Pagure CI ========= This is to setup Pagure CI for development. It is assumed that all the -dependencies are resolved. It is advised to use a virtual envivironment -for development. +dependencies are resolved. * Run:: - python setup.py develop + PAGURE_CONFIG=/path/to/config python pagure-ci/pagure_ci_server.py -Now in pagureCI/consumer.py add the following elements in `topic` list - -:: - - 'org.fedoraproject.dev.pagure.pull-request.new', - 'org.fedoraproject.dev.pagure.pull-request.comment.added', - Configuring Jenkins =================== @@ -52,12 +44,12 @@ after you login to your Jenkins Instance. :: - FORMAT: JSON - PROTOCOL: HTTP - EVENT: Job Finalized - URL: - TIMEOUT: 3000 - LOG: 1 + FORMAT: JSON + PROTOCOL: HTTP + EVENT: Job Finalized + URL: + TIMEOUT: 3000 + LOG: 1 * Tick the build is parameterized @@ -94,25 +86,4 @@ Example Script information. Which on submiting should give you a POST url. * Copy and paste the URL in the Notification section under the Jenkins project - you want the CI to work, - - -Get It Running: -=============== - -In one terminal window run: - -:: - - fedmsg-relay - -Another window: - -:: - - fedmsg-hub - -* Now clone the project locally and make a branch. make some changes and push it - to the repo and try to make a PR. You will notice if everything works fine a lot - of logs in the server console and `build fail` flag on the PR. - Build fail because there is no git server running. + you want the CI to work.