Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • Search Search
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 43
    • Issues 43
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • System
  • SearchSearch
  • Merge requests
  • !3

Add parent pom for int tests

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged David Diederich requested to merge add-parent-pom-for-int-tests into master Apr 23, 2020
  • Overview 0
  • Commits 2
  • Pipelines 1
  • Changes 1

The integration test projects need to be built in a particular order, however they are specified as unrelated POMs.

The first compile step (and later, in the SAST steps) the CI/CD pipeline will attempt to build all of these. However, without any ordering information, it doesn't do it in the correct order (incidentally, it uses alphabetic order, and therefore runs search-test-aws before search-test-core; creating a problem).

This MR adds an extra pom at the integration testing layer, which specifies the build order of the various components. Note: The CI/CD pipelines will notice that the search-test-X projects are child projects and not attempt to build them individually. Instead, it will build only the two parent projects.

This strikes a balance between being low impact -- the integration testing build projects are still separated and not part of the main build environment -- and not requiring complex logic in the pipelines to scan for dependencies. The main project still needs to be built first, and that is not specified in any POM, but the CI/CD pipelines always build the parent POM first as a rule, so we rely on that rule here.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: add-parent-pom-for-int-tests