Commit aa077392 authored by yuyang's avatar yuyang

add cicd

parent 1db4c027
kind: pipeline
name: greeting
name: saturn
steps:
- name: en
image: alpine
commands:
- echo hello
- echo world
- name: build
image: plugins/docker
settings:
registry: ccr.ccs.tencentyun.com
username: 100009168942
password: 3m4V#TMrUTSIebv1
repo: ccr.ccs.tencentyun.com/gm-ai/saturn-test
- name: es
image: alpine
commands:
- echo hola
- echo mundo
- name: deploy
image: ccr.ccs.tencentyun.com/gm-ai/drone-kube
environment:
repo: alpha/saturn
when:
instance:
exclude:
- aidrone.iyanzhi.com
settings:
namespace: ${DRONE_BRANCH}
template: deploy.yaml
- name: fr
image: alpine
commands:
- echo bonjour
- echo monde
trigger:
branch:
- like-pre/*
image_pull_secrets:
- dockerconfig
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
[packages]
pymysql = "==0.9.2"
django = "==1.8"
celery = "==4.2.0"
kafka-python = "*"
django-cors-headers = "==2.4.0"
pycrypto = "==2.6.1"
lxml = "*"
mistune = "==0.8.4"
python-geohash = "==0.8.5"
gunicorn = "==19.9.0"
gevent = "==1.3.7"
[requires]
python_version = "3.7"
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment