This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
jwebssh
forked from
markchen/ssh-web
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
1
Fork
2
Code
Releases
3
Wiki
evaluate
Activity
Issues
11
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
update pipeline for parallel branch
parallel
高级云脑研发工程师
2 years ago
parent
7dc28f0f75
commit
ff461f4f35
1 changed files
with
19 additions
and
13 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+19
-13
.drone.yml
+ 19
- 13
.drone.yml
View File
@@ -1,30 +1,37 @@
kind: pipeline
type: docker
name:
masterpipe
name:
1
platform:
os: linux
arch: arm64
volumes:
- name: cache
host:
path: /var/lib/cache
steps:
- name: maven
- name: maventask1
image: maven:3-jdk-10
volumes:
- name: cache
path: /root/.m2
commands:
- mvn compile
- name: test
- echo "clean target"
- name: maventask2
image: maven:3-jdk-10
volumes:
- name: cache
path: /root/.m2
commands:
-
mvn test
-
echo "install dependency"
- name: maven
image: maven:3-jdk-10
volumes:
- name: cache
path: /root/.m2
commands:
- mvn compile
depends_on:
- maventask1
- maventask2
- name: 远程主机部署
image: appleboy/drone-ssh
settings:
@@ -37,10 +44,9 @@ steps:
port: 22
script:
- chmod +x /home/deploy.sh
-
.
/home/deploy.sh
-
bash
/home/deploy.sh
trigger:
branch:
-
master
-
parallel
event:
- push
- pull_request
Write
Preview
Loading…
Cancel
Save