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

[WIP] Predownload wheel sources #4971

Closed
wants to merge 29 commits into from

Conversation

th0ma7
Copy link
Contributor

@th0ma7 th0ma7 commented Nov 14, 2021

Motivation: In order to eliminate connection timeout try to pre-download wheels at the start of the build process so all arch builds can then refer to it afterwards.
Linked issues: #4951 and #4968

Checklist

  • Build rule all-supported completed successfully
  • Package upgrade completed successfully
  • New installation of package completed successfully

@th0ma7 th0ma7 requested a review from publicarray November 14, 2021 17:33
@th0ma7
Copy link
Contributor Author

th0ma7 commented Nov 14, 2021

@publicarray I have no clue if this will work as it requires poetry to be part of the base image (will it be automagically updated?) and really I just shot into the dark for the github-action part.

@th0ma7 th0ma7 linked an issue Nov 14, 2021 that may be closed by this pull request
@th0ma7
Copy link
Contributor Author

th0ma7 commented Nov 14, 2021

@publicarray I've looked at the logs and it didn't ran the github-action part, neither I believe the docker was update (but ain't sure).

@publicarray
Copy link
Member

The action did run but I think an if/else might be the wrong way around. It didn't actually build however it did login and out of the docker repository

@publicarray
Copy link
Member

The docker build should only be uploaded when it's on the master branch. Doing this in a pr only serves to know if the build will pass or fail

Dockerfile Outdated Show resolved Hide resolved
@th0ma7 th0ma7 force-pushed the predownload-wheels branch from 7b6bd12 to b07d980 Compare November 18, 2021 00:36
Copy link
Member

@publicarray publicarray left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for this. But yea I can't actually test the code, this is only a visual review. Sorry if it's different than usual I'm reviewing using iOS

Dockerfile Outdated Show resolved Hide resolved
mk/spksrc.common.mk Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
.github/actions/download.sh Outdated Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
mk/spksrc.common.mk Outdated Show resolved Hide resolved
SPK_REV = 6
SPK_REV = 7
Copy link
Member

@publicarray publicarray Nov 21, 2021

Choose a reason for hiding this comment

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

Just a reminder to undo these changes before merging

@th0ma7 th0ma7 force-pushed the predownload-wheels branch from cae8607 to 80998df Compare December 17, 2021 11:05
mk/spksrc.spk.mk Outdated Show resolved Hide resolved
@th0ma7 th0ma7 force-pushed the predownload-wheels branch from 9681e98 to d041067 Compare December 19, 2021 12:37
@th0ma7 th0ma7 force-pushed the predownload-wheels branch from 6799801 to 0bdfb50 Compare December 19, 2021 19:37
@th0ma7 th0ma7 force-pushed the predownload-wheels branch from 0bdfb50 to 5c17b89 Compare January 7, 2022 16:42
@th0ma7 th0ma7 changed the title Predownload wheels [WIP] Predownload wheels Jan 7, 2022
@th0ma7 th0ma7 mentioned this pull request Jan 9, 2022
10 tasks
@th0ma7 th0ma7 changed the title [WIP] Predownload wheels [WIP] Predownload wheel sources Mar 24, 2022
@th0ma7 th0ma7 force-pushed the predownload-wheels branch from 5add722 to 7553a4d Compare March 24, 2022 18:34
@th0ma7 th0ma7 mentioned this pull request Sep 20, 2022
14 tasks
@th0ma7
Copy link
Contributor Author

th0ma7 commented Aug 12, 2023

Superseeded by #5820

@th0ma7 th0ma7 closed this Aug 12, 2023
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.

Download wheels sources part of the download source action
4 participants