Ci state
Drone.yaml
kind: pipeline
type: kubernetes
name: 镜像操作
clone:
depth: 1
disable: true
steps:
- name: 代码review通知
image: image.bj-internal.51dev.ops/ci/review
pull: always
commands:
- msg "review"
- name: 获取代码
image: image.bj-internal.51dev.ops/ci/gitv2:20200703
pull: always
settings:
depth: 1
branch: feat-test
url: git@vcs.bj-external.gitlab.ops:op/yearning-front.git
- name: 构建镜像
image: image.bj-internal.51dev.ops/ci/plugin-docker:2020081917
pull: always
settings:
registry: image.bj-internal.51dev.ops
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: image.bj-internal.51dev.ops/opsdb/tianji
debug: false
ding: true
remote: true
tags: 202009021921
team: opsdb
appid: dev-tianji-46
dockerfile: gaea/Dockerfile
- name: 镜像安全检查
image: image.bj-internal.51dev.ops/ci/dockerscan
pull: always
commands:
- dockerscan
- name: 部署到测试环境
image: image.bj-internal.51dev.ops/ci/plugin-kdev:2020081917
pull: always
settings:
debug: false
repo: image.bj-internal.51dev.ops/opsdb/tianji
tags: 202009021921
appid: dev-tianji-46
issueid: 46
pwsid: e8e8dded-fada-46d3-9b1b-85123c6a8cdf
team: opsdb
Build the front end image. The step “构建镜像” log is about 10,000 lines or more
Normally I don’t have this problem, except to build the front end image.