Compare commits

...

2 Commits

Author SHA1 Message Date
jiannibang fa7bac5767 fix: fix ci 3 years ago
jiannibang 1149431009 更新git依赖 3 years ago
  1. 8
      .drone.yml
  2. 4
      package-lock.json
  3. 2
      package.json

8
.drone.yml

@ -84,13 +84,19 @@ steps:
pull: if-not-exists pull: if-not-exists
# image: registry.k8s.1000my.com/library/node:16.15.0-slim # image: registry.k8s.1000my.com/library/node:16.15.0-slim
image: registry.cn-hangzhou.aliyuncs.com/qmiot/init:node-14-slim-python2_3 image: registry.cn-hangzhou.aliyuncs.com/qmiot/init:node-14-slim-python2_3
environment:
USER:
from_secret: gitea_username
PASSWD:
from_secret: gitea_password
volumes: volumes:
- name: node - name: node
path: /drone/src/node_modules path: /drone/src/node_modules
settings: settings:
mirror: https://docker.mirrors.ustc.edu.cn mirror: https://docker.mirrors.ustc.edu.cn
commands: commands:
- git --help
- git config --global credential.helper store
- echo "https://$USER:$PASSWD@git.1000my.com" >> ~/.git-credentials
- ln -s /usr/bin/python2 /usr/bin/python - ln -s /usr/bin/python2 /usr/bin/python
- python --version - python --version
- npm config set registry https://registry.npm.taobao.org - npm config set registry https://registry.npm.taobao.org

4
package-lock.json

@ -15,7 +15,7 @@
"axios": "^0.21.1", "axios": "^0.21.1",
"graphql": "^15.5.0", "graphql": "^15.5.0",
"node-sass": "^8.0.0", "node-sass": "^8.0.0",
"qmmap": "git+ssh://git@git.1000my.com:common/base_mobile_map_sdk.git",
"qmmap": "git+https://git.1000my.com/common/base_mobile_map_sdk.git",
"qrcodejs2": "^0.0.2", "qrcodejs2": "^0.0.2",
"react": "^17.0.1", "react": "^17.0.1",
"react-dom": "^17.0.1", "react-dom": "^17.0.1",
@ -16719,7 +16719,7 @@
}, },
"node_modules/qmmap": { "node_modules/qmmap": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "git+ssh://git@git.1000my.com:common/base_mobile_map_sdk.git#5f4e44b8e1846f993becd09bdcaa49fd648920e1",
"resolved": "git+https://git.1000my.com/common/base_mobile_map_sdk.git#5f4e44b8e1846f993becd09bdcaa49fd648920e1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@tweenjs/tween.js": "^18.4.2", "@tweenjs/tween.js": "^18.4.2",

2
package.json

@ -11,7 +11,7 @@
"axios": "^0.21.1", "axios": "^0.21.1",
"graphql": "^15.5.0", "graphql": "^15.5.0",
"node-sass": "^8.0.0", "node-sass": "^8.0.0",
"qmmap": "git+ssh://git@git.1000my.com:common/base_mobile_map_sdk.git",
"qmmap": "git+https://git.1000my.com/common/base_mobile_map_sdk.git",
"qrcodejs2": "^0.0.2", "qrcodejs2": "^0.0.2",
"react": "^17.0.1", "react": "^17.0.1",
"react-dom": "^17.0.1", "react-dom": "^17.0.1",

Loading…
Cancel
Save