name: 'iec-type2-fuel-virtual-ubuntu1604-daily-master-trigger'
triggers:
- timed: '0 1 * * 1,3,5'
-- trigger:
- name: 'iec-type2-fuel-baremetal-ubuntu1604-daily-master-trigger'
- triggers:
- - timed: ''
- trigger:
name: 'iec-type2-compass-virtual-ubuntu1604-daily-master-trigger'
triggers:
- trigger:
name: 'iec-type2-fuel-baremetal-ubuntu1804-daily-master-trigger'
triggers:
- - timed: ''
+ - timed: '0 1 * * *'
- trigger:
name: 'iec-type2-fuel-virtual-centos7-daily-master-trigger'
triggers:
- timed: '0 1 * * 4,7'
-- trigger:
- name: 'iec-type2-fuel-baremetal-centos7-daily-master-trigger'
- triggers:
- - timed: ''
- trigger:
name: 'iec-type1-compass-virtual-ubuntu1604-daily-master-trigger'
triggers:
- project:
!j2: |
{%- for uc in usecase -%}
- iec-{{ iecType }}-install-{{ uc | first }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
+ iec-{{ iecType }}-install-{{ uc }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
{%- if not loop.last -%},{%- endif -%}
{%- endfor %}
current-parameters: true
- git:
credentials-id: '{jenkins-ssh-credential}'
url: '{git-url}/{project}.git'
- refspec: ''
- branches:
- - 'refs/heads/{branch}'
+ refspec: '$GERRIT_REFSPEC'
+ branches: '$GERRIT_BRANCH'
skip-tag: true
wipe-workspace: true
submodule:
- aarch64_dev
- aarch64_build
- aarch64_baremetal
+ - aarch64_baremetal_dev
jobs:
- akraino-project-build-node-init
LAB_NAME='arm'
# shellcheck disable=SC2153
POD_NAME=${NODE_NAME/*ubuntu1804-dev-48c-256g-/virtual}
-else
+ if [[ ! "$POD_NAME" =~ virtual ]]; then
+ POD_NAME=${NODE_NAME/*ubuntu1804-dev-96c-256g-/baremetal}
+ fi
+fi
+if [[ ! "$POD_NAME" =~ (virtual|baremetal) ]]; then
echo "Unavailable hardware. Cannot continue!"
exit 1
fi
# -------------------------------
deploy_type:
- baremetal:
- slave-label: 'aarch64_dev'
+ slave-label: 'aarch64_baremetal_dev'
scenario: 'k8-calico-iec-noha'
- virtual:
slave-label: 'aarch64_dev'
os: ubuntu1804
- iecType: type1
installer: fuel
+ # Fuel baremetal provisioning only supports Ubuntu 18.04
+ - installer: fuel
+ deploy_type: baremetal
+ os: centos7
+ - installer: fuel
+ deploy_type: baremetal
+ os: ubuntu1604
# -------------------------------
# USECASE DEFINITIONS
# -------------------------------
usecase:
- - seba_on_arm:
- slave-label: 'aarch64_dev'
- scenario: 'k8-calico-iec-noha'
+ - seba_on_arm
jobs:
- akraino-iec-install