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

[OpenXLA-pin-update trigger] Create _openxla_pin_update_weekly.yml #7108

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

ManfeiBai
Copy link
Collaborator

Add Github Action to create workflow enable create OpenXLA-pin update PR weekly Monday 9:00AM automatically

@ManfeiBai ManfeiBai marked this pull request as ready for review May 24, 2024 17:48
@ManfeiBai
Copy link
Collaborator Author

according to https://github.com/orgs/community/discussions/25746, we might be able to test this automatic OpenXLA-pin update trigger after we push this PR to master branch

please correct me if I missed anything

@JackCaoG
Copy link
Collaborator

@will-cromar can you take a look?

Copy link
Collaborator

@will-cromar will-cromar left a comment

Choose a reason for hiding this comment

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

Thanks! This is a neat idea

.github/workflows/_openxla_pin_update_weekly.yml Outdated Show resolved Hide resolved
.github/workflows/_openxla_pin_update_weekly.yml Outdated Show resolved Hide resolved
.github/workflows/_openxla_pin_update_weekly.yml Outdated Show resolved Hide resolved
.github/workflows/_openxla_pin_update_weekly.yml Outdated Show resolved Hide resolved
.github/workflows/_openxla_pin_update_weekly.yml Outdated Show resolved Hide resolved
.github/workflows/_openxla_pin_update_weekly.yml Outdated Show resolved Hide resolved
.github/workflows/openxla_pin_update_weekly.yml Outdated Show resolved Hide resolved
.github/workflows/openxla_pin_update_weekly.yml Outdated Show resolved Hide resolved

- name: Get JAX version for specified date
run: |
JAX_VERSION=$(curl -s https://storage.googleapis.com/jax-releases/jax_releases.json | jq -r '.[] | select(.released_on == "${{ env.CURRENT_DATE }}") | .version')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is https://storage.googleapis.com/jax-releases/jax_releases.json the correct path? I don't see a JSON file when I gsutil ls gs://jax-releases.

$ curl https://storage.googleapis.com/jax-releases/jax_releases.json
<?xml version='1.0' encoding='UTF-8'?><Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Details>No such object: jax-releases/jax_releases.json</Details></Error

title: "Weekly Code Update - ${{ env.CURRENT_DATE }}"
body: "This PR contains the weekly OpenXLA-pin update at commit: (HEAD commit: ${{ env.HEAD_COMMIT }}), with libtpu version at ${{ env.CURRENT_DATE }}."

- name: Add TPUCI label
Copy link
Collaborator

Choose a reason for hiding this comment

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

create-pull-request has a labels option: https://github.com/marketplace/actions/create-pull-request#action-inputs

If the label is not on the PR when it is created, the TPU CI will not run.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

good suggestion, have we used create-pull-request before? wanna confirm before use

.github/workflows/openxla_pin_update_weekly.yml Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants