-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: generate enclave manager ui in build process and check prettier (…
…#1717) ## Description: This pr includes the new enclave manager in the build process - specifically in the `engine` build process. This removes the need to commit the built emui to the codebase. Additionally `yarn prettier` is added as a build step to the emui, which will fail the build if prettier has not been run (as is currently the case in main). This change also includes a fix to all linting warnings, so that there are no warnings in the production build. ## Is this change user facing? NO ## References (if applicable): * devconnect burndown
- Loading branch information
Showing
17 changed files
with
95 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
# 2021-07-08 WATERMARK, DO NOT REMOVE - This script was generated from the Kurtosis Bash script template | ||
|
||
set -euo pipefail # Bash "strict mode" | ||
script_dirpath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
root_dirpath="$(dirname "${script_dirpath}")" | ||
|
||
|
||
|
||
# ================================================================================================== | ||
# Constants | ||
# ================================================================================================== | ||
BUILD_SCRIPT_RELATIVE_FILEPATHS=( | ||
"api/scripts/build.sh" | ||
"web/scripts/build.sh" | ||
) | ||
|
||
|
||
# ================================================================================================== | ||
# Main Logic | ||
# ================================================================================================== | ||
for build_script_rel_filepath in "${BUILD_SCRIPT_RELATIVE_FILEPATHS[@]}"; do | ||
build_script_abs_filepath="${root_dirpath}/${build_script_rel_filepath}" | ||
if ! bash "${build_script_abs_filepath}"; then | ||
echo "Error: Build script '${build_script_abs_filepath}' failed" >&2 | ||
exit 1 | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# The webapp is generated by the enclave-manager/web build process | ||
webapp/ |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
116 changes: 0 additions & 116 deletions
116
engine/server/webapp/static/js/main.efcd178a.js.LICENSE.txt
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters