Skip to content

[Amplify] Optimize previews build time#533

Merged
dgarcia360 merged 1 commit intoscylladb:masterfrom
dgarcia360:optimize-preview-build-time
Aug 5, 2022
Merged

[Amplify] Optimize previews build time#533
dgarcia360 merged 1 commit intoscylladb:masterfrom
dgarcia360:optimize-preview-build-time

Conversation

@dgarcia360
Copy link
Copy Markdown
Collaborator

@dgarcia360 dgarcia360 commented Jul 26, 2022

Motivation

In #531, we detected that preview builds on the scylla repo take around 4 minutes, and that 1:40 of this time is spent on provisioning the image and installing Python.

To reduce the build time, I propose to replace the default image provided by Amazon with the Python official image from Docker that comes with Python and pip pre-installed.

Results

With this change, the time spent on provisioning the image gets reduced from 1:40 min to 1 min.

Copy link
Copy Markdown
Collaborator

@annastuchlik annastuchlik left a comment

Choose a reason for hiding this comment

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

LGTM

@dgarcia360 dgarcia360 merged commit ce3b763 into scylladb:master Aug 5, 2022
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.

2 participants