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

Create Google CDN Uploads App #460

Draft
wants to merge 6 commits into
base: sdaia-dev
Choose a base branch
from

Conversation

Faraz32123
Copy link

No description provided.

@Faraz32123 Faraz32123 marked this pull request as draft November 29, 2023 14:25
@Faraz32123 Faraz32123 force-pushed the create_google_cdn_upload_app branch 2 times, most recently from 757553f to ba816a2 Compare November 30, 2023 06:12
@Ali-Salman29 Ali-Salman29 force-pushed the create_google_cdn_upload_app branch 2 times, most recently from d69db75 to c58ebfc Compare December 1, 2023 07:29
@Ali-Salman29 Ali-Salman29 force-pushed the create_google_cdn_upload_app branch from c58ebfc to ed6ae31 Compare December 1, 2023 07:30
Ali Salman and others added 5 commits December 1, 2023 12:46
Implements the `npm run watch` section of the assets ADR [1], plus some
modifications since I decided to switch from pywatchman to watchdog (see
ADR changes for justification). This will replace `paver watch_assets`
(edx-platform) and `openedx-assets watch-themes` (Tutor).

Specifically, this PR adds three experimental commands:

* `npm run watch-sass` : Watch for Sass changes with watchdog.
* `npm run watch-webpack` : Invoke Webpack-watch for JS changes.
* `npm run watch` : Invoke both `watch-sass` and `watch-webpack` simultaneously.

These commands are only intended to work in development mode. They have
been tested both on bare-metal edx-platform and through `tutor dev run`
on on Linux.

Before removing the "experimental" label, we need to:

* Test through Devstack on Linux.
* Test through Devstack and `tutor dev run` on macOS.
* Test on bare-metal macOS. Might not work, which is OK, but we should
  document that.
* Document the commands in edx-platform's README.
* Confirm that this not only works through `tutor dev run`, but also as
  a suitable replacement in the `watchthemes` service that Tutor runs
  automatically as part of `tutor dev start`. Tweak if necessary.

References:

1. https://github.com/openedx/edx-platform/blob/master/docs/decisions/0017-reimplement-asset-processing.rst

Part of: openedx#31612
…RE-MERGE)

Re-merge of 4b64d83

The commit after this one contains the fix for the issue that led to the
revert.
…in CI (openedx#33142)

Without this change, `npm run postinstall` (aka
scripts/copy-node-modules.sh) uses `set -x`, which echo steps to STDERR.
By default, it seems that GitHub Actions doesn't show STDERR.

Having the steps visible in CI was very useful while debugging some
Tutor build improvements, so I figured it would be good to upstream the
change.
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