[POLICY] Change CSIT trigger to verify job
[ci-management.git] / jjb / integration / integration.yaml
index 17b6083..1c0835e 100644 (file)
     views:
       - project-view
 
-- project:
-    name: integration-info
-    project-name: integration
-    jobs:
-      - gerrit-info-yaml-verify
-    build-node: centos7-builder-2c-1g
-    project: integration
-    branch: master
-
 - project:
     name: integration-verify-python
     project-name: integration
     project: integration
     stream:
-      - 'master':
-          branch: 'master'
-      - 'elalto':
-          branch: 'elalto'
-    mvn-settings: 'integration-settings'
-    build-node: 'centos7-builder-4c-4g'
+      - "master":
+          branch: "master"
+    mvn-settings: "integration-settings"
+    build-node: "ubuntu1804-builder-4c-4g"
     subproject:
-      - 'test-vcpe':
-          path: 'test/vcpe'
-          pattern: 'test/vcpe/**'
+      - "test-vcpe":
+          path: "test/vcpe"
+          pattern: "test/vcpe/**"
+      - "ran-nssmf-simulator":
+          path: "test/mocks/ran-nssmf-simulator"
+          pattern: "test/mocks/ran-nssmf-simulator/**"
     jobs:
-      - '{project-name}-{stream}-{subproject}-verify-python'
+      - "{project-name}-{stream}-{subproject}-verify-python"
 
 - project:
     name: integration-verify-vagrantfile
-    project-name: 'integration'
-    project: 'integration'
+    project-name: "integration"
+    project: "integration"
     stream:
-      - 'master':
-          branch: 'master'
+      - "master":
+          branch: "master"
     jobs:
-      - '{project-name}-{stream}-verify-vagrantfile'
+      - "{project-name}-{stream}-verify-vagrantfile"
 
 - project:
     name: integration-verify-golang
-    project-name: 'integration'
-    project: 'integration'
-    golangver: 'golang112'
-    mvn-settings: 'integration-settings'
-    archive-artifacts: ''
-    build-node: ubuntu1604-builder-2c-1g
+    project-name: "integration"
+    project: "integration"
+    golangver: "golang114"
+    mvn-settings: "integration-settings"
+    archive-artifacts: ""
     jobs:
-      - '{project-name}-{stream}-verify-golang':
-          script: '{build_script}'
-    path: 'test/security/k8s'
-    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
-    project: integration
+      - "{project-name}-{stream}-{subproject}-verify-golang"
+    subproject:
+      - "test-security-k8s":
+          path: "test/security/k8s"
+          pattern: "{path}/**"
+          build-node: ubuntu1804-builder-4c-4g
+          script: |
+            #!/bin/bash
+            set -ex # Fail build if any setup step fails
+            cd $WORKSPACE/{path}
+            make test
+      - "test-security-sslendpoints":
+          path: "test/security/sslendpoints"
+          pattern: "{path}/**"
+          build-node: ubuntu1804-docker-8c-8g
+          script: |
+            #!/bin/bash
+            set -ex # Fail build if any setup step fails
+            cd $WORKSPACE/{path}
+            rm -rf $WORKSPACE/{path}/bin
+            make docker-build
+            make test
+            make clean
     stream:
-      - 'master':
-          branch: 'master'
-    # Required by verifier
-    mvn-settings: 'integration-settings'
-    project-name: 'integration-netconf-pnp-simulator'
-    gerrit_trigger_file_paths:
-      - compare-type: ANT
-        pattern: 'test/mocks/netconf-pnp-simulator/engine/**'
-    docker-name: 'onap/integration/simulators/netconf-pnp-simulator'
-    docker-root: test/mocks/netconf-pnp-simulator/engine
-    container-tag-method: yaml-file
-    post_docker_build_script: !include-raw-escape: ../global-jjb/shell/tox-run.sh
-    build-node: centos7-docker-8c-8g
-    build-timeout: 20
-    jobs:
-      - gerrit-docker-verify
-      - gerrit-docker-merge
+      - "master":
+          branch: "master"
 
 - project:
     name: integration-linters
-    project: 'integration'
-    project-name: 'integration'
+    project: "integration"
+    project-name: "integration"
     python-version: python3
     jobs:
-      - '{project-name}-{stream}-{subproject}-lint'
+      - integration-linters
     subproject:
-      - 'yaml':
-          tox-dir: '.'
-          tox-envs: 'yaml'
-          pattern: '**/*.yaml'
-      - 'yml':
-          tox-dir: '.'
-          tox-envs: 'yaml'
-          pattern: '**/*.yml'
-      - 'json':
-          tox-dir: '.'
-          tox-envs: 'json'
-          pattern: '**/*.json'
-      - 'python':
-          tox-dir: '.'
-          tox-envs: 'py'
-          pattern: '**/*.py'
+      - "yaml":
+          tox-dir: "."
+          tox-envs: "yaml"
+          pattern: "**/*.yaml"
+      - "yml":
+          tox-dir: "."
+          tox-envs: "yaml"
+          pattern: "**/*.yml"
+      - "json":
+          tox-dir: "."
+          tox-envs: "json"
+          pattern: "**/*.json"
+      - "python":
+          tox-dir: "."
+          tox-envs: "py"
+          pattern: "**/*.py"
+      - "rst":
+          tox-dir: "."
+          tox-envs: "rst"
+          pattern: "**/*.rst"
+      - "md":
+          tox-dir: "."
+          tox-envs: "md"
+          pattern: "**/*.md"
     stream:
-      - 'master':
-          branch: 'master'
+      - "master":
+          branch: "master"