This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
wangwei10061
/
geekai
forked from
wangwei/jwebssh
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
evaluate
Activity
Issues
2
Pull Requests
1
Datasets
Model
Cloudbrain
HPC
Browse Source
update pipeline for master branch
ansible
高级云脑研发工程师
1 year ago
parent
ce08d1443c
commit
84d914fd29
1 changed files
with
21 additions
and
16 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+21
-16
.drone.yml
+ 21
- 16
.drone.yml
View File
@@ -2,27 +2,32 @@ kind: pipeline
type: docker
name: 1
platform:
os: linux
s
arch: am
d
64
os: linux
arch: a
r
m64
steps:
- name: maven
image: maven:3-jdk-10
volumes:
- name: cache
path: /root/.m2
commands:
- mvn install -DskipTests=true
- name: run
image: maven:3-jdk-8
volumes:
- name: cache
path: /root/.m2
- mvn compile
- name: maven
image: maven:3-jdk-10
commands:
- nohup mvn tomcat7:run &
volumes:
- name: cache
host:
path: /var/lib/cache
- mvn test
- name: 远程主机部署
image: appleboy/drone-ssh
settings:
host:
from_secret: ip
username:
from_secret: name
password:
from_secret: pwd
port: 22
script:
- chmod +x /home/deploy.sh
- ./home/deploy.sh
trigger:
branch:
- master
Write
Preview
Loading…
Cancel
Save