Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F996348
jenkins.prepare.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
833 B
Referenced Files
None
Subscribers
None
jenkins.prepare.sh
View Options
#!/bin/bash
set
-e
docker-compose
down
cp
secrets.example.json
secrets.json
export
SEALIOUS_PORT
=
"
${
PORT
}
0"
SEALIOUS_BASE_URL
=
$(
cat
.base_url
)
export
SEALIOUS_BASE_URL
# Create the npm cache directory if it isn't present yet. If it is not present, it will be created
# when the docker image is being built with root:root as the owner.
mkdir
-p
~/.npm_cacache
# Create .npm directory in the container, since it is not yet present and we need it for next step.
docker-compose
run
--user
=
"
$UID
"
--rm
--service-ports
test
mkdir
-p
/opt/sealious/.npm
# Link the host-bound npm cache directory into the container's npm cache directory.
docker-compose
run
--user
=
"
$UID
"
--rm
--service-ports
test
ln
-s
/opt/sealious/.npm_cacache
/opt/sealious/.npm/_cacache
docker-compose
up
-d
db
./npm.sh
ci
./npm.sh
run
build:back
;
rm
-f
log.html
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Tue, Dec 24, 14:02 (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
557198
Default Alt Text
jenkins.prepare.sh (833 B)
Attached To
Mode
rREWRITE Configurable rewriter
Attached
Detach File
Event Timeline
Log In to Comment