Page MenuHomeSealhub

jenkins.prepare.sh
No OneTemporary

jenkins.prepare.sh

#!/bin/bash -xe
set -e
docker-compose down
npm install @sealcode/sealgen
npx sealgen make-env
cp secrets.example.json secrets.json
export SEALIOUS_PORT="${PORT}0"
SEALIOUS_BASE_URL=$(cat .base_url)
export SEALIOUS_BASE_URL
echo "PORT=$PORT" >> .env
mkdir -p node_modules
mkdir -p docker_node_modules
# https://github.com/docker/compose/issues/4725
docker-compose build
docker-compose up -d db
./npm.sh --no-TTY ci && ./npm.sh --no-TTY run build
rm -f log.html

File Metadata

Mime Type
text/x-shellscript
Expires
Fri, Nov 22, 07:52 (20 m, 15 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
547638
Default Alt Text
jenkins.prepare.sh (468 B)

Event Timeline