-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3554ba2
commit a688554
Showing
4 changed files
with
33 additions
and
0 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 |
---|---|---|
|
@@ -11,3 +11,5 @@ node_modules | |
results | ||
yarn.lock | ||
/public | ||
|
||
!.s2i/bin/ |
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 @@ | ||
#!/bin/bash | ||
|
||
echo "Default S2I assemble script will begin" | ||
|
||
# TODO: Analyze how to use the default assemble or remove the call below and do a manual script merge for a complete custom assemble | ||
/usr/libexec/s2i/assemble | ||
rc=$? | ||
|
||
if [ $rc -eq 0 ]; then | ||
echo "After successful default S2I assembling" | ||
echo "Starting custom S2I assembling" | ||
|
||
npm install -g pnpm | ||
|
||
make install | ||
|
||
# set permissions for any installed artifacts | ||
fix-permissions ./ | ||
|
||
# manually set permission to instance-wrapper | ||
chmod +x ./instance-wrapper | ||
|
||
echo "End of custom S2I assembling" | ||
else | ||
echo "After failed S2I assembling" | ||
fi | ||
|
||
exit $rc |
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 @@ | ||
NODE_CMD="make start" |
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 @@ | ||
#!/bin/bash | ||
make start |