Compare commits
No commits in common. "6b48c1d21c6af8b8e8c6c919d0caddb3b0e23ee3" and "9ba10f2f37084b897e6cab4c817b93b9de26878f" have entirely different histories.
6b48c1d21c
...
9ba10f2f37
16
.drone.yml
16
.drone.yml
@ -1,12 +1,13 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: ludu-system-drone
|
name: ludu-system-drone
|
||||||
|
# 定义全局环境变量
|
||||||
|
environment:
|
||||||
|
serverName:
|
||||||
|
from_secret: serverName
|
||||||
steps:
|
steps:
|
||||||
- name: package
|
- name: package
|
||||||
image: maven:3-jdk-8
|
image: maven:3-jdk-8
|
||||||
environment:
|
|
||||||
serverName:
|
|
||||||
from_secret: serverName
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: maven-cache
|
- name: maven-cache
|
||||||
path: /root/.m2
|
path: /root/.m2
|
||||||
@ -78,9 +79,6 @@ steps:
|
|||||||
|
|
||||||
- name: copy-to-object
|
- name: copy-to-object
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
environment:
|
|
||||||
serverName:
|
|
||||||
from_secret: serverName
|
|
||||||
settings:
|
settings:
|
||||||
host: 101.43.112.107
|
host: 101.43.112.107
|
||||||
username: root
|
username: root
|
||||||
@ -139,9 +137,6 @@ steps:
|
|||||||
|
|
||||||
- name: build-other-service
|
- name: build-other-service
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
environment:
|
|
||||||
serverName:
|
|
||||||
from_secret: serverName
|
|
||||||
settings:
|
settings:
|
||||||
host: 120.46.37.243
|
host: 120.46.37.243
|
||||||
username: root
|
username: root
|
||||||
@ -159,9 +154,6 @@ steps:
|
|||||||
|
|
||||||
- name: object-build
|
- name: object-build
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
environment:
|
|
||||||
serverName:
|
|
||||||
from_secret: serverName
|
|
||||||
settings:
|
settings:
|
||||||
host: 121.36.203.133
|
host: 121.36.203.133
|
||||||
username: root
|
username: root
|
||||||
|
Loading…
Reference in New Issue
Block a user