-
Notifications
You must be signed in to change notification settings - Fork 121
tighten wheel size limits, expand CI-skipping logic, other small build changes #804
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
Changes from all commits
86bd80d
4983c9b
1b0188d
5571e27
9110bcd
1bca581
8571467
9a7902d
1d0b82b
0726dec
10f33f0
15d911f
7ac700f
2c8f983
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -111,66 +111,145 @@ jobs: | |
| uses: rapidsai/shared-workflows/.github/workflows/changed-files.yaml@main | ||
| with: | ||
| files_yaml: | | ||
| test_cpp: | ||
| build_docs: | ||
| - '**' | ||
| - '!CONTRIBUTING.md' | ||
| - '!README.md' | ||
| - '!ci/release/update-version-cuopt.sh' | ||
| - '!ci/release/update-version-rapids.sh' | ||
| - '!docs/**' | ||
| - '!img/**' | ||
| - '!notebooks/**' | ||
| - '!python/**' | ||
| - '!readme_pages/**' | ||
| - '!.ai/**' | ||
| - '!.coderabbit.yaml' | ||
| - '!.github/AGENTS.md' | ||
| - '!.github/CODE_OF_CONDUCT.md' | ||
| - '!.github/CODEOWNERS' | ||
| - '!.github/ISSUE_TEMPLATE/**' | ||
| - '!.github/PULL_REQUEST_TEMPLATE.md' | ||
| - '!.github/SECURITY.md' | ||
| - '!.github/.ai/**' | ||
| - '!.github/.coderabbit_review_guide.md' | ||
| - '!.github/agents/**' | ||
| - '!.github/copy-pr-bot.yaml' | ||
| - '!.github/ops-bot.yaml' | ||
| - '!.pre-commit-config.yaml' | ||
| - '!ci/build_wheel*.sh' | ||
| - '!ci/check_style.sh' | ||
| - '!ci/release/**' | ||
| - '!ci/run_ctests.sh' | ||
| - '!ci/run_*.pytests.sh' | ||
| - '!ci/test_cpp*.sh' | ||
| - '!ci/test_notebooks.sh' | ||
| - '!ci/test_python.sh' | ||
| - '!ci/test_self_hosted_service.sh' | ||
| - '!ci/test_wheel*.sh' | ||
| - '!container-builder/**' | ||
| - '!helm-chart/**' | ||
| - '!helmchart/**' | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This directory is called |
||
| - '!ngc/**' | ||
| - '!omniverse/**' | ||
| - '!regression/**' | ||
| - '!resources/**' | ||
|
Comment on lines
-128
to
-130
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These directories no longer exist in the repo. |
||
| - '!sonar-project.properties' | ||
| - '!sonarqube/**' | ||
| - '!ucf/**' | ||
| - '!utilities/**' | ||
| test_notebooks: | ||
| - '**' | ||
| - '!CONTRIBUTING.md' | ||
| - '!README.md' | ||
| - '!ci/release/update-version-cuopt.sh' | ||
| - '!ci/release/update-version-rapids.sh' | ||
| - '!docs/**' | ||
| - '!python/nvcf_client/**' | ||
| test_python: | ||
| test_cpp: | ||
| - '**' | ||
| - '!CONTRIBUTING.md' | ||
| - '!README.md' | ||
| - '!ci/release/update-version-cuopt.sh' | ||
| - '!ci/release/update-version-rapids.sh' | ||
| - '!.ai/**' | ||
| - '!.coderabbit.yaml' | ||
| - '!.github/AGENTS.md' | ||
| - '!.github/CODE_OF_CONDUCT.md' | ||
| - '!.github/CODEOWNERS' | ||
| - '!.github/ISSUE_TEMPLATE/**' | ||
| - '!.github/PULL_REQUEST_TEMPLATE.md' | ||
| - '!.github/SECURITY.md' | ||
| - '!.github/.ai/**' | ||
| - '!.github/.coderabbit_review_guide.md' | ||
| - '!.github/agents/**' | ||
| - '!.github/copy-pr-bot.yaml' | ||
| - '!.github/ops-bot.yaml' | ||
| - '!.pre-commit-config.yaml' | ||
| - '!ci/build_docs.sh' | ||
| - '!ci/build_python.sh' | ||
| - '!ci/build_wheel*.sh' | ||
| - '!ci/check_style.sh' | ||
| - '!ci/release/**' | ||
| - '!ci/test_python.sh' | ||
| - '!ci/test_self_hosted_service.sh' | ||
| - '!ci/test_wheel*.sh' | ||
| - '!container-builder/**' | ||
| - '!docs/**' | ||
| - '!helmchart/**' | ||
| - '!img/**' | ||
| - '!ngc/**' | ||
| - '!notebooks/**' | ||
| - '!python/nvcf_client/**' | ||
| test_python_cuopt: | ||
| - '!python/**' | ||
| - '!sonar-project.properties' | ||
| - '!sonarqube/**' | ||
| - '!ucf/**' | ||
| - '!utilities/**' | ||
| test_python_conda: | ||
| - '**' | ||
| - '!CONTRIBUTING.md' | ||
| - '!README.md' | ||
| - '!ci/release/update-version-cuopt.sh' | ||
| - '!ci/release/update-version-rapids.sh' | ||
| - '!.ai/**' | ||
| - '!.coderabbit.yaml' | ||
| - '!.github/AGENTS.md' | ||
| - '!.github/CODE_OF_CONDUCT.md' | ||
| - '!.github/CODEOWNERS' | ||
| - '!.github/ISSUE_TEMPLATE/**' | ||
| - '!.github/PULL_REQUEST_TEMPLATE.md' | ||
| - '!.github/SECURITY.md' | ||
| - '!.github/.ai/**' | ||
| - '!.github/.coderabbit_review_guide.md' | ||
| - '!.github/agents/**' | ||
| - '!.github/copy-pr-bot.yaml' | ||
| - '!.github/ops-bot.yaml' | ||
| - '!.pre-commit-config.yaml' | ||
| - '!ci/build_docs.sh' | ||
| - '!ci/build_wheel*.sh' | ||
| - '!ci/check_style.sh' | ||
| - '!ci/release/**' | ||
| - '!ci/test_self_hosted_service.sh' | ||
| - '!ci/test_wheel*.sh' | ||
| - '!container-builder/**' | ||
| - '!docs/**' | ||
| - '!helmchart/**' | ||
| - '!img/**' | ||
| - '!ngc/**' | ||
| - '!notebooks/**' | ||
| - '!python/cuopt_self_hosted/**' | ||
| - '!python/cuopt_server/**' | ||
| - '!python/nvcf_client/**' | ||
| test_python_cuopt_server: | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm hoping the But please do break it down into more-specific groups if you feel that's doable! The more unnecessary CI runs we can save, the better 😁 |
||
| - '!sonar-project.properties' | ||
| - '!sonarqube/**' | ||
| - '!ucf/**' | ||
| - '!utilities/**' | ||
| test_python_wheels: | ||
| - '**' | ||
| - '!CONTRIBUTING.md' | ||
| - '!README.md' | ||
| - '!ci/release/update-version-cuopt.sh' | ||
| - '!ci/release/update-version-rapids.sh' | ||
| - '!docs/**' | ||
| - '!.ai/**' | ||
| - '!.coderabbit.yaml' | ||
| - '!.github/AGENTS.md' | ||
| - '!.github/CODE_OF_CONDUCT.md' | ||
| - '!.github/CODEOWNERS' | ||
| - '!.github/ISSUE_TEMPLATE/**' | ||
| - '!.github/PULL_REQUEST_TEMPLATE.md' | ||
| - '!.github/SECURITY.md' | ||
| - '!.github/.ai/**' | ||
| - '!.github/.coderabbit_review_guide.md' | ||
| - '!.github/agents/**' | ||
| - '!.github/copy-pr-bot.yaml' | ||
| - '!.github/ops-bot.yaml' | ||
| - '!.pre-commit-config.yaml' | ||
| - '!ci/build_cpp.sh' | ||
| - '!ci/build_docs.sh' | ||
| - '!ci/build_python.sh' | ||
| - '!ci/check_style.sh' | ||
| - '!ci/release/**' | ||
| - '!ci/run_ctests.sh' | ||
| - '!ci/test_python.sh' | ||
| - '!conda/**' | ||
| - '!container-builder/**' | ||
| - '!helmchart/**' | ||
| - '!img/**' | ||
| - '!ngc/**' | ||
| - '!notebooks/**' | ||
| - '!python/cuopt_self_hosted/**' | ||
| - '!python/nvcf_client/**' | ||
| - '!sonar-project.properties' | ||
| - '!sonarqube/**' | ||
| - '!ucf/**' | ||
| - '!utilities/**' | ||
| checks: | ||
| secrets: inherit | ||
| uses: rapidsai/shared-workflows/.github/workflows/checks.yaml@main | ||
|
|
@@ -187,7 +266,7 @@ jobs: | |
| conda-cpp-tests: | ||
| needs: [conda-cpp-build, changed-files, compute-matrix-filters] | ||
| uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml@main | ||
| #if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp | ||
| if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp | ||
| with: | ||
| build_type: pull-request | ||
| script: ci/test_cpp.sh | ||
|
|
@@ -210,7 +289,7 @@ jobs: | |
| conda-python-tests: | ||
| needs: [conda-python-build, changed-files, compute-matrix-filters] | ||
| uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@main | ||
| #if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python | ||
| if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_conda | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These skips have all been disabled for the last year: https://github.com/rapidsai/cuopt/pull/2244 From that PR, I'm really not sure why or what the issue was. But either way, that's a year of running more CI than necessary, which is a waste of money and time. Hopefully we can re-enable this now... it'd help get changes integrated faster and reduce |
||
| with: | ||
| run_codecov: false | ||
| build_type: pull-request | ||
|
|
@@ -224,9 +303,10 @@ jobs: | |
| script-env-secret-3-key: CUOPT_AWS_SECRET_ACCESS_KEY | ||
| script-env-secret-3-value: ${{ secrets.CUOPT_AWS_SECRET_ACCESS_KEY }} | ||
| docs-build: | ||
| needs: conda-python-build | ||
| needs: [conda-python-build, changed-files] | ||
| secrets: inherit | ||
| uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main | ||
| if: fromJSON(needs.changed-files.outputs.changed_file_groups).build_docs | ||
| with: | ||
| build_type: pull-request | ||
| node_type: "gpu-l4-latest-1" | ||
|
|
@@ -271,7 +351,7 @@ jobs: | |
| wheel-tests-cuopt: | ||
| needs: [wheel-build-cuopt, wheel-build-cuopt-mps-parser, wheel-build-cuopt-sh-client, changed-files, compute-matrix-filters] | ||
| uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@main | ||
| #if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_cuopt | ||
| if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_wheels | ||
| with: | ||
| build_type: pull-request | ||
| script: ci/test_wheel_cuopt.sh | ||
|
|
@@ -311,7 +391,7 @@ jobs: | |
| wheel-tests-cuopt-server: | ||
| needs: [wheel-build-cuopt, wheel-build-cuopt-server, changed-files, compute-matrix-filters] | ||
| uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@main | ||
| #if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_cuopt_server | ||
| if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_wheels | ||
| with: | ||
| build_type: pull-request | ||
| script: ci/test_wheel_cuopt_server.sh | ||
|
|
@@ -327,7 +407,7 @@ jobs: | |
| needs: [wheel-build-cuopt, wheel-build-cuopt-server, changed-files] | ||
| secrets: inherit | ||
| uses: ./.github/workflows/self_hosted_service_test.yaml | ||
| #if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python | ||
| if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_wheels | ||
| with: | ||
| build_type: pull-request | ||
| script: ci/test_self_hosted_service.sh | ||
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.
docs builds use GPU runners. Those runners are scarce, so it's worth skipping those jobs when they're not necessary (like when a PR only changes the Helm chart).