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

[v10] Enable building with the new UI location #21226

Merged
merged 16 commits into from
Feb 3, 2023

Conversation

hatched
Copy link
Contributor

@hatched hatched commented Feb 3, 2023

After merging the webapps repository this updates all the necessary code to have it build correctly.

hatched and others added 14 commits February 3, 2023 10:13
Set the current user when running webassets builds. In this way, the build artifacts will have correct permissions.
* Conditionally build the UI if there are changes.

`ensure-webassets` and `ensure-webassets-e` will now build the UI if the
hash-of-hashes has changed since the last time the webassets were built.

* Update Makefile

Co-authored-by: Jeff Pihach <[email protected]>

* Check for the existence of the make command.

* Choose a shasum exec from a preconfigured list or use an override.

* Shellcheck fix.

* Remove yarn.lock from sha calculation.

* Recalc SHA on successful build.

* Fix linting issues.

* Use Python instead of shasum.

* Remove unnecessary comments from sh file.

* Unconditionally rebuild if Python executable is not found.

* Revert "Unconditionally rebuild if Python executable is not found."

This reverts commit 9d2b0e3.

* Revert "Remove unnecessary comments from sh file."

This reverts commit 600e028.

* Revert use of Python, use simplified shell scripting.

* Linting fixes.

* Apply suggestions from code review

Co-authored-by: Edoardo Spadolini <[email protected]>

* Remove reference to realpath as apparently the MacOS builder doesn't have it.

* calculate_sha must return 0.

* Use echo in calculate_sha or else set -o pipefail causes failures.

* Suppress SC2005.

---------

Co-authored-by: Jeff Pihach <[email protected]>
Co-authored-by: Edoardo Spadolini <[email protected]>
* Move lint commands to root package.json

* Correctly resolve e-teleport paths.

* Fix prettier issues.

* move eslint configuration files to root.

* resolve lint errors.
This resolves an issue when starting an SSH session from the web UI,
and also fixes the out-of-date lock file.
* Move jest, eslint & prettier to the root

* Update e ref
@hatched hatched enabled auto-merge (squash) February 3, 2023 16:52
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from ravicious February 3, 2023 16:55
@hatched hatched merged commit f1673c1 into branch/v10 Feb 3, 2023
@hatched hatched deleted the hatched/enable-building-v10 branch March 30, 2023 17:06
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.

9 participants