Merge "iec: exclude seba_on_arm from virtual PODs"
authorEric Ball <eball@linuxfoundation.org>
Wed, 15 Apr 2020 01:46:39 +0000 (01:46 +0000)
committerGerrit Code Review <gerrit@akraino.org>
Wed, 15 Apr 2020 01:46:39 +0000 (01:46 +0000)
1  2 
jjb/akraino-templates/akraino-iec-templates.yaml
jjb/iec/iec.yaml

              block: true
            - project:
                !j2: |
+                 {%- if deploy_type not in ['virtual'] -%}
                  {%- for uc in usecase -%}
 -                iec-{{ iecType }}-install-{{ uc }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
 +                {%- for ph in phase -%}
 +                iec-{{ iecType }}-{{ ph }}-{{ uc }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
 +                {%- if not loop.last -%},{%- endif -%}
 +                {%- endfor %}
                  {%- if not loop.last -%},{%- endif -%}
                  {%- endfor %}
+                 {%- endif -%}
              current-parameters: true
              same-node: true
              block: true
      publishers: *publishers
  
  - job-template:
 -    id: akraino-iec-install-usecase
 -    name: 'iec-{iecType}-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
 +    id: akraino-iec-phase-usecase
 +    name: 'iec-{iecType}-{phase}-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
      concurrent: true
      node: '{slave-label}'
      properties: *properties
            branch: '{branch}'
        - '{project}-defaults'
        - '{installer}-{os}-defaults'
 +      - '{usecase}-defaults'
  
      wrappers:
        - build-name:
            !include-raw-escape: ../iec/iec-{usecase}.sh
  
      publishers: *publishers
 -
diff --combined jjb/iec/iec.yaml
@@@ -66,6 -66,9 +66,9 @@@
        - installer: fuel
          deploy_type: baremetal
          os: ubuntu1604
+       # SEBA on virtual PODs should be excluded
+       - deploy_type: virtual
+         usecase: seba_on_arm
  
      # -------------------------------
      # USECASE DEFINITIONS
      usecase:
        - seba_on_arm
  
 +    phase:
 +      - install
 +      - test
 +
      jobs:
        - akraino-iec-install
        - akraino-iec-deploy
        - akraino-iec-destroy
 -      - akraino-iec-install-usecase
 +      - akraino-iec-phase-usecase
        - gerrit-sonar:
            sonar-project-file: ""
            build-node: centos7-builder-2c-1g