summaryrefslogtreecommitdiffstats
path: root/jjb/releng-macros.yaml
AgeCommit message (Collapse)AuthorFilesLines
2016-09-20Remove Unused Releng MacrosTrevor Bramwell1-65/+0
Some of these macros have existed since the releng repo creation date. All of them are currently unused and can be safely removed. Change-Id: Ifc2c1762bc999b48b06cf82c55a53c3ad7430a21 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-09-06Fix issue of not setting metadata correctly for generated docsFatih Degirmenci1-12/+8
Removed if clause does not return any html file, causing setmeta to not run which in turn causes people to see cached versions of the generated documents instead of the latest generated documents. This is a quick fix in order to unblock Brady. Change-Id: Id692781ee8713007b5987bf2bf48a6880978a977 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-09-01Increase the git clone timeout to 15 minutesFatih Degirmenci1-0/+1
Change-Id: Iac19f79f36fcbb7bbc27d7f6adf6085cb0ec449c Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-11Use GS_BASE_PROXY URL to downloadJulien1-1/+1
For artifcats.opnfv.org is actually domain googleusercontent.com, and the website is blocked randomly. For labs in area where google.com/googleuserconent.com can not be accessed, use the proxy website. Update proxy wrong URL from build.opnfv.org/artifacts/$PROJECT to build.opnfv.org/artifacts.opnfv.org/$PROJECT Change-Id: Iabdbe18937197c79a7d0e31cb0f31f2805a3f35b Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2016-07-26Pin Flake8 to 2.6.2 for python lintingTrevor Bramwell1-1/+1
A new version of flake8 recently came out that dropped support for python 2.6 and introduced regressions. Change-Id: I6b91d6feced4d24f71897b66dfb9faeae64ad611 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-07-25clean opnfv/opnfv-docs.ymlRyota MIBU1-0/+5
- make 'opnfv-docs-*' jobs run against all repositories which has docs directory. - remove docs builder from yardstick-project-jobs JIRA: RELENG-133 Change-Id: Id0cf6e600ed112c6f082f6bc924eaeccb0481e49 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-07-21Enable Flake8 Checks on QTIPTrevor Bramwell1-0/+2
Add '.tox' to list of directories to ignore since it contains unrelated python code in virtualenvs. JIRA: QTIP-89 Change-Id: I577c4ea61fe6b76f7f67ec7c9d4af544d0f73f71 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-07-14Merge "fixes for docs-build.sh migration"Aric Gardner1-2/+2
2016-07-11Merge "Enable Verification Results on Flake8 Reports"Ryota Mibu1-3/+10
2016-07-08Enable Verification Results on Flake8 ReportsTrevor Bramwell1-3/+10
Flake8 violations will now fail verification. If no errors are found, nothing will be reported to Gerrit. Change-Id: Icf99a025d4409db69bd6afdb82292d223260f3ab Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-07-07sandbox: Create daily and weekly jobsFatih Degirmenci1-0/+5
Change-Id: I366332922a91b1e957ba104fe8d5cee07398787d Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-07-07fixes for docs-build.sh migrationRyota MIBU1-2/+2
JIRA: RELENG-130 See also https://gerrit.opnfv.org/gerrit/16515 . Change-Id: I365ecc4efd6f361f76ec527b4b43fae643f8478b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-05-26compass: Switch using labels instead of slavesFatih Degirmenci1-5/+0
This change switches compass jobs to use labels instead of tying jobs to slaves. The changes in detail are: - Compass jobs can roam on any pod that is labelled with compass-baremetal and compass-virtual. - Above means that there is no branch/pod allocation anymore. - New jobs are created in order to get rid of pod names from them and just use baremetal or virtual in names. - Old jobs are removed. - Related test jobs are updated. - huawei-virtual label is renamed to compass-virtual since we still have installer specific slaves, not company specific. In future the job might end up on a none-Huawei slave too. - huawei-pod2 is not a CI POD so it is left in none-CI PODs section. - block relations and triggers might require fine tuning and left to compass project to decide how to adjust Job structure remains same; one parent job calling 3 downstream jobs: deploy, functest, yardstick. The OS to deploy (trusty or centos7) needs to be solved in a separate patch in a sustainable way. Change-Id: I22bfaff36640667b6764f0e303a3286af0eb41b2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-25fuel: Switch using labels instead of slavesFatih Degirmenci1-0/+5
This change switches fuel jobs to use labels instead of tying jobs to slaves. The possibilities and changes introduced with this approach are - If things do not work as expected, slave-label parameter can be set to certain slave name to get back to old way of tying jobs to slaves. - If a scenario requires a different slave, it can still be created using baremetal or virtual but the label can be different, pointing to a slave that is capable of running that scenario. (fuel-baremetal-multisite, etc.) - The auto-trigger-name for brahmaputra is moved under the branch anchor and can be used like this if triggers for all all the jobs for a certain branch need not to be triggered automatically but job is still kept enabled in case if some crucial bug needs to be tested. - No of max concurrent builds stepped to 4 in order to use all the labelled slaves available. This will require some adjustments before colorado jobs start to run in order to share resources between branches fairly. - All the fuel CI PODs except lf-pod1 have been removed. Change-Id: I91eca6743bb3d34263e634f9b74550efa1e2ddbe Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-16Disable CI Email Notifications for Gerrit ReviewsTrevor Bramwell1-2/+4
Change-Id: Ic5bfb547902dafc9243f0a5d4550f1f9b6085221 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-04-22Include count of shown flake8 violationsTrevor Bramwell1-8/+17
Hopefully this reduces the confusion around how many flake8 violations are actually present. Change-Id: If3246627fdd18aca0a968cea0d8387038dfe7c12 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
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>