|
@ -2,6 +2,10 @@ kind: pipeline |
|
|
type: docker |
|
|
type: docker |
|
|
name: default |
|
|
name: default |
|
|
|
|
|
|
|
|
|
|
|
environment: |
|
|
|
|
|
PRODUCT: product1 |
|
|
|
|
|
PROJECT: project1 |
|
|
|
|
|
|
|
|
platform: |
|
|
platform: |
|
|
arch: amd64 |
|
|
arch: amd64 |
|
|
os: linux |
|
|
os: linux |
|
@ -19,9 +23,6 @@ steps: |
|
|
|
|
|
|
|
|
- name: publish |
|
|
- name: publish |
|
|
image: plugins/s3 |
|
|
image: plugins/s3 |
|
|
environment: |
|
|
|
|
|
PRODUCT: product1 |
|
|
|
|
|
PROJECT: project1 |
|
|
|
|
|
settings: |
|
|
settings: |
|
|
endpoint: http://dev.ccwin-in.com:3008 |
|
|
endpoint: http://dev.ccwin-in.com:3008 |
|
|
path_style: true |
|
|
path_style: true |
|
@ -30,7 +31,7 @@ steps: |
|
|
secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR |
|
|
secret_key: 0LEOWfXSDnaLbIYGZfdKUxyi2kYIayx4YvdLTgcR |
|
|
source: build/publish/**/* |
|
|
source: build/publish/**/* |
|
|
strip_prefix: build/publish/ |
|
|
strip_prefix: build/publish/ |
|
|
target: $${PRODUCT}/${PROJECT}/${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8} |
|
|
target: ${PRODUCT}/${PROJECT}/${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_AUTHOR}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8} |
|
|
|
|
|
|
|
|
- name: stop |
|
|
- name: stop |
|
|
image: appleboy/drone-ssh |
|
|
image: appleboy/drone-ssh |
|
|