代码拉取完成,页面将自动刷新
kind: pipeline
name: default
steps:
- name: build
image: harbor.vip56.cn/common/node_cnpm:8.10.0
commands:
- cnpm install --allow-root
- cnpm run build
- mkdir ./conf/dist
- cp -R ./dist/* ./conf/dist/
when:
event:
- push
branch:
- dev
- dev/*
- name: Masterbuild
image: harbor.vip56.cn/common/node_cnpm:8.10.0
commands:
- cnpm install --allow-root
- cnpm run build
- mkdir ./conf/dist
- cp -R ./dist/* ./conf/dist/
- date +'master-%Y%m%d%H%M%S' > .tags
when:
event:
- push
branch:
- master
- name: sinocloud
image: plugins/docker
settings:
repo: harbor.vip56.cn/comm/wodebigdata
registry: harbor.vip56.cn
username: system
password: e4d5vip56cn79B
tag: dev_${DRONE_BUILD_NUMBER##build}
force_tag: false
when:
event:
- push
branch:
- dev
- dev/*
- name: alicloud
image: plugins/docker
settings:
repo: registry.cn-hangzhou.aliyuncs.com/vip56-comm/wodebigdata
registry: registry.cn-hangzhou.aliyuncs.com
username: jiangsusinuo
password: vip56Sino1209
# dockerfile: SinoDockerfile
when:
event:
- push
branch:
- master
- name: deployk8s
image: quay.io/honestbee/drone-kubernetes
settings:
kubernetes_server: https://192.168.1.201:6443
kubernetes_token: eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJrdWJlLXN5c3RlbSIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJkYXNoYm9hcmQtYWRtaW4tdG9rZW4tc2Q0MmoiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC5uYW1lIjoiZGFzaGJvYXJkLWFkbWluIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQudWlkIjoiODdlNDcyZDMtYjA0OC00Mjg5LTllMzAtYTA0NGFiYjE0N2Q0Iiwic3ViIjoic3lzdGVtOnNlcnZpY2VhY2NvdW50Omt1YmUtc3lzdGVtOmRhc2hib2FyZC1hZG1pbiJ9.o8J-XNCqWDg3uropn5CHIfflaPi16kjV-taJhwoUWbNgeryVNOMMU8p9rOjNd01Nk6QRycmKRPSniHsE7JvTps9U4vePFo6XNsbK2vl7OE4WffvVzWTNbQ0wlmnbr9uHbpeTCa_jCVi7JO-RwaPQUwIdtrJW2Elqw710xEC4PsZHjmt3qiCQTQ7VZhd6oDgtdrQ9RJqeVBWrlpUYEma7JbDM2gFTzXLRyOstT7u7dIs3285aD6S2BuPTEIsBzwm4WeWh2yTpco4A1zqAPrzi-zCmxkYE7TebMZH0iTzqs-fyNoCCw6W9YMFMKk1vRbQG8k0KnFnBPi9DRbpJk-3hTA
namespace: comm
deployment: web-test-wodebigdata-front
repo: harbor.vip56.cn/comm/wodebigdata
container: test-wodebigdata-front
tag: dev_${DRONE_BUILD_NUMBER##build}
when:
event:
- push
branch:
- dev
- dev/*
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。