summaryrefslogtreecommitdiffstats
path: root/jjb/pharos/pharos.yml
AgeCommit message (Collapse)AuthorFilesLines
2018-02-21Update Pharos Dashboard Deploy Job and DisableTrevor Bramwell1-2/+14
Copying the keys required for talking to JIRA and disabling the job until chages can be tested to ensure a deploy runs successfully. Change-Id: Ib3602338cfe06d5507f5d3f5b853906feb39f4c5 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-25Merge "Pharos Dashboard: Deploy once config is in place"Trevor Bramwell1-0/+1
2018-01-23Merge "Disable Interactivity for and enable Pharos Backup"Trevor Bramwell1-1/+3
2018-01-17Pharos Dashboard: Deploy once config is in placeTrevor Bramwell1-0/+1
Since configuration has shifted out of the docker-compose.yml file and the workspace gets recreated ever job, the config.env file needs to be copied into place before each deployment. JIRA: PHAROS-316 Change-Id: I8c80f1148ad268428defa2f7eb1877d821a11491 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-16Create job to deploy Pharos DashboardTrevor Bramwell1-0/+35
Runs docker-compose build & up to recreate containers when code changes, and redeploys the dashboard. JIRA: PHAROS-316 Change-Id: Ie83ae775c55aa9e18069b9988bfd771b5655c14b Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-12Disable Interactivity for and enable Pharos BackupTrevor Bramwell1-1/+3
When running docker commands from an interactive shell the '-it' flags are needed. Since the backup isn't running any interactive command, these flags aren't needed and failing the job due to a tty not being allocated to the Jenkins user. Change-Id: I9bd81faaf548b3247ee1992f6db9c0258ebfc1fb Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-12Update Pharos Backup JobTrevor Bramwell1-14/+9
Moves the backup location to a directory that Jenkins can write to, and since this only runs a docker container there is no need to clone any repositories. Change-Id: I05b35e5d2d95c7044973d9d0e1a9d7e72c490570 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-10Reduce Basic Job DuplicationTrevor Bramwell1-57/+1
In the initial formation of projects we found it easy to copy job definitions to provide project a baseline job config to work off. This has led to a lot of duplication and misalignment with the gerrit triggers and default build server tag to be used. Collapsing these jobs into a job-group containing the stream and a verify job per-stream, should help reduce this duplication. Change-Id: Icb366487590a145be4cbfc0637a8d86a6d9b7cec Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-12-05Backup Pharos Dashboard DataTrevor Bramwell1-0/+33
Use an alpine container to mount the pharos_data volume and create a backup in the home directory on the system. Change-Id: If6700a8c4cd19a6c4b854efc54225d8f6b973aaa Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-11-01Add basic job for verifying pharos-tools repoTrevor Bramwell1-3/+5
Change-Id: I5c5ecddc87e99f2b9e27e53381434d9f55d5e639 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-18Create jobs for euphratesFatih Degirmenci1-1/+1
Change-Id: I700eb3c113889cb70b3df7a8cfa4faf5e37ffce5 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-12Fix Yamllint Violations for jjb/pharosTrevor Bramwell1-38/+39
JIRA: RELENG-254 Change-Id: I52fb864bf84bff75a0f5cf9bae522602be2c2d49 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-03-15jjb: Set disable-strict-forbidden-file-verification to 'true'Markos Chandras1-0/+1
Previously, if an upstream patchset contained a change for a file listed in 'forbidden-file-paths' the job would not be triggered. This is not desirable since such a patchset may contain important changes so we enable the 'disable-strict-forbidden-file-verification' option which triggers the job unless the patchset only contains changes for the files listed in 'forbidden-file-paths'. Note: The diff was generated using the following script: for i in $(grep -l -r forbidden-file-paths *);do sed -i "s/\(^.*\)forbidden-file-paths/\1disable-strict-forbidden-file-verification: \'true\'\n&/" $i; done Please double check that the changes look sensible for each team's project. Change-Id: Ifa86d3a39b36375b2fd52b449e29c8dc757499b4 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU1-1/+0
GIT_BRANCH parameter is different; master or stable/danube in daily jobs, but 'refs/changes/57/27657/6' in verify jobs. This breaks some job builders triggered by the both types of jobs. We have GERRIT_BRANCH parameter for verify jobs to identify stream and expected branch into the patch will be merged after it got +2 and submitted. To avoid further confusion and to have common job builders for daily and verify jobs, this patch introduce BRANCH parameter. GERRIT_BRANCH is now deprecated. Change-Id: Ibcd42c1cd8a0be0f330878b21d3011f1ec97043b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-09Remove colorado jobs and create danube jobsFatih Degirmenci1-1/+1
Danube stream for the projects with daily jobs is disabled. Danube stream for the projects without daily jobs is left as enabled as there will be no changes coming to danube branch until branch is created. Dovetail, Apex and Fuel jobs have not been updated yet. Change-Id: Ice39826c8f829157fa864370557837290838f634 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-19clean scm defenitionsRyota MIBU1-4/+1
This patch makes sure we use 2 types of scm, and allows us to specify them by adding one line in job-templates. - git-scm # for daily jobs and merge jobs - git-scm-gerrit # for verify jobs [New] Change-Id: Iddc8a5e0e115193c7081a6d6c53da209900e95c8 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-01Restrict Gerrit Triggers to OPNFV Gerrit ServerTrevor Bramwell1-0/+1
With the addition of ODL and OpenStack Gerrit servers, it's important we don't generate additional noise by accidentally building against these Gerrit servers when we don't intend to. JIRA: RELENG-179 Change-Id: Ia163c6c3eaa58e8e21dc6548a839062fcbde39ed Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-08-22Create project jobs for colorado branchFatih Degirmenci1-1/+5
Daily jobs for Colorado branch for installer and test projects have not been created yet and it needs to be done via separate patches. Change-Id: I34517e89dfc502ce5741733e01bf8425d513df02 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-06-15Tie all verify/merge/build to opnfv-build-ubuntuFatih Degirmenci1-1/+1
We reconfigured centos build server now and it is important to know which jobs require centos and which ones ubuntu. The machines with ubuntu were labelled with opnfv-build previously, preventing us from keeping track of which projects require what OS. This tries to solve that. Change-Id: I1fb2912ec49f5bc2781853e500508d9992d59fbb Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-01-07Enable verify and merge jobs for stable/brahmaputra branchFatih Degirmenci1-5/+4
Change-Id: I5f811a0db6c1725e02b3bfd51d8c7c21b12633a2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-12-14Fix branch parameter and change stream name to brahmaputraFatih Degirmenci1-3/+3
Change-Id: I9005cb7cee44873b37fb310e5850d85d887c958d Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-12-11Remove job_defaults from jobsFatih Degirmenci1-9/+2
Change-Id: Id936700af4b842d9a79db9004ed02f5d571ed17a Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-12-11Cleanup jjb filesFatih Degirmenci1-134/+26
- Remove the jobs that do nothing such as merge and daily jobs - Leave only verify jobs for all the projects as placeholders - Introduce stable/brahmaputra branch and keep it disabled Please note that the "real" jobs for bottlenecks, compass4nfv, functest, and qtip are not deleted. Change-Id: I80031f77a11c2bf5173fbb7be98294285e3cc2ef Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-12-07jjb: use default logrotate setting in all projectsRyota MIBU1-6/+0
Many projects have own logrotate definitions copied from the template. This patch make sure all projects to use the default logrotate setting, so that the infra admin can configure the values easily. This patch also fixes the logrotate rule for artifacts to keep them in the same duration as console logs exist. Note, this won't effect the hold time of artifacts in artifact.opnfv.org . Change-Id: I708a675c7e87e5f830ee36009f0c6913c003b2ed Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-12-01jjb: add default logrotate to releng-defaults.yamlRyota MIBU1-22/+0
Change-Id: I373d24be32e154b25d685df47e6d06ad352877c4 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-12-01jjb: move 'node: master' to releng-defaults.yamlRyota MIBU1-6/+0
Change-Id: Ibc3a7466fcc2e030a6538d77e2c4521eb8daa214 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-12-01jjb: move project-style to releng-defaults.yamlRyota MIBU1-5/+0
Change-Id: Iced99bd62a8a246984e67dc28be7d4dca149e22b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-11-30Add dummy job for MAAS PilotFatih Degirmenci1-16/+30
Change-Id: I27525c3b68e53679f5650b637a5d1557961f648d Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-11-27jjb: move ssh wrappers to releng-defaults.yamlRyota MIBU1-12/+0
Change-Id: I8c26ca0e0cc8d5e6a57c9cb05be663f84f2293d2 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2015-07-14create merge jobs for pharos for master and stable/arnoMatthewLi1-4/+4
JIRA: OCTO-86 Change-Id: I43b039297c39699d5fac5c14eab8ac3e988f8121 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2015-06-18Create daily jenkins jobs for pharos for stable/arnochenshuai@huawei.com1-7/+34
JIRA: OCTO-97 Change-Id: I676cc61d6ec665ad323be3ae8641b6a749d5c52a Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2015-06-11Use new version docu-build.shAric Gardner1-1/+1
Update jobs to use new version docu-build.sh, as well as cease using depreciated docu-verify.sh These two are special cases and will be handled in a seperate commit. ./doctor/docu-build.sh ./genesis/docu-build.sh Change-Id: I3e1d7750fce0a1e97e9c1904983e67189e0b8a32 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2015-06-09create verify jobs for pharos for master and stable/arnoMatthewLi1-10/+17
JIRA: OCTO-81 Change-Id: I14dd1415578f9dfa4dbfc1cf0174642e754d3438 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2015-05-04Extend dynamic project variable in docu-build scriptsVictor Laza1-3/+3
JIRA: DOCS-26 - Extend dynamic project variable in docu-build scripts for functest, octopus, genesis & pharos Change-Id: I2bb699e7060754527fae4d7abe5b8fbf46c0a7dd Signed-off-by: Victor Laza <vlaza@cloudbasesolutions.com>
2015-04-23Changed jjb node to 'master' for build-docu jobsVictor Laza1-0/+6
JIRA: Changed jjb node to 'master' for build-docu jobs for projects pharos, functest, opnfvdocs Change-Id: If602249c13a132d5be54d7fec77f25b3b99bfd72 Signed-off-by: Victor Laza <vlaza@cloudbasesolutions.com>
2015-04-20Separate merge and verify script contents to avoid gs uploadVictor Laza1-3/+3
JIRA: DOCS-22 - Separate merge and verify script contents to avoid gs upload Needs to be done under releng jjb for all R1 projects Change-Id: If9b4815e733a6b773f49f0dc3cd6da84618979fd Signed-off-by: Victor Laza <vlaza@cloudbasesolutions.com>
2015-04-20Expanding artifacts management for R1 inside build-docu.shVictor Laza1-20/+0
JIRA: DOCU-20 - Expanding artifacts management for R1 inside build-docu.sh Change-Id: I4e8ac6bce3f6c47aff56e89e8133d2b4e547ff87 Signed-off-by: Victor Laza <vlaza@cloudbasesolutions.com>
2015-04-16Extended the documentation structure to cover docs/release/, requirements/ & ↵Victor Laza1-2/+12
design_docs/ JIRA: Extended the documentation structure to cover docs/release/, requirements/ & design_docs/ in order to have a segregation in documentation scopes for each project; now everything found unders those folders including docs/ will be built and published to artifactory Change-Id: Ic05f194a62df9adca92e6d47550f9e298e554f5b Signed-off-by: Victor Laza <vlaza@cloudbasesolutions.com>
2015-04-15Fix path to gsutil for functest and pharos document uploadFatih Degirmenci1-4/+4
JIRA: 0000 Change-Id: Ib945d05ac9bfdd1028ebb330a3c8ac9a014f6611 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-04-15Configured artifacts publish daily & on merge for projects with documentationVictor Laza1-55/+11
JIRA: DOCS-2 - artifacts publish daily & on merge for the following projects: opnfvdocs, octopus, genesis, functest, pharos Change-Id: Id055d8e955e1c55c6b18a5bdf28d940ef7d53729 Signed-off-by: Victor Laza <vlaza@cloudbasesolutions.com>
2015-04-08Remove pipes, reference: ↵Aric Gardner1-1/+1
http://ci.openstack.org/jenkins-job-builder/configuration.html Change-Id: I24cd077467e28c3192ad76144f0629f7ba777771 JIRA: 0000 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2015-04-08Fix {branch} parameter not foundThanh Ha1-2/+2
JIRA: 0000 Change-Id: I784e48c181bc2c1fda7d52539e8775a253d0b128 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2015-04-08JIRA: DOCU-2 - Adding a job to build pharos documentation from .rst filesVictor Laza1-0/+43
This job will use shell to build documentation for pharos project Change-Id: Ieb251514d555d891a9648e410974675fa894aae0 Signed-off-by: Victor Laza <vlaza@cloudbasesolutions.com>
2015-03-06Add merge and verify jobs for all projects that lack said jobsAric Gardner1-1/+120
Change-Id: Ib85d6e162d2ebb37d0df60738c16d678ebc5326e Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2015-02-18Inital commit for jenkins job builderAric Gardner1-0/+66
Change-Id: I8c50158e55a6ddb46fd1f74dbc81e668402e089f Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>