summaryrefslogtreecommitdiffstats
path: root/jjb/genesis
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/genesis')
-rw-r--r--jjb/genesis/docu-build.sh49
-rw-r--r--jjb/genesis/genesis-docs.yml135
2 files changed, 0 insertions, 184 deletions
diff --git a/jjb/genesis/docu-build.sh b/jjb/genesis/docu-build.sh
deleted file mode 100644
index 52e380663..000000000
--- a/jjb/genesis/docu-build.sh
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/bash
-set -e
-set -o pipefail
-
-export PATH=$PATH:/usr/local/bin/
-
-echo
-echo "Build"
-echo "-----"
-echo
-
-#make
-
-echo
-echo "Upload"
-echo "------"
-echo
-
-echo "document generation disabled"
-
-## NOTE: make sure source parameters for GS paths are not empty.
-#[[ $GERRIT_CHANGE_NUMBER =~ .+ ]]
-#[[ $GERRIT_PROJECT =~ .+ ]]
-#[[ $GERRIT_BRANCH =~ .+ ]]
-#
-#gs_path_review="artifacts.opnfv.org/review/$GERRIT_CHANGE_NUMBER"
-#if [[ $GERRIT_BRANCH = "master" ]] ; then
-# gs_path_branch="artifacts.opnfv.org/$GERRIT_PROJECT"
-#else
-# gs_path_branch="artifacts.opnfv.org/$GERRIT_PROJECT/${{GERRIT_BRANCH##*/}}"
-#fi
-#
-#if [[ $JOB_NAME =~ "verify" ]] ; then
-# gsutil cp -r build/* "gs://$gs_path_review/"
-# echo
-# echo "Document is available at http://$gs_path_review"
-#else
-# gsutil cp -r build/design_docs "gs://$gs_path_branch/"
-# gsutil cp -r build/requirements/html "gs://$gs_path_branch/"
-# gsutil cp -r build/requirements/latex/*.pdf "gs://$gs_path_branch/"
-# echo
-# echo "Latest document is available at http://$gs_path_branch"
-#
-# if gsutil ls "gs://$gs_path_review" > /dev/null 2>&1 ; then
-# echo
-# echo "Deleting Out-of-dated Documents..."
-# gsutil rm -r "gs://$gs_path_review"
-# fi
-#fi
diff --git a/jjb/genesis/genesis-docs.yml b/jjb/genesis/genesis-docs.yml
deleted file mode 100644
index fa8b35aed..000000000
--- a/jjb/genesis/genesis-docs.yml
+++ /dev/null
@@ -1,135 +0,0 @@
-# this is the job configuration for bgs
-- project:
-
- name: genesis-docs
-
- jobs:
- - 'genesis-merge-docs-{stream}'
- - 'genesis-verify-docs-{stream}'
-
- # stream: branch with - in place of / (eg. stable-helium)
- # branch: branch (eg. stable/helium)
- stream:
- - master:
- branch: 'master'
- gs-pathname: ''
- - stable-arno:
- branch: 'stable/arno'
- gs-pathname: '/arno'
-
- project: 'genesis'
-
-########################
-# job templates
-########################
-- job-template:
- name: 'genesis-merge-docs-{stream}'
-
- node: gce-opnfv-docker-1
-
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: '{branch}'
- - string:
- name: GS_PATHNAME
- default: '{gs-pathname}'
- description: "Version directory where the octopus will be stored in gs repository"
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
-
- triggers:
- - gerrit:
- trigger-on:
- - change-merged-event
- - comment-added-contains-event:
- comment-contains-value: 'remerge'
- projects:
- - project-compare-type: 'ANT'
- project-pattern: 'genesis'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/{branch}'
- file-paths:
- - compare-type: ANT
- pattern: 'common/docs/**'
- - compare-type: ANT
- pattern: '**/docs/**'
- forbidden-file-paths:
- - compare-type: ANT
- pattern: '**/build/**'
- - compare-type: ANT
- pattern: '**/ci/**'
- - compare-type: ANT
- pattern: '**/deploy/**'
- - compare-type: ANT
- pattern: '**/include/**'
- - compare-type: ANT
- pattern: '**/prototypes/**'
-
- builders:
- - shell:
- !include-raw ../opnfvdocs/docu-build.sh
-
-- job-template:
- name: 'genesis-verify-docs-{stream}'
-
- node: gce-opnfv-docker-1
-
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: '{branch}'
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
-
- triggers:
- - gerrit:
- trigger-on:
- - patchset-created-event:
- exclude-drafts: 'false'
- exclude-trivial-rebase: 'false'
- exclude-no-code-change: 'false'
- - draft-published-event
- - comment-added-contains-event:
- comment-contains-value: 'recheck'
- - comment-added-contains-event:
- comment-contains-value: 'reverify'
-
- projects:
- - project-compare-type: 'ANT'
- project-pattern: 'genesis'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/{branch}'
- file-paths:
- - compare-type: ANT
- pattern: 'common/docs/**'
- - compare-type: ANT
- pattern: '**/docs/**'
- forbidden-file-paths:
- - compare-type: ANT
- pattern: '**/build/**'
- - compare-type: ANT
- pattern: '**/ci/**'
- - compare-type: ANT
- pattern: '**/deploy/**'
- - compare-type: ANT
- pattern: '**/include/**'
- - compare-type: ANT
- pattern: '**/prototypes/**'
-
- builders:
- - shell:
- !include-raw ../opnfvdocs/docu-build.sh
-