Skip to content

Reusable docker build workflow#142109

Closed
huydhn wants to merge 15 commits into
pytorch:mainfrom
huydhn:wait-for-docker-build
Closed

Reusable docker build workflow#142109
huydhn wants to merge 15 commits into
pytorch:mainfrom
huydhn:wait-for-docker-build

Conversation

@huydhn

@huydhn huydhn commented Dec 5, 2024

Copy link
Copy Markdown
Contributor

Make docker build workflow reusable so that others can call it and build the docker images before going into build jobs. Each workflow can then request which images it needs.

I'm also refactoring all workflows that have failures showing up in trunk when .ci/docker is updated.

Fixes #141885

Testing

@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Dec 5, 2024
@pytorch-bot

pytorch-bot Bot commented Dec 5, 2024

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/142109

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 0d1457c with merge base 45583a5 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@huydhn huydhn marked this pull request as ready for review December 5, 2024 07:14
@huydhn huydhn requested review from a team and jeffdaily as code owners December 5, 2024 07:14
@huydhn huydhn added the ciflow/trunk Trigger trunk jobs on your pull request label Dec 5, 2024

@malfet malfet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This will introduce additional 7+ min 99% of times no-op step on linux.12x-large, wouldn't it?

@huydhn

huydhn commented Dec 5, 2024

Copy link
Copy Markdown
Contributor Author

This will introduce additional 7+ min 99% of times no-op step on linux.12x-large, wouldn't it?

Yeah, this approach needs to checkout PyTorch and check if the image exists. So, it we go with this, that's the cost to pay.

@huydhn

huydhn commented Dec 5, 2024

Copy link
Copy Markdown
Contributor Author

Close in favor of pytorch/test-infra#6013

@huydhn huydhn closed this Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request test-config/default topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jobs failing on Calculate Docker image step when modifying Docker files

2 participants