X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Favailability%2Favailability.yml;h=c3603a65fe2dad79869e50b0a0185af207840bdc;hb=cf1855956d1a4f6cf11636fd7a93d1f57df65fc9;hp=10fdf6ef572f6cdec976596336ca9790c54e26cd;hpb=0d34e4f65b73c2c6c7c8f2b3b7582aed88a1e870;p=releng.git diff --git a/jjb/availability/availability.yml b/jjb/availability/availability.yml index 10fdf6ef5..c3603a65f 100644 --- a/jjb/availability/availability.yml +++ b/jjb/availability/availability.yml @@ -1,95 +1,43 @@ +################################################### +# All the jobs except verify have been removed! +# They will only be enabled on request by projects! +################################################### - project: name: availability + + project: '{name}' + jobs: - - 'availability-test' - - 'availability-daily-{stream}' - - 'availability-merge' - - 'availability-verify' + - 'availability-verify-{stream}' - # stream: branch with - in place of / (eg. stable-arno) - # branch: branch (eg. stable/arno) stream: - master: - branch: 'master' - - project: 'availability' - somevar: 'foo' + branch: '{stream}' + gs-pathname: '' + disabled: 'false' + - danube: + branch: 'stable/{stream}' + gs-pathname: '/{stream}' + disabled: 'false' - job-template: - name: availability-test + name: 'availability-verify-{stream}' - logrotate: - daysToKeep: 30 - numToKeep: 10 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 - - builders: - - shell: | - echo "Hello world from availability" - -- job-template: - name: 'availability-daily-{stream}' - - # Job template for daily builders - # - # Required Variables: - # stream: branch with - in place of / (eg. stable) - # branch: branch (eg. stable) - - varsetabove: '{somevar}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + disabled: '{obj:disabled}' parameters: - project-parameter: project: '{project}' - - scm: - - git-scm: - credentials-id: '{ssh-credentials}' - refspec: '' + - gerrit-parameter: branch: '{branch}' + - 'opnfv-build-ubuntu-defaults' - triggers: - - timed: 'H H * * *' - - prebuilders: - - test-macro - - builders: - - shell: - !include-raw docu-build.sh - - postbuilders: - - test-macro - -- job-template: - name: 'availability-verify' - - logrotate: - daysToKeep: 30 - numToKeep: 10 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameter: - branch: 'master' scm: - - gerrit-trigger-scm: - credentials-id: '{ssh-credentials}' - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' + - git-scm-gerrit triggers: - gerrit: + server-name: 'gerrit.opnfv.org' trigger-on: - patchset-created-event: exclude-drafts: 'false' @@ -102,54 +50,14 @@ comment-contains-value: 'reverify' projects: - project-compare-type: 'ANT' - project-pattern: 'availability' + project-pattern: '{project}' branches: - branch-compare-type: 'ANT' - branch-pattern: '**/master' + branch-pattern: '**/{branch}' + forbidden-file-paths: + - compare-type: ANT + pattern: 'docs/**|.gitignore' builders: - - shell: - !include-raw docu-build.sh - -- job-template: - name: 'availability-merge' - - # builder-merge job to run JJB update - # - # This job's purpose is to update all the JJB - - logrotate: - daysToKeep: 30 - numToKeep: 40 - artifactDaysToKeep: -1 - artifactNumToKeep: 5 - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameter: - branch: 'master' - - 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: 'availability' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/master' - - builders: - - shell: - !include-raw docu-build.sh - + - shell: | + echo "Nothing to verify!"