-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Oleksii Orel <[email protected]>
- Loading branch information
Showing
11 changed files
with
71 additions
and
139 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,13 +14,13 @@ components: | |
endpoints: | ||
- exposure: public | ||
name: local-server | ||
protocol: http | ||
protocol: https | ||
targetPort: 8080 | ||
path: / | ||
- exposure: public | ||
name: bundle-analyzer | ||
path: / | ||
protocol: http | ||
protocol: https | ||
targetPort: 8888 | ||
env: | ||
- name: KUBEDOCK_ENABLED | ||
|
@@ -31,7 +31,7 @@ commands: | |
label: "[UD] install dependencies" | ||
component: tools | ||
workingDir: ${PROJECT_SOURCE} | ||
commandLine: "yarn install --non-interactive" | ||
commandLine: "yarn install" | ||
group: | ||
kind: build | ||
isDefault: true | ||
|
@@ -40,7 +40,7 @@ commands: | |
label: "[UD] build" | ||
component: tools | ||
workingDir: ${PROJECT_SOURCE} | ||
commandLine: "yarn install --non-interactive && yarn build" | ||
commandLine: "yarn install && yarn build" | ||
group: | ||
kind: build | ||
- id: watchfrontend | ||
|
@@ -115,11 +115,3 @@ commands: | |
commandLine: "yarn --cwd packages/dashboard-backend build --env bundleAnalyzer=true" | ||
group: | ||
kind: build | ||
- id: install-requirements | ||
exec: | ||
component: tools | ||
commandLine: "npm i [email protected] -g" | ||
label: Install [email protected] | ||
events: | ||
postStart: | ||
- "install-requirements" |
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
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,23 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright (c) 2021-2024 Red Hat, Inc. | ||
# This program and the accompanying materials are made | ||
# available under the terms of the Eclipse Public License 2.0 | ||
# which is available at https://www.eclipse.org/legal/epl-2.0/ | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
|
||
set -e | ||
|
||
SHORT_UNAME=$(uname -s) | ||
if [ "$(uname)" == "Darwin" ]; then | ||
sed -i '' "$@" | ||
elif [ "${SHORT_UNAME:0:5}" == "Linux" ]; then | ||
sed -i "$@" | ||
else | ||
echo "Unknown OS" | ||
exit 1 | ||
fi | ||
|
||
exit 0 |