mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 08:38:03 +01:00
Update for harbor UI builder image.
This commit is contained in:
parent
1d98212d60
commit
eddde3c804
@ -97,7 +97,7 @@ script:
|
||||
- docker-compose -f make/docker-compose.test.yml down
|
||||
- sudo rm -rf /data/config/*
|
||||
- ls /data/cert
|
||||
- sudo make install GOBUILDIMAGE=golang:1.7.3 COMPILETAG=compile_golangimage CLARITYIMAGE=vmware/harbor-clarity-ui-builder:1.1.0 NOTARYFLAG=true
|
||||
- sudo make install GOBUILDIMAGE=golang:1.7.3 COMPILETAG=compile_golangimage CLARITYIMAGE=vmware/harbor-clarity-ui-builder:1.1.1 NOTARYFLAG=true
|
||||
|
||||
- docker ps
|
||||
- ./tests/notarytest.sh
|
||||
|
2
Makefile
2
Makefile
@ -91,7 +91,7 @@ NEWCLARITYVERSION=
|
||||
|
||||
#clarity parameters
|
||||
CLARITYIMAGE=vmware/harbor-clarity-ui-builder[:tag]
|
||||
CLARITYSEEDPATH=/clarity-seed
|
||||
CLARITYSEEDPATH=/harbor_ui
|
||||
CLARITYBUILDSCRIPT=/entrypoint.sh
|
||||
|
||||
# docker parameters
|
||||
|
@ -1,20 +1,20 @@
|
||||
FROM node:7.5.0
|
||||
|
||||
RUN mkdir -p /clarity-seed
|
||||
RUN mkdir -p /harbor_ui
|
||||
|
||||
COPY src/ui_ng/package.json /clarity-seed
|
||||
COPY src/ui_ng/tslint.json /clarity-seed
|
||||
COPY src/ui_ng/typings.json /clarity-seed
|
||||
COPY src/ui_ng/yarn.lock /clarity-seed
|
||||
COPY make/dev/nodeclarity/angular-cli.json /clarity-seed
|
||||
COPY src/ui_ng/package.json /harbor_ui
|
||||
COPY src/ui_ng/tslint.json /harbor_ui
|
||||
COPY src/ui_ng/typings.json /harbor_ui
|
||||
COPY src/ui_ng/yarn.lock /harbor_ui
|
||||
COPY make/dev/nodeclarity/angular-cli.json /harbor_ui
|
||||
COPY make/dev/nodeclarity/entrypoint.sh /
|
||||
|
||||
COPY src/ui_ng/tsconfig-aot.json /clarity-seed
|
||||
COPY src/ui_ng/rollup-config.js /clarity-seed
|
||||
COPY src/ui_ng/tsconfig-aot.json /harbor_ui
|
||||
COPY src/ui_ng/rollup-config.js /harbor_ui
|
||||
|
||||
WORKDIR /clarity-seed
|
||||
WORKDIR /harbor_ui
|
||||
|
||||
RUN npm __proxy__ install -g @angular/cli && \
|
||||
npm __proxy__ install && \
|
||||
chmod u+x /entrypoint.sh
|
||||
VOLUME ["/clarity-seed", "/clarity-seed/dist"]
|
||||
VOLUME ["/harbor_ui", "/harbor_ui/dist"]
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"project": {
|
||||
"version": "1.0.0-beta.20-4",
|
||||
"name": "clarity-seed"
|
||||
"version": "1.1.0",
|
||||
"name": "Harbor"
|
||||
},
|
||||
"apps": [
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
cd /clarity-seed
|
||||
cd /harbor_ui
|
||||
rm -rf dist/*
|
||||
|
||||
npm_proxy=
|
||||
|
Loading…
Reference in New Issue
Block a user