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

Switch build environment to rustops/crates-build-env #376

Merged
merged 4 commits into from Dec 16, 2018

Conversation

Projects
None yet
2 participants
@pietroalbini
Copy link
Member

pietroalbini commented Dec 15, 2018

This PR switches the build environment used by Crater to the Docker image built in the rust-ops/crates-build-env repository. Instead of installing GTK and all the suggested stuff and hoping for the best, the new image installs a curated set of packages built over time by the docs.rs developers (thanks @onur!) which weights about 3GB (1GB compressed download).

The image is also downloaded from Docker Hub instead of being built locally, and it's automatically updated every time a run is started. This also means prepare-local is no longer needed if you only want to execute a run (creating new ones still requires the command).

This PR also removes the distinction between the mini and the full images, since the new image has a reasonable size for local development and it's prebuilt.

@pietroalbini

This comment has been minimized.

Copy link
Member Author

pietroalbini commented Dec 15, 2018

@bors r+

@bors

This comment has been minimized.

Copy link
Collaborator

bors commented Dec 15, 2018

📌 Commit 06aa663 has been approved by pietroalbini

@bors

This comment has been minimized.

Copy link
Collaborator

bors commented Dec 15, 2018

⌛️ Testing commit 06aa663 with merge 76675fa...

bors added a commit that referenced this pull request Dec 15, 2018

Auto merge of #376 - pietroalbini:crates-build-env, r=pietroalbini
Switch build environment to rustops/crates-build-env

This PR switches the build environment used by Crater to the Docker image built in the [rust-ops/crates-build-env](https://github.com/rust-ops/crates-build-env) repository. Instead of installing GTK and all the suggested stuff and hoping for the best, the new image installs a curated set of packages built over time by the docs.rs developers (thanks @onur!) which weights about 3GB (1GB compressed download).

The image is also downloaded from Docker Hub instead of being built locally, and it's automatically updated every time a run is started. This also means `prepare-local` is no longer needed if you only want to execute a run (creating new ones still requires the command).

This PR also removes the distinction between the mini and the full images, since the new image has a reasonable size for local development and it's prebuilt.
@bors

This comment has been minimized.

Copy link
Collaborator

bors commented Dec 16, 2018

💔 Test failed - status-travis

pietroalbini added some commits Dec 13, 2018

@pietroalbini pietroalbini force-pushed the pietroalbini:crates-build-env branch from 06aa663 to 5f76a0e Dec 16, 2018

@pietroalbini

This comment has been minimized.

Copy link
Member Author

pietroalbini commented Dec 16, 2018

@bors r+

Why do I even bother pushing code at midnight...

@bors

This comment has been minimized.

Copy link
Collaborator

bors commented Dec 16, 2018

📌 Commit 5f76a0e has been approved by pietroalbini

@bors

This comment has been minimized.

Copy link
Collaborator

bors commented Dec 16, 2018

⌛️ Testing commit 5f76a0e with merge 92b21b9...

bors added a commit that referenced this pull request Dec 16, 2018

Auto merge of #376 - pietroalbini:crates-build-env, r=pietroalbini
Switch build environment to rustops/crates-build-env

This PR switches the build environment used by Crater to the Docker image built in the [rust-ops/crates-build-env](https://github.com/rust-ops/crates-build-env) repository. Instead of installing GTK and all the suggested stuff and hoping for the best, the new image installs a curated set of packages built over time by the docs.rs developers (thanks @onur!) which weights about 3GB (1GB compressed download).

The image is also downloaded from Docker Hub instead of being built locally, and it's automatically updated every time a run is started. This also means `prepare-local` is no longer needed if you only want to execute a run (creating new ones still requires the command).

This PR also removes the distinction between the mini and the full images, since the new image has a reasonable size for local development and it's prebuilt.
@pietroalbini

This comment has been minimized.

Copy link
Member Author

pietroalbini commented Dec 16, 2018

@bors retry

@bors

This comment has been minimized.

Copy link
Collaborator

bors commented Dec 16, 2018

⌛️ Testing commit 5f76a0e with merge 534790f...

bors added a commit that referenced this pull request Dec 16, 2018

Auto merge of #376 - pietroalbini:crates-build-env, r=pietroalbini
Switch build environment to rustops/crates-build-env

This PR switches the build environment used by Crater to the Docker image built in the [rust-ops/crates-build-env](https://github.com/rust-ops/crates-build-env) repository. Instead of installing GTK and all the suggested stuff and hoping for the best, the new image installs a curated set of packages built over time by the docs.rs developers (thanks @onur!) which weights about 3GB (1GB compressed download).

The image is also downloaded from Docker Hub instead of being built locally, and it's automatically updated every time a run is started. This also means `prepare-local` is no longer needed if you only want to execute a run (creating new ones still requires the command).

This PR also removes the distinction between the mini and the full images, since the new image has a reasonable size for local development and it's prebuilt.
@bors

This comment has been minimized.

Copy link
Collaborator

bors commented Dec 16, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: pietroalbini
Pushing 534790f to master...

@bors bors merged commit 5f76a0e into rust-lang-nursery:master Dec 16, 2018

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details

@pietroalbini pietroalbini deleted the pietroalbini:crates-build-env branch Dec 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.