-
Notifications
You must be signed in to change notification settings - Fork 936
Enabled Mellanox CI for release branches (changes for v4.0.x branch). #7351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rhc54
merged 1 commit into
open-mpi:v4.0.x
from
artemry-nv:artemry/enable_mlnx_ci_for_release_branches_v4
Feb 22, 2020
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # Open MPI Continuous Integration (CI) Services | ||
| ## Mellanox Open MPI CI | ||
| [](https://dev.azure.com/mlnx-swx/mellanox-ompi/_build/latest?definitionId=12&branchName=v4.0.x) | ||
| ### Scope | ||
| [Mellanox](https://www.mellanox.com/) Open MPI CI is intended to verify Open MPI with recent Mellanox SW components ([Mellanox OFED](https://www.mellanox.com/page/products_dyn?product_family=26), [UCX](https://www.mellanox.com/page/products_dyn?product_family=281&mtag=ucx) and other [HPC-X](https://www.mellanox.com/page/products_dyn?product_family=189&mtag=hpc-x) components) in the Mellanox lab environment. | ||
|
|
||
| CI is managed by [Azure Pipelines](https://docs.microsoft.com/en-us/azure/devops/pipelines/?view=azure-devops) service. | ||
|
|
||
| Mellanox Open MPI CI includes: | ||
| * Open MPI building with internal stable engineering versions of UCX and HCOLL. The building is run in Docker-based environment. | ||
| * Sanity functional testing. | ||
| ### How to Run CI | ||
| Mellanox Open MPI CI is triggered upon the following events: | ||
| * Push a commit into the master branch or release branches (starting from v4.0.x). CI is started automatically. CI status and log files are available on the Azure DevOps server. | ||
| * Create a pull request (PR). CI status is visible in the PR status. CI is restarted automatically upon each new commit within the PR. CI status and log files are also available on the Azure DevOps server. | ||
| * Trigger CI with special PR comments (for example, `/azp run`). Comment triggers are available only if the comment author has write permission to the PR target repo. Detailed information about comment triggers is available in the official Azure DevOps [documentation](https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#comment-triggers). | ||
| ### Support | ||
| In case of any issues, questions or suggestions please contact to [Mellanox Open MPI CI support team](mailto:[email protected]). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| trigger: | ||
| - master | ||
| - v*.*.x | ||
| pr: | ||
| - master | ||
| - v*.*.x | ||
|
|
||
| pool: | ||
| name: Default | ||
| demands: | ||
| - AGENT_CI_TARGET -equals ompi | ||
| - MLNX_IB_DEVICE -equals yes | ||
|
|
||
| variables: | ||
| ompi_jenkins_scripts_git_repo_url: https://github.com/mellanox-hpc/jenkins_scripts.git | ||
| ompi_jenkins_scripts_git_branch: master | ||
| # Enable debug information, supported values: true, false | ||
| debug: true | ||
|
|
||
| jobs: | ||
| - job: mellanox_ompi_ci | ||
| displayName: Mellanox Open MPI CI | ||
| timeoutInMinutes: 240 | ||
| container: | ||
| image: rdmz-harbor.rdmz.labs.mlnx/hpcx/ompi_ci:latest | ||
| options: -v /hpc/local:/hpc/local -v /opt:/opt --uts=host --ipc=host --ulimit stack=67108864 | ||
| --ulimit memlock=-1 --security-opt seccomp=unconfined --cap-add=SYS_ADMIN --device=/dev/infiniband/ | ||
| steps: | ||
| - task: DeleteFiles@1 | ||
| displayName: Cleanup workspace folder | ||
| inputs: | ||
| sourceFolder: $(Pipeline.Workspace) | ||
| contents: | | ||
| **/* | ||
| - checkout: self | ||
| submodules: true | ||
| path: ompi | ||
| - bash: | | ||
| set -eE | ||
| [ "$(debug)" = "true" ] && set -x | ||
| cd $(Pipeline.Workspace) | ||
| git clone $(ompi_jenkins_scripts_git_repo_url) | ||
| cd $(Pipeline.Workspace)/jenkins_scripts && git checkout $(ompi_jenkins_scripts_git_branch) | ||
| export WORKSPACE=$(Pipeline.Workspace)/ompi | ||
| # TODO: rework ompi_test.sh to avoid Jenkins mentions | ||
| export JENKINS_RUN_TESTS=yes | ||
| $(Pipeline.Workspace)/jenkins_scripts/jenkins/ompi/ompi_test.sh | ||
| displayName: Build and test Open MPI | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,7 @@ | |
| .cdt* | ||
| .project | ||
| .gdb* | ||
| .idea | ||
|
|
||
| .hgrc | ||
| .hgignore | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@artemry-mlnx - no need trigger on "merge" event into branches. only on PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in #7465