Chore: Remove stable/argon jobs
[releng/builder.git] / jjb / releng-jobs.yaml
index 0768c5858fc41194dbf2a508bc62189484a336da..7a1bb1b985503a48b7ad868e276693c968f3f3f7 100644 (file)
@@ -2,41 +2,50 @@
 - project:
     name: builder-jobs
     jobs:
-      - '{project-name}-rtd-jobs':
+      - "{project-name}-rtd-jobs":
           project-pattern: releng/builder
           rtd-build-url: https://readthedocs.org/api/v2/webhook/opendaylight-releng-builder/32926/
           rtd-token: e9fa62bd60a39c22de631791309ccacc37a9929e
-      - gerrit-jenkins-cfg-merge:
+      - gerrit-jenkins-cfg-verify:
           jenkins-silos: releng sandbox
+      - gerrit-jenkins-sandbox-cleanup
       - gerrit-jjb-deploy-job
-      - gerrit-jjb-merge:
-          build-node: centos7-builder-4c-4g
-          build-timeout: 90
-      - gerrit-jjb-verify
       - builder-check-poms
       - builder-copy-sandbox-logs
-      - builder-openstack-cron
       - gerrit-tox-verify
       # Automation for docs and jobs
-      - 'builder-update-image-list'
+      - "builder-update-image-list":
+          archive-artifacts: docs/cloud-images.rst
+      - gerrit-info-yaml-verify
 
     # The following values are only specified here
     # so that code blocks look similar to other projects.
-    project: 'releng/builder'
+    project: "releng/builder"
     project-name: builder
     stream: master
     branch: master
-    build-node: centos7-builder-2c-2g
-    archive-artifacts: '**/*.log'
+    build-node: centos8-builder-2c-2g
+    archive-artifacts: "**/*.log"
     build-timeout: 30
-    jjb-version: 2.2.1
+    jjb-version: 5.0.2
+
+- project:
+    name: builder-openstack
+    jobs:
+      - gerrit-openstack-cron
+
+    project: "releng/builder"
+    project-name: builder
+    build-node: centos8-builder-2c-2g
+
     jenkins-urls: >
       https://jenkins.opendaylight.org/releng
       https://jenkins.opendaylight.org/sandbox
+    openstack-cloud: vex
 
 - job-template:
     name: builder-check-poms
-    node: centos7-builder-2c-1g
+    node: centos8-builder-2c-1g
 
     project-type: freestyle
 
 
     parameters:
       - opendaylight-infra-parameters:
-          os-cloud: '{os-cloud}'
-          project: '{project}'
-          branch: '{branch}'
-          refspec: 'refs/heads/{branch}'
-          artifacts: '{archive-artifacts}'
+          os-cloud: "{os-cloud}"
+          project: "{project}"
+          branch: "{branch}"
+          refspec: "refs/heads/{branch}"
+          artifacts: "{archive-artifacts}"
 
     wrappers:
       - opendaylight-infra-wrappers:
-          build-timeout: '{build-timeout}'
+          build-timeout: "{build-timeout}"
 
     triggers:
-      - timed: 'H H * * 1'
+      - timed: "H H * * 1"
 
     builders:
       - shell: !include-raw-escape: check-poms.sh
 
     publishers:
       - email-notification:
-          email-recipients: '{email-recipients}'
-          email-prefix: '[releng]'
+          email-recipients: "{email-recipients}"
+          email-prefix: "[releng]"
       - lf-infra-publish
 
 - job-template:
     name: builder-copy-sandbox-logs
-    node: centos7-builder-2c-1g
+    node: centos8-builder-2c-1g
 
     project-type: freestyle
 
 
     parameters:
       - opendaylight-infra-parameters:
-          os-cloud: ''
-          project: ''
-          branch: ''
-          refspec: ''
-          artifacts: ''
+          os-cloud: ""
+          project: ""
+          branch: ""
+          refspec: ""
+          artifacts: ""
 
     wrappers:
       - opendaylight-infra-wrappers:
 
     triggers:
       - gerrit:
-          server-name: '{gerrit-server-name}'
+          server-name: "{gerrit-server-name}"
           trigger-on:
             - comment-added-contains-event:
-                comment-contains-value: 'copy-logs:'
+                comment-contains-value: "copy-logs:"
           projects:
             - project-compare-type: ANT
-              project-pattern: '**'
+              project-pattern: "**"
               branches:
                 - branch-compare-type: ANT
-                  branch-pattern: '**'
+                  branch-pattern: "**"
 
     builders:
       - shell: !include-raw-escape: copy-sandbox-logs.sh
     publishers:
       - lf-infra-publish
 
-
 - job-template:
-    name: builder-openstack-cron
+    name: "builder-update-image-list"
     project-type: freestyle
-    node: '{build-node}'
-    concurrent: true
-
-    properties:
-      - lf-infra-properties:
-          build-days-to-keep: 7
-
-    parameters:
-      - lf-infra-parameters:
-          project: '{project}'
-          stream: '{stream}'
-          branch: '{branch}'
-          lftools-version: '{lftools-version}'
-      - string:
-          name: OS_CLOUD
-          default: '{os-cloud}'
-          description: |
-              The name of a cloud configuration in clouds.yaml. OS_CLOUD is a
-              variable name that is significant to openstack client as a
-              environment variable. Please refer to the documentation for
-              further details.
-              https://docs.openstack.org/developer/python-openstackclient/
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
-      - string:
-          name: JENKINS_URLS
-          default: '{jenkins-urls}'
-          description: 'Space separated list of Jenkins URLs to check for active builds'
-
-    scm:
-      - git-scm:
-          branch: '{branch}'
-
-    wrappers:
-      - lf-infra-wrappers:
-          build-timeout: '{build-timeout}'
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-      # Listed after to override openstack-infra-wrappers clouds.yaml definition
-      - config-file-provider:
-          files:
-            - file-id: clouds-yaml
-              target: '$HOME/.config/openstack/clouds.yaml'
-            - file-id: npmrc
-              target: '$HOME/.npmrc'
-            - file-id: pipconf
-              target: '$HOME/.config/pip/pip.conf'
-
-    triggers:
-      - timed: '0,30 * * * *'
-
-    builders:
-      - lf-infra-pre-build
-      # Servers
-      - odl-openstack-cleanup-stale-stacks
-      - odl-openstack-cleanup-stale-nodes
-      - odl-openstack-cleanup-orphaned-nodes
-      # Volumes
-      - odl-openstack-cleanup-stale-volumes
-      # Images
-      - odl-openstack-check-image-protection
-      - odl-openstack-cleanup-old-images
-
-    publishers:
-      - lf-infra-publish
-
-- job-template:
-    name: 'builder-update-image-list'
-    project-type: freestyle
-    node: centos7-builder-2c-1g
+    node: centos8-builder-2c-1g
 
     properties:
       - opendaylight-infra-properties:
     parameters:
       - opendaylight-infra-parameters:
           os-cloud: vex
-          project: '{project}'
-          branch: '{branch}'
-          refspec: 'refs/heads/{branch}'
-          artifacts: '{archive-artifacts}'
+          project: "{project}"
+          branch: "{branch}"
+          refspec: "refs/heads/{branch}"
+          artifacts: "{archive-artifacts}"
 
     scm:
       - git-scm:
-          branch: '{branch}'
+          branch: "{branch}"
 
     wrappers:
       - opendaylight-infra-wrappers:
-          build-timeout: '{build-timeout}'
+          build-timeout: "{build-timeout}"
       # Listed after to override openstack-infra-wrappers clouds.yaml definition
       - config-file-provider:
           files:
             - file-id: clouds-yaml
-              target: '$HOME/.config/openstack/clouds.yaml'
+              target: "$HOME/.config/openstack/clouds.yaml"
 
     triggers:
       # Update image list every Monday to Friday at 11:00 UTC
-      - timed: '0 11 * * 1-5'
+      - timed: "0 11 * * 1-5"
 
     builders:
+      - lf-infra-pre-build
       - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
       - lf-infra-push-gerrit-patch:
-          project: '{project}'
-          gerrit-user: 'jenkins-$SILO'
-          gerrit-host: 'git.opendaylight.org'
-          gerrit-topic: 'releng-update-cloud-image-list'
-          gerrit-commit-message: 'Update cloud image list docs'
-          reviewers-email: 'jluhrsen@redhat.com'
+          project: "{project}"
+          gerrit-user: "jenkins-$SILO"
+          gerrit-host: "git.opendaylight.org"
+          gerrit-topic: "releng-update-cloud-image-list"
+          gerrit-commit-message: "Update cloud image list docs"
+          reviewers-email: "jenkins-releng@opendaylight.org"
 
     publishers:
       - email-notification:
-          email-recipients: '{email-recipients}'
-          email-prefix: '[releng]'
+          email-recipients: "{email-recipients}"
+          email-prefix: "[releng]"
       - lf-infra-publish