summaryrefslogtreecommitdiffstats
path: root/jjb/releng-macros.yaml
AgeCommit message (Collapse)AuthorFilesLines
2016-04-20Indent Flake8 violations and include countTrevor Bramwell1-2/+8
Change-Id: Ic5e3fa73c144c2787f697dd5326426a2ff8936b6 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-04-13Update Releng Python LintingTrevor Bramwell1-2/+5
- Ignore linting the virtualenv - Fix quoting of the lint log Change-Id: I90bb81b383e21b912bd811587224c2367f3ae8a9 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-04-12Add Python Linting JobTrevor Bramwell1-0/+44
Triggers a flake8 run against any python code in the repo. JIRA: RELENG-81 Change-Id: Ia57d640b5aacdc4f99620ffa3ee345f208b426ea Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-04-05Fix artifacts-api dependencies and PATHTrevor Bramwell1-3/+3
- Include '/usr/local/bin' in PATH so gsutil can be used - Ensure the virtualenv uses python2.7 so SSL warnings go away - Remove 'easy_install' call as pip is already available in the virtualenv Change-Id: I2b6f6a8bc284c580cc71ec0f02ebd88baf2de462 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-04-05Fix path to opnfv-artifacts scriptTrevor Bramwell1-1/+1
Change-Id: I916363fac39cf314afe43333f7081a0a6adff1f4 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-03-09Create Releng Job for Generating Artifact JSON APITrevor Bramwell1-0/+22
'opnfv.org/artifacts' uses the index.json file generated by the opnfv-artifacts.py script to list artifacts generated by other OPNFV builds. This adds a Jenkins 'cronjob' for generating and uploading a JSON file to Google Storage containing links to the artifacts and their metadata. Change-Id: I3c40391b40e1e536d4c27e27d5621bf4bc4c00a3 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-02-05Need to have reviews under /$PROJECT/$review_numberAric Gardner1-1/+8
If all the reviews are just review/$review_number I dont have sufficent information to search reviews per project this is needed for the new search tool If this change is merged I will need to delete everything under /review/ this will lose current review artifacts, but allow future ones to be searchable in the upcomming interface Please comment if you can think of a better way to do this. note: at some past point reviews were in their project folder. Change-Id: I0778ca92a0a0922c6e5f2749edd0c9f6a2dcc591 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-01-13joid: Add scenario selector for different sdn controllers + default releng ↵David Blaisonneau1-0/+10
triggers Change-Id: I21854444d997bba876e711433c1b2132cde61c7c Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
2016-01-08add xtrace option to docs related scriptsRyota MIBU1-5/+17
Change-Id: Icdc5bd23e9a6603dac70736ff8f7cce1fd15ab3e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-01-07fix document upload script to use new dir nameRyota MIBU1-2/+2
Change-Id: I96b1b3646141460f019761ba762fa681b0e175d7 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-01-07fix build directory for OPNFV docsRyota MIBU1-2/+2
Apex has own 'build' directory which is not for docs and contains valid files. This patch fix build dir name from 'build' to 'docs_build' to avoid the conflict. 'output' dir name is also changed to 'docs_output'. Change-Id: I0eb047bfb9c8b85016ce82844915e60538e4d2a8 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-01-05Enable generation of composite docs for opnfvdocsFatih Degirmenci1-5/+5
Please note that the upload of documents to artifacts.opnfv.org has not been enabled yet in order to get feedback for the patch first. Once the patch is reviewed, uploading generated docs to artifacts.opnfv.org can be enabled. Another thing is that this could essentially be done in existing opnfv-docs jobs. But in order not to break doc stuff totally, it's kept separate for the timebeing. Depending on the review, we can either - move this functionality to releng-macros.yml and jobs in opnfv-docs.yml or - keep it separate as it is and exclude opnfvdocs from the pattern in opnfv-docs.yml jobs. JIRA: RELENG-38 Change-Id: I452547921ef56960330bcd9ba28159108a33c860 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-01-04Enable brahmaputra branch for doc verify and merge jobsFatih Degirmenci1-9/+4
This change also adjusts GS_BASE parameter in releng-macros.yml and uses GS_BASE in docs-merge job. ONOS builders are also adjusted. Change-Id: Ic9f28a3a7e283cba6736e96f8f7e18c859099e6c Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-12-22create onosfw CI jobsmeimei1-0/+8
JIRA: ONOSFW-151 Change-Id: I0d7f1f77733cdda5d1b6c429d84de7eaa4a7a759 Signed-off-by: meimei <meimei@huawei.com>
2015-12-01jjb: fix output path in docs uploaderRyota MIBU1-6/+8
Change-Id: I52735adbce48734f103ac76c2b4f5c5c77427c58 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-30update builder script and how-to-use-docsRyota MIBU1-65/+1
Change-Id: Ia65ebe61c174dc4129d32148d71505c2a2caf480 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-27jjb; fix doc builder to accept `'` in titleRyota MIBU1-1/+1
Change-Id: I4930a3acfecde4deaa2b5db0d8a64df365c1f8c0 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-27jjb: fix doc build to support old sample formatRyota MIBU1-5/+12
JIRA: RELENG-16 Change-Id: I4a3aea9e638c29fdcc44fc08304c5680d9a8aa45 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-27jjb: make doc builder to use conf and logo in releng repoRyota MIBU1-2/+5
Change-Id: I18d7c34101d8eced9041918c768499dd929b0a8a Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-26 jjb: fix dirs to upload gs in doc builder jobsRyota MIBU1-9/+15
Change-Id: I0a1e899179ad0ab5b5b662bee6214487e84e1fe7 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-26jjb: fix src dir to upload gs in doc builder jobsRyota MIBU1-2/+2
Change-Id: Ibdabd8d1fac2918b6871849b5f31a9f41dad7f47 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-26jjb: fix doc build to support multiple depth of dirsRyota MIBU1-0/+1
JIRA: RELENG-16 Change-Id: I86293f9b79c083f286f9036a3137465513e92d17 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-26jjb: fix default file path of conf.pyRyota MIBU1-1/+1
JIRA: RELENG-16 Change-Id: I25160481d8da6043858785c541d44dc1f38906f0 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-26doc: fix rst and jjb to have consistent view in html and pdfRyota MIBU1-30/+74
JIRA: RELENG-16 Change-Id: I6e36f16be6e1c9160820d137a78ac1e7674153f0 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-24doc build: skip pdf creation temporarilyRyota MIBU1-3/+3
Change-Id: Ic48ba23e399f3193c356ea9f334928d788149db5 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-24doc build: fix gs path in removal of old docsRyota MIBU1-1/+1
Change-Id: Iecee8497472e38feb1f9cc11959ac34d0deadee1 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-24fix document build (ssh command)Ryota MIBU1-2/+2
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com> Change-Id: I137c706faacca7dcee51f3da889c06653edbd6ce
2015-11-23fix document build (ssh gerrit-review cmd)Ryota MIBU1-5/+5
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com> Change-Id: I3d3c4cdd1031514526382c83178a3a2f3e1b471d
2015-11-23fix document build (link list)Ryota MIBU1-2/+8
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com> Change-Id: Ic1ce4170fb748345b0371d02f97969be73e60d85
2015-11-23fix document build (remove doubled "")Ryota MIBU1-7/+5
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com> Change-Id: Ib9aa0f938dd9c9aafdb3ceaf972069881bf5e89e
2015-11-23fix document build (sphinx-build option)Ryota MIBU1-1/+1
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com> Change-Id: I2f8ffd4ec7243eee3e401bd7d2c2b2e4811de7d2
2015-11-23change document publisher to builder temporarilyRyota MIBU1-6/+12
Change-Id: I74728be60bcbcbe41d587091ec9b259af3d3e839 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-23use gsutil m option to improve performanceRyota MIBU1-13/+11
Change-Id: Ic76d5f0817208e923c60e8e24e531d5a761470f4 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-23make the doc builder to pass project param for pdf filenameRyota MIBU1-1/+1
Change-Id: I5d0cf0976c5683888e32cff3e0a456b5861c76d6 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-23fix bad substitution in document build scriptRyota MIBU1-4/+4
Change-Id: I320d0e867c21acafffead6611a0a55397d51c0b1 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-23fix document builder error (missing done for 'for')Ryota MIBU1-0/+1
Change-Id: I14482c5a7fd2190e4d55e1ccf64b0f0a307d139e Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-20Add new jjb macros instead of docu-build-new.shRyota MIBU1-0/+129
This patch adds new jjb macros equivalent to docu-build-new.sh which is not bash script and includes the both functions of builder and publisher in the single file. Change-Id: Ie078e1d62d56e593e634f7e9633386ba90bf45de Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-02-18Replace url with variable (from hardcoded)Aric Gardner1-1/+1
Change-Id: Id8b1d856af1d960ecbba9904ade305e9a6192629 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2015-02-18Fix $GIT_BASEAric Gardner1-1/+1
Change-Id: I317b21f9c5fb8f892e859f381b1ca053267711cf Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2015-02-18Inital commit for jenkins job builderAric Gardner1-0/+145
Change-Id: I8c50158e55a6ddb46fd1f74dbc81e668402e089f Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>