--- /dev/null
+#!/bin/bash
+set -e
+
+echo "begin build compass"
+git clone https://github.com/opnfv/compass4nfv.git
+
+cd compass4nfv
+
+COMPASS_WORK_DIR=$WORKSPACE/../compass-work
+mkdir -p $COMPASS_WORK_DIR
+ln -s $COMPASS_WORK_DIR work
+
+sudo docker rm -f `docker ps | grep compass | cut -f1 -d' '` || true
+
+curl -s http://people.linaro.org/~yibo.cai/compass/compass4nfv-arm64-fixup.sh | bash || true
+
+./build.sh
+
+exit 0
- fuel-virtual:
slave-label: 'aarch64_dev'
scenario: 'k8-calico-iec-noha'
+ - compass-virtual:
+ slave-label: 'aarch64_dev'
+ scenario: 'k8-calico-iec-noha'
jobs:
- 'iec-{deploy-type}-daily-{stream}'
choosing-strategy: default
builders:
- - shell:
- !include-raw-escape: ./iec-fuel-deploy.sh
+ - description-setter:
+ description: "POD: $NODE_NAME"
+ - conditional-step:
+ condition-kind: regex-match
+ regex: 'compass-.*'
+ label: '{deploy-type}'
+ steps:
+ - shell:
+ !include-raw-escape: ./iec-compass-build.sh
+ - shell:
+ !include-raw-escape: ./iec-compass-deploy.sh
+ - shell:
+ !include-raw-escape: ./iec-compass-destroy.sh
+ - conditional-step:
+ condition-kind: regex-match
+ regex: 'fuel-.*'
+ label: '{deploy-type}'
+ steps:
+ - shell:
+ !include-raw-escape: ./iec-fuel-deploy.sh
publishers:
- email:
name: 'iec-fuel-baremetal-daily-master-trigger'
triggers:
- timed: ''
+- trigger:
+ name: 'iec-compass-virtual-daily-master-trigger'
+ triggers:
+ - timed: '0 13 * * *'