mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-08 17:08:17 +01:00
Update ui building process
This commit is contained in:
parent
fde171bcb3
commit
deeb37ac87
@ -74,6 +74,7 @@ before_script:
|
||||
- sudo chmod 777 /tmp/registry.db
|
||||
|
||||
script:
|
||||
- sudo cp ./src/ui_ng/package.json ./src/ui_ng/src
|
||||
- sudo mkdir -p /etc/ui/ca/
|
||||
- sudo mv ./tests/ca.crt /etc/ui/ca/
|
||||
- sudo mkdir -p /harbor
|
||||
|
@ -18,6 +18,7 @@ if [ ! -z "$npm_proxy" -a "$npm_proxy" != " " ]; then
|
||||
npm config set proxy $npm_proxy
|
||||
fi
|
||||
|
||||
cp ./src/package.json .
|
||||
npm install
|
||||
|
||||
./node_modules/.bin/ngc -p tsconfig-aot.json
|
||||
|
Loading…
Reference in New Issue
Block a user