X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Favailability%2Favailability.yml;h=a8f6297343e3c3e0e1f0c897a3533b7200550415;hb=3732c0ac30c2b67b30680aee2d0ba8982a9b528c;hp=5d207b2efcec15b23d5015f62ce56c58dbf3097c;hpb=6fdd2cb8ea1bebd16ece55e9f402a40aca2ed040;p=releng.git diff --git a/jjb/availability/availability.yml b/jjb/availability/availability.yml index 5d207b2ef..a8f629734 100644 --- a/jjb/availability/availability.yml +++ b/jjb/availability/availability.yml @@ -1,82 +1,64 @@ +--- +################################################### +# All the jobs except verify have been removed! +# They will only be enabled on request by projects! +################################################### - project: name: availability - jobs: - - 'availability-test' - - 'availability-daily-master' - - 'availability-merge' - - 'availability-verify' - - # stream: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) - stream: - - master: - branch: 'master' - project: 'availability' - somevar: 'foo' - -- job-template: - name: availability-test + project: '{name}' - project-type: freestyle - - logrotate: - daysToKeep: 30 - numToKeep: 10 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 + jobs: + - 'availability-verify-{stream}' - builders: - - shell: | - echo "Hello world from availability" + stream: + - master: + branch: '{stream}' + gs-pathname: '' + disabled: 'false' + - euphrates: + branch: 'stable/{stream}' + gs-pathname: '/{stream}' + disabled: 'false' - job-template: - name: 'availability-daily-master' + name: 'availability-verify-{stream}' - # Job template for daily builders - # - # Required Variables: - # stream: branch with - in place of / (eg. stable) - # branch: branch (eg. stable) - - project-type: freestyle - 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}' + - project-parameter: + project: '{project}' + branch: '{branch}' + - 'opnfv-build-ubuntu-defaults' scm: - - git-scm: - credentials-id: '{ssh-credentials}' - refspec: '' - branch: '{branch}' - - wrappers: - - ssh-agent-credentials: - user: '{ssh-credentials}' + - git-scm-gerrit triggers: - - timed: 'H H * * *' - - prebuilders: - - test-macro + - gerrit: + server-name: 'gerrit.opnfv.org' + 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: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + disable-strict-forbidden-file-verification: 'true' + forbidden-file-paths: + - compare-type: ANT + pattern: 'docs/**|.gitignore' builders: - - shell: | - pwd - find . - echo "Hello world from availability {somevar} daily" - - postbuilders: - - test-macro - - - - + - shell: | + echo "Nothing to verify!"