---
-- job-template:
+- job-template: &verify_golang_bolierplate
# Job template for Golang verify jobs
#
# The purpose of this job template is to run:
- infra-shiplogs:
maven-version: '{maven-version}'
+- job-template:
+ # Job template for Golang verify jobs with subproject support
+
+ <<: *verify_golang_bolierplate
+ name: '{project-name}-{stream}-{subproject}-verify-golang'
+
- job-template:
# Job template for Golang merge jobs
#
golangver: 'golang112'
mvn-settings: 'integration-settings'
archive-artifacts: ''
- build-node: ubuntu1804-builder-4c-4g
+ build-node: ubuntu1804-docker-8c-8g
jobs:
- - '{project-name}-{stream}-verify-golang':
- script: '{build_script}'
- path: 'test/security/k8s'
- pattern: '{path}/**'
+ - '{project-name}-{stream}-{subproject}-verify-golang':
+ script: |
+ #!/bin/bash
+ set -ex # Fail build if any setup step fails
+ cd $WORKSPACE/{path}
+ make test
+ subproject:
+ - 'test-security-k8s':
+ path: 'test/security/k8s'
+ pattern: '{path}/**'
+ - 'test-security-sslendpoints':
+ path: 'test/security/sslendpoints'
+ pattern: '{path}/**'
stream:
- 'master':
branch: 'master'
- build_script: |
- #!/bin/bash
- set -ex # Fail build if any setup step fails
- cd test/security/k8s
- make test
- project:
name: integration-netconf-pnp-simulator