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

Consolidate uv version + add it to run-task image #581

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

ahal
Copy link
Collaborator

@ahal ahal commented Sep 26, 2024

No description provided.

This approach does set the arg for all images even though many of them
don't need it. But it's a no-op in this case, so this isn't really an
issue.
@ahal ahal requested a review from a team September 26, 2024 15:05
@ahal ahal self-assigned this Sep 26, 2024
@ahal ahal requested a review from bhearsum September 26, 2024 15:05
@ahal ahal marked this pull request as draft September 26, 2024 15:05
`run-task` now has a feature where it will use `uv` to install pip
packages, so it makes sense to include `uv` here as well.

Note the Decision image uses `run-task` as a base, so this is *not*
removing `uv` from there.
@ahal ahal marked this pull request as ready for review September 26, 2024 15:55
# Keep uv version in sync with decision image
COPY --from=ghcr.io/astral-sh/uv:0.4.9 /uv /bin/uv
# %ARG UV_VERSION
COPY --from=ghcr.io/astral-sh/uv:$UV_VERSION /uv /bin/uv
Copy link
Contributor

Choose a reason for hiding this comment

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

TIL you can copy from images outside of your own build. Neat.

@ahal ahal merged commit f632675 into taskcluster:main Oct 8, 2024
19 checks passed
@ahal ahal deleted the uv_version branch October 8, 2024 14:20
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.

2 participants