1 Star 0 Fork 11

leon9527/cloudpods

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.drone.yml 3.45 KB
一键复制 编辑 原始数据 按行查看 历史
Zexi 提交于 2019-08-24 11:55 . update drone ci config
---
kind: pipeline
name: build
clone:
depth: 1
workspace:
base: /home/build/go
path: src/yunion.io/x/onecloud
steps:
- name: build
image: yunion/onecloud-ci:latest
commands:
- CGO_ENABLED=0 make -j 4 cmd/apigateway cmd/baremetal-agent cmd/climc cmd/keystone
- CGO_ENABLED=0 make -j 4 cmd/logger cmd/region cmd/scheduler cmd/webconsole
- CGO_ENABLED=0 make -j 4 cmd/yunionconf cmd/glance cmd/torrent
- name: image-baremetal-agent
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/baremetal-agent
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.baremetal-agent
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-climc
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/climc
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.climc
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-keystone
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/keystone
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.keystone
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-logger
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/logger
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.logger
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-region
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/region
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.region
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-scheduler
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/scheduler
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.scheduler
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-yunionconf
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/yunionconf
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.yunionconf
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-apigateway
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/apigateway
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.apigateway
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-glance
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/glance
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.glance
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
trigger:
event:
- tag
status:
- success
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yl9527/cloudpods.git
git@gitee.com:yl9527/cloudpods.git
yl9527
cloudpods
cloudpods
master

搜索帮助