mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-09 17:37:44 +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
|
- sudo chmod 777 /tmp/registry.db
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- sudo cp ./src/ui_ng/package.json ./src/ui_ng/src
|
||||||
- sudo mkdir -p /etc/ui/ca/
|
- sudo mkdir -p /etc/ui/ca/
|
||||||
- sudo mv ./tests/ca.crt /etc/ui/ca/
|
- sudo mv ./tests/ca.crt /etc/ui/ca/
|
||||||
- sudo mkdir -p /harbor
|
- sudo mkdir -p /harbor
|
||||||
|
@ -18,6 +18,7 @@ if [ ! -z "$npm_proxy" -a "$npm_proxy" != " " ]; then
|
|||||||
npm config set proxy $npm_proxy
|
npm config set proxy $npm_proxy
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cp ./src/package.json .
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
./node_modules/.bin/ngc -p tsconfig-aot.json
|
./node_modules/.bin/ngc -p tsconfig-aot.json
|
||||||
|
Loading…
Reference in New Issue
Block a user