diff --git a/.github/workflows/hubble-ci.yml b/.github/workflows/hubble-ci.yml index 35016394b..de0de3ec7 100644 --- a/.github/workflows/hubble-ci.yml +++ b/.github/workflows/hubble-ci.yml @@ -76,6 +76,7 @@ jobs: run: | sudo pip install -r ${TRAVIS_DIR}/requirements.txt cd hugegraph-hubble + export CI=false mvn package -Dmaven.test.skip=true cd apache-hugegraph-hubble-incubating* cd bin diff --git a/.gitignore b/.gitignore index 5e8ef4968..9af98746e 100644 --- a/.gitignore +++ b/.gitignore @@ -43,7 +43,8 @@ build/ /hubble-fe/node_modules /hubble-fe/.pnp .pnp.js -/hugegraph-hubble/hubble-fe/node/node +/hugegraph-hubble/dist.sh +/hugegraph-hubble/hubble-fe/node/node* # testingå /hubble-fe/coverage @@ -99,4 +100,3 @@ Thumbs.db # client-go go.env - diff --git a/hugegraph-hubble/hubble-dist/pom.xml b/hugegraph-hubble/hubble-dist/pom.xml index c11a470dd..406004231 100644 --- a/hugegraph-hubble/hubble-dist/pom.xml +++ b/hugegraph-hubble/hubble-dist/pom.xml @@ -127,9 +127,6 @@ - cd ${hubble-fe.dir} || exit 1 - export CI=false - cd ${top.level.dir} && pwd rm -rf ${final.name}/ui cp -r ${hubble-fe.dir}/build ${final.name}/ui diff --git a/hugegraph-hubble/hubble-fe/package.json b/hugegraph-hubble/hubble-fe/package.json index 711ca918e..dd2a73608 100644 --- a/hugegraph-hubble/hubble-fe/package.json +++ b/hugegraph-hubble/hubble-fe/package.json @@ -49,7 +49,7 @@ }, "scripts": { "start": "react-app-rewired start", - "build": "CI=false && react-app-rewired build && yarn run license", + "build": "react-app-rewired build && yarn run license", "test": "react-app-rewired test", "license": "node add-license.js" },