Skip to content
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

fix: Update CI to use kokoro and build for OSX, Windows, Linux #214

Closed
wants to merge 108 commits into from

Conversation

vishwarajanand
Copy link
Contributor

Changes:

  1. This PR shows the placeholder changes intended for migrating GH actions build to an internal release platform called kokoro.
  2. Maybe fixes: Migrate Release Tooling #149
  3. We plan to do a dev package release with this branch

Note:

  1. Some cleanup might be needed in this PR and this is not the .

@andrewsg andrewsg force-pushed the migrate_release_kokoro branch from 7a2b4a5 to 7ce2730 Compare July 9, 2024 00:20
@andrewsg andrewsg force-pushed the migrate_release_kokoro branch from 2bfceac to 520437f Compare July 9, 2024 01:59
@andrewsg andrewsg force-pushed the migrate_release_kokoro branch from dfd4952 to 0d9d7e5 Compare July 9, 2024 02:50
@andrewsg andrewsg force-pushed the migrate_release_kokoro branch from c0f9308 to 3279df1 Compare July 9, 2024 05:43
@andrewsg andrewsg force-pushed the migrate_release_kokoro branch from 66bdb10 to 6d443cd Compare July 9, 2024 06:45
@rem Unfortunately pyenv for Windows has an out-of-date versions list. Choco's
@rem installer seems to have some problems with installing multiple versions at
@rem once, so as a workaround, we will install and then uninstall every version.
FOR %%P IN (3.8, 3.9, 3.10, 3.11, 3.12) DO (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chocolatey seems to translate, for example, 3.8 to 3.8.0 (see chocolatey/choco#800). So you might wanna use more specific versions here:

Suggested change
FOR %%P IN (3.8, 3.9, 3.10, 3.11, 3.12) DO (
FOR %%P IN (3.8.19, 3.9.19, 3.10.14, 3.11.9, 3.12.4) DO (

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, unfortunately, making that change will break the rest of the code around python versions, so I will need to do a translation. It's on the docket for later.

Comment on lines +81 to +88
# Upload wheels to GCS for debugging. Uncomment only when needed.

export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
gcloud auth activate-service-account --key-file=${GOOGLE_APPLICATION_CREDENTIALS}
ls ${REPO_ROOT}/wheels/
gsutil cp ${REPO_ROOT}/wheels/* gs://python_crc32c/
echo "Osx wheels uploaded successfully"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Upload wheels to GCS for debugging. Uncomment only when needed.
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
gcloud auth activate-service-account --key-file=${GOOGLE_APPLICATION_CREDENTIALS}
ls ${REPO_ROOT}/wheels/
gsutil cp ${REPO_ROOT}/wheels/* gs://python_crc32c/
echo "Osx wheels uploaded successfully"

Remove test code

@parthea parthea marked this pull request as draft August 12, 2024 23:09
@parthea
Copy link
Contributor

parthea commented Aug 23, 2024

Superseded by #234

@parthea parthea closed this Aug 23, 2024
parthea added a commit that referenced this pull request Aug 27, 2024
parthea added a commit that referenced this pull request Aug 27, 2024
* build: fix windows presubmit

* Apply fix from #214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge Indicates a pull request not ready for merge, due to either quality or timing. owlbot:ignore instruct owl-bot to ignore a PR size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate Release Tooling
5 participants