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

Refactor Dockerfile #390

Merged
merged 5 commits into from
Mar 21, 2024
Merged

Conversation

ErikDeSmedt
Copy link
Collaborator

This commit improves the dev-container

  • faster build-time
  • improved readability

@ErikDeSmedt ErikDeSmedt force-pushed the refactor-docker-file branch 11 times, most recently from 82007d1 to 9b7f6a5 Compare March 20, 2024 14:15
@ErikDeSmedt ErikDeSmedt marked this pull request as ready for review March 20, 2024 14:28
@ErikDeSmedt ErikDeSmedt force-pushed the refactor-docker-file branch from 9b7f6a5 to 673e08f Compare March 20, 2024 14:29
@ErikDeSmedt ErikDeSmedt force-pushed the refactor-docker-file branch from 05fb95c to 6b808e6 Compare March 20, 2024 14:50
@ErikDeSmedt
Copy link
Collaborator Author

@cdecker : The current failure is a flake. Could you re-run the pipeline

@cdecker
Copy link
Collaborator

cdecker commented Mar 20, 2024

Sure, making you an owner of the repo too 👍

@cdecker
Copy link
Collaborator

cdecker commented Mar 21, 2024

ACK 6b808e6

ErikDeSmedt and others added 5 commits March 21, 2024 14:28
This commit improves the dev-container
- faster build-time
- improved readability
- better caching

I've decided to not include any cargo compilation in the container.

The main reason is that this compilation from scratch is slow.
At build-time the container cannot use our cache in `/tmp/gltesting/target` and
`/tmp/gltesting/cargo/registry`.
Made it simpler.
In the previous version `mypy` didn't get installed correctly
This should speed up CI drastically
Ensure 8 tests run in paralel
@cdecker cdecker force-pushed the refactor-docker-file branch from 6b808e6 to b76b2c1 Compare March 21, 2024 13:28
@cdecker cdecker enabled auto-merge (rebase) March 21, 2024 13:29
@cdecker cdecker merged commit 0576ffb into Blockstream:main Mar 21, 2024
16 checks passed
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.

3 participants