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

build: take advantage of upstream static asset build improvements #31

Closed
wants to merge 18 commits into from

Conversation

kdmccormick
Copy link
Owner

@kdmccormick kdmccormick commented Jul 25, 2023

Superseded by #34


TODOs:

  • See if we can reduce the huge mount blocks a bit.
  • Merge edx-platform asset folder changes instead of patching in a PR.
  • Add changelog entry.
  • Test more thoroughly.
  • Circulate a TEP or some other form of proposal.
  • Deprecate patches that no longer exist or have changed.
  • Announce that buildkit is required (or pull that into a separate PR).
  • Decide whether to keep or remove symlinking of artifacts.
  • Decide whether to we want to link node_modules instead of installing it.

Part of: openedx/wg-devops#21

regisb and others added 12 commits August 28, 2023 09:42
This is a follow-up fix to overhangio#819, where the corresponding change was
added to the mysqld invocation in the "tutor local" (that is,
docker-compose) deployment method, but omitted from its "tutor k8s"
equivalent.
Now that sphinx_rtd support docutils>=0.19 we can drop that max version
requirement. But we need to limit sphinx max version because they
removed python 3.8 support before EOL.
Type tests were broken following the upgrade of click. We take the
opportunity to simplify the TutorCli implementation.
TODOs:
* describe commit
* address TODOs in code
* should it be `tutor dev populate-mounts` instead?
* add to `tutor dev launch`?
* circulate a TEP?

Part of: TODO link ticket
@kdmccormick kdmccormick force-pushed the kdmccormick/new-assets branch 2 times, most recently from 8277e31 to ed40169 Compare August 31, 2023 21:54
BuildKit replaces and improves the legacy Docker builder, which was
deprecated back in Feb 2023. Assuming BuildKit allows us to simplify the
Dockerfile and makes future build performance improvements easier. The
Docker versions which Tutor recommends (v20+) all come with BuildKit, so

As follow-up work, we will need to remove `is_buildkit_enabled` from
the official plugins templates.

Relevant discussion:
overhangio#868 (comment)
TODOs:
* See if we can reduce the huge mount blocks a bit.
* Merge edx-platform asset folder changes instead of patching in a PR.
* Add changelog entry.
* Test more thoroughly.
* Circulate a TEP or some other form of proposal?
* Deprecate patches that no longer exist or have changed.

Part of: https://github.com/openedx/wg-developer-experience/issues/166
TODO:
* Changelog entry
* Comments
* Linting
* Tests
* TEP
@kdmccormick
Copy link
Owner Author

Closed in favor of #34

@kdmccormick kdmccormick closed this Oct 5, 2023
@kdmccormick kdmccormick deleted the kdmccormick/new-assets branch October 5, 2023 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants