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

Consider using full GH runner in CI #865

Closed
Kailai-Wang opened this issue Oct 3, 2022 · 1 comment · Fixed by #937
Closed

Consider using full GH runner in CI #865

Kailai-Wang opened this issue Oct 3, 2022 · 1 comment · Fixed by #937
Assignees
Labels
D1-feature A new feature, a piece of functionality that needs to be developed I2-medium should be completed within 10 working days

Comments

@Kailai-Wang
Copy link
Collaborator

Context

We are using self-hosted runner to build docker images in our CI so far, see:
#259
#393
#409

the main reason is self-hosted runner is much faster than GH-runner: ~20m vs 1h
But now self-hosted runner needs 40min as well to build the docker image (mostly because of polkadot update that introduces more compilation deps).

Maybe it's worth checking again how long the compilation on GH-runner would be and switch to it when possible. It will help concurrent CI runs.


✔️ Please set appropriate labels and assignees if applicable.

@Kailai-Wang Kailai-Wang added I2-medium should be completed within 10 working days D1-feature A new feature, a piece of functionality that needs to be developed labels Oct 3, 2022
@Kailai-Wang
Copy link
Collaborator Author

sccache within Dockerfile only works with self-hosted runner.

Switching to gh-runner only makes sense unless we want to use cargo-chef + buildx local/gha cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D1-feature A new feature, a piece of functionality that needs to be developed I2-medium should be completed within 10 working days
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants