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

Add edxapp-nginx extras #184

Merged
merged 3 commits into from
Jan 20, 2020
Merged

Add edxapp-nginx extras #184

merged 3 commits into from
Jan 20, 2020

Conversation

jmaupetit
Copy link
Contributor

@jmaupetit jmaupetit commented Jan 15, 2020

Purpose

We need a way to bundle an openedx release assets with the nginx image that will serve them to avoid side-effects in our deployment procedure (see the Arnold project).

Proposal

Current work copy files collected in the edxapp release and replace duplicates by symlinks to save disk space and network bandwidth (up to 65%):

dogwood.3-1.2.1          	529MB
dogwood.3-1.2.1-slim     	198MB
eucalyptus.3-1.1.1       	573MB
eucalyptus.3-1.1.1-slim  	222MB
hawthorn.1-3.0.0         	959MB
hawthorn.1-3.0.0-slim    	320MB
hawthorn.1-oee-3.0.0     	960MB
hawthorn.1-oee-3.0.0-slim	320MB

*-slim images have been generated with the aforementioned optimization.

During this work, I've also:

  • upgrade the CI docker-compose release to 1.25.1
  • fix eucalyptus/3/wb git branch reference

@jmaupetit jmaupetit added feature WIP Work In Progress labels Jan 15, 2020
@jmaupetit jmaupetit self-assigned this Jan 15, 2020
@sampaccoud
Copy link
Contributor

The question is: do we really need the "non-slim" images... is slim not the one and only edxapp-nginx image!?

@jmaupetit
Copy link
Contributor Author

The question is: do we really need the "non-slim" images... is slim not the one and only edxapp-nginx image!?

Of course we won't build or use non-slim image! This table's purpose is to quantify the image size variation with and without rdfind usage.

extras/nginx/Dockerfile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
@jmaupetit
Copy link
Contributor Author

@lunika I've added a fixup commit for your comment. Feel free to review it once again 🙏

@jmaupetit jmaupetit force-pushed the add-statics-in-nginx branch 3 times, most recently from f1440ac to d571494 Compare January 20, 2020 10:23
We need a way to bundle an openedx release assets with the nginx image
that will serve them to avoid side-effects in our deployment procedure
(see the Arnold project).

Current work copy files collected in the edxapp release and replace
duplicates by symlinks to save disk space and network bandwidth (up to
65%):

dogwood.3-1.2.1            529MB
dogwood.3-1.2.1-slim       198MB
eucalyptus.3-1.1.1         573MB
eucalyptus.3-1.1.1-slim    222MB
hawthorn.1-3.0.0           959MB
hawthorn.1-3.0.0-slim      320MB
hawthorn.1-oee-3.0.0       960MB
hawthorn.1-oee-3.0.0-slim  320MB

*-slim images have been generated with the aforementioned optimization.
We recently cleaned and renamed branches from our edx/edx-platform
branch. The `fun/whitebrand` has been renamed `eucalyptus.3-wb` for
cross-project consistency.
@jmaupetit jmaupetit merged commit 0b60c2d into master Jan 20, 2020
@jmaupetit jmaupetit deleted the add-statics-in-nginx branch January 20, 2020 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants