X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=blobdiff_plain;f=jjb%2Fiec%2Fiec.yaml;h=36b7cfb84312ee75238d4bfb8661313b1e2b5e13;hp=b1d7d593d40ce9ba34225ba5c1dee74c2a8029fc;hb=c1b6901cf2821ce7c9fe422d33ad33f04dca3dee;hpb=2562eaf461eda21ff4581aef76a60574630e1f02 diff --git a/jjb/iec/iec.yaml b/jjb/iec/iec.yaml index b1d7d59..36b7cfb 100644 --- a/jjb/iec/iec.yaml +++ b/jjb/iec/iec.yaml @@ -1,6 +1,113 @@ --- - project: - name: iec-project-view - project-name: iec + name: 'iec' + project-name: 'iec' + project: '{project-name}' views: - - project-view + - common-view: + view-name: iec + view-regex: '^{project-name}-(tox|type1|type2)-(verify|fuel|compass)-.*' + # ------------------------------- + # BRANCH DEFINITIONS + # ------------------------------- + stream: + - master: + branch: '{stream}' + gs-pathname: '' + disabled: false + + # ------------------------------- + # INSTALLER DEFINITIONS + # ------------------------------- + installer: + - fuel + - compass + + # ------------------------------- + # OPERATING SYSTEM DEFINITIONS + # ------------------------------- + os: + - ubuntu1604 + - ubuntu1804 + - centos7 + #-------------------------------- + # IEC TYPE DEFINITINONS + # type1 Mcbin embeded board + # type2 Arm Server + # ------------------------------- + iecType: + - type1 + - type2 + # ------------------------------- + # DEPLOY TYPE DEFINITIONS + # ------------------------------- + deploy_type: + - baremetal: + slave-label: 'aarch64_baremetal_dev' + scenario: 'k8-calico-iec-noha' + - virtual: + slave-label: 'aarch64_dev' + scenario: 'k8-calico-iec-noha' + + exclude: + # Compass does not run against baremetal PODs yet + - installer: compass + deploy_type: baremetal + - installer: compass + os: centos7 + - installer: compass + 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 + # 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-phase-usecase + - gerrit-sonar: + sonar-project-file: "" + build-node: centos7-builder-2c-1g + sonar-properties: | + # Required metadata + sonar.projectKey=iec + sonar.projectName=iec + sonar.organization=akraino-edge-stack + + #Source + sonar.sources=. + sonar.exclusions=**/*_test.go,**/vendor/** + + # Language + sonar.language=go + + # Encoding + sonar.build.sourceEncoding=UTF-8 + + # Inclusions + sonar.inclusions=**/**.go + + # Test Execution + sonar.tests=. + sonar.test.inclusions=**/*_test.go + sonar.test.exclusions=**/vendor/**