Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[v1.9.x] Fix CD for pypi wheel version #20782

Merged
merged 4 commits into from
Dec 18, 2021

Conversation

josephevans
Copy link
Contributor

The CD uses "RELEASE_BUILD" variable for signifying an actual release (vs nightly.) Change the setup.py script to check for this variable, instead of "IS_RELEASE" which was not set anywhere.

@mxnet-bot
Copy link

Hey @josephevans , Thanks for submitting the PR
All tests are already queued to run once. If tests fail, you can trigger one or more tests again with the following commands:

  • To trigger all jobs: @mxnet-bot run ci [all]
  • To trigger specific jobs: @mxnet-bot run ci [job1, job2]

CI supported jobs: [sanity, windows-gpu, miscellaneous, windows-cpu, clang, unix-gpu, website, edge, centos-cpu, unix-cpu, centos-gpu]


Note:
Only following 3 categories can trigger CI :PR Author, MXNet Committer, Jenkins Admin.
All CI tests must pass before the PR can be merged.

@mseth10 mseth10 added the pr-awaiting-testing PR is reviewed and waiting CI build and test label Dec 17, 2021
@mseth10 mseth10 added pr-work-in-progress PR is still work in progress pr-awaiting-testing PR is reviewed and waiting CI build and test and removed pr-awaiting-testing PR is reviewed and waiting CI build and test pr-work-in-progress PR is still work in progress labels Dec 18, 2021
@mseth10 mseth10 removed the pr-awaiting-testing PR is reviewed and waiting CI build and test label Dec 18, 2021
@josephevans josephevans merged commit d5f25b9 into apache:v1.9.x Dec 18, 2021
@mseth10 mseth10 added the pr-awaiting-review PR is waiting for code review label Dec 18, 2021
@josephevans josephevans deleted the v1.9.x_cd_fixes branch December 18, 2021 03:43
josephevans added a commit to josephevans/mxnet that referenced this pull request Dec 20, 2021
* Change env variable used to detect whether it's a release build or not. RELEASE_BUILD is already setup in the CD pipeline.

* Refine how variable is compared to trigger release builds.

* Check for 'true' exclusively, to prevent unwanted release builds.

* Make sure we pass any environment variables on the build.py command line to the docker run command.
josephevans added a commit that referenced this pull request Dec 22, 2021
…from master (#20785)

* [v1.9.x] Fix CD for pypi wheel version (#20782)

* Change env variable used to detect whether it's a release build or not. RELEASE_BUILD is already setup in the CD pipeline.

* Refine how variable is compared to trigger release builds.

* Check for 'true' exclusively, to prevent unwanted release builds.

* Make sure we pass any environment variables on the build.py command line to the docker run command.

* [v1.9.x] Fix aarch64 cd pipeline (#20783)

* Add wheel to installed pip packages on aarch64, so we can build the wheel in the CD pipeline.

* Better support for aarch64 docker container cache.

* Only import machine() function from platform module, as platform variable is already widely used.

* Only build containers with aarch64 in name on aarch64.

* Make all arch defaults to local machine type.

* Retry getting test data to prevent CI tests from failing - increase connect timeout from 10 to 60sec, increase retry delay from 0 (setting duplicated) to 30, increase retry attempts to 5.

* Update website for v1.9.x branch. (#20786)

* [website] Fix broken website for master version  (#19945)

* fix website

* fix header

* fix index

* remove locall test

* fix main.scss

Co-authored-by: Wei Chu <weichu@amazon.com>

Co-authored-by: waytrue17 <52505574+waytrue17@users.noreply.github.com>
Co-authored-by: Wei Chu <weichu@amazon.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr-awaiting-review PR is waiting for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants