This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
coo_test001
/
jwebsshbug4
forked from
wangwei/jwebssh
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
update pipeline for master branch
master
高级云脑研发工程师
1 year ago
parent
0812785169
commit
6bf1a788e0
1 changed files
with
15 additions
and
13 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+15
-13
.drone.yml
+ 15
- 13
.drone.yml
View File
@@ -1,41 +1,43 @@
kind: pipeline
type: docker
name:
1
name:
masterpipe
platform:
os: linux
arch: arm64
volumes:
- name: cache
host:
path: /var/lib/cache
- name: cache
host:
path: /var/lib/cache
steps:
- name: maven
image: maven:3-jdk-10
volumes:
- name: cache
path: /root/.m2
- name: cache
path: /root/.m2
commands:
- mvn compile
- name: test
image: maven:3-jdk-10
volumes:
- name: cache
path: /root/.m2
- name: cache
path: /root/.m2
commands:
- mvn test
- name: 远程主机部署
image: appleboy/drone-ssh:linux-arm64
settings:
host:
host:
from_secret: ip
username:
username:
from_secret: name
password:
password:
from_secret: pwd
port: 22
script:
- chmod +x /home/deploy.sh
- nohup bash /home/deploy.sh &
- chmod +x /home/deploy.sh
- nohup bash /home/deploy.sh &
trigger:
branch:
- master
Write
Preview
Loading…
Cancel
Save