summaryrefslogtreecommitdiffstats
path: root/jjb/pharos
AgeCommit message (Collapse)AuthorFilesLines
2019-07-10add views for remaining jenkins subprojectsDaniel Pono Takamori1-0/+6
forgot beginning a yaml and a duplication definition add apex and sfc back in sectioned-views plugin not supported by jjb so removed custom views created in prod jenkins responded to cedric's request to remove moon and netready remove views for deprecated jobs Issue: RELENG-1831 Change-Id: I39ef0aabcf8ef4f3b3a378bb242ce0a7119acc85 Signed-off-by: Daniel Takamori <dtakamori@contractor.linuxfoundation.org>
2019-01-28Add Pharos Tools Tox VerificationTrevor Bramwell1-1/+20
This runs `tox` against any changes to the dashboard in the pharos-tools repository. Change-Id: Ia58e20973f38dda350eb5ff4e89746f97b829560 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-11-02Merge "Deploy Pharos Dashboard on changes to compose file"Trevor Bramwell1-4/+1
2018-11-01Deploy Pharos Dashboard on changes to compose fileTrevor Bramwell1-4/+1
Instead of deploying the dashboard when changes to any file happens, only changes to the docker-compose.yml file should trigger a deploy. The deployment process would then be as follows: - Tag pharos-tools - Create a patch to set the tag in 'docker-compose.yml' - Merge the patch - New version of dashboard deployed at specific tag Change-Id: I67a6237f00b96021df24e7a79a063d31f43df5a6 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-11-01Fix Pharos Dashboard JIRA LoginsTrevor Bramwell1-4/+6
If the dashboard is built locally, the keys get copied to the right place, but as the dashboard images are now pulled and built remotely, the JIRA keys need to be copied into the running web container. Change-Id: Ia5edb4f994465ab2626973b8a36add9bc80a0d9d Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-10-22Update Pharos Dashboard JobsTrevor Bramwell4-77/+99
Moves the pharos dashboard jobs to their own file sperate and deploys the dashboard when changes are merged to master. Note: this may need to be manually triggered due to the timing between the container being built and it being availble to be pulled. Also includes the following changes to the job: - Uploads backups to Google Storage - Remove sudo usage as docker can be ran as the Jenkins user - Renames jobs to match general naming scheme JIRA: PHAROS-394 Change-Id: I516c4414d7b0158f1f8478214c10f0aa7d176739 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-10-18Remove skip vote from passing jobs.Aric Gardner1-1/+0
I ran all the rtd jobs that were just created all the ones that got a +1 I have removed the skip vote these jobs will vote going forward Change-Id: Ia9a7749f758b96cf1b6a46f00d08a5de7f7d9bbe Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-10-18RTD jobs for all projectsAric Gardner1-0/+13
RTD jobs for all active projects All jobs start as non-voting. All rtd jobs are in their own file to faciliate future bulk changes: jjb/$project/$project-rtd-jobs.yaml All project have rtd pages https://opnfv-$project.readthedocs.io Change-Id: I776e41f968d38f08cb3187f743f69d5d6b697e8e Signed-off-by: Aric Gardner <agardner@linuxfoundation.org> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-16Rename files under jjb from 'yml' to 'yaml'Trevor Bramwell2-0/+0
global-jjb only supports the .yaml file ending for jjb jobs. Instead of waiting for a release we're going to rename the files. Change-Id: Icf3339eacd2320c583333e02250998cf6b1881f7 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-04-04Create Stable Branch Jobs for pharosjenkins-ci1-0/+3
Change-Id: I4d768151505cf5310564fb51c250b87abb2519c8 Signed-off-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-03-03[pharos] Run verify job for utils/*.py changesAlexandru Avadanii1-3/+3
Change-Id: I9ecfb78c715d68bd5dd11f42829c040c9bde6f6b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
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-02-01Turn on voting for check-jinja2agardner1-4/+4
Check jinja voting will keep bad configs out of our currently pristine repo. Also, Alex's schema valiadator is now running. Change-Id: I12f38127b82583ef9cb2cc47ef4cfc5a8d051b87 Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-01-25Merge "Pharos Dashboard: Deploy once config is in place"Trevor Bramwell1-0/+1
2018-01-24Add schema valiadator to jinja checkeragardner1-0/+8
Alex has extended the jinja checker to valiate the schema uses jsonschema Next step is to enable voting on this job. Change-Id: I3c61eb3addbb3d41093ada486bf9d8b191fb2028 Signed-off-by: agardner <agardner@linuxfoundation.org>
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-11Merge "Reduce Basic Job Duplication"Trevor Bramwell1-57/+1
2018-01-10pharos: check-jinja for installer adapter changesAlexandru Avadanii1-0/+2
check-jinja should also run when the installer adapter templates are changed, not only for PDF/IDF files. Change-Id: I3453d8bfe5ef61d30ecc71a01c38e2121c1a09f8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
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-23Move check-jinja2 jenkins job to pharos projectagardner1-0/+85
Securedlab will be going away now that we can encrypt strings (eyaml) we need to check jinja2 PDF templates that will be moving into pharos This adds a jenkins job to check those templates After This change and https://gerrit.opnfv.org/gerrit/#/c/47735/ are merged I can start moving pdf files into the pharos repo Once this is complete I can remove check-jinja2 job from securedlab. Eventually decommissioning the securedlab repo Change-Id: I623b7d8eb78438a8a24307ff0b3a1966c33cd7cf Signed-off-by: agardner <agardner@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-09-07Remove swp filesRyota MIBU1-0/+0
Change-Id: I2c6d5afed15a86a41d6215c94b8560e0a04d0b3e 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.com2-87/+34
JIRA: OCTO-97 Change-Id: I676cc61d6ec665ad323be3ae8641b6a749d5c52a Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2015-06-11Use new version docu-build.shAric Gardner3-40/+24
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>