This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
ZQ1
/
jwebssh
mirror of
http://10.16.22.23:43001/wangwei10061/jwebssh.git
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
2
Wiki
evaluate
Activity
Issues
0
Datasets
Model
Cloudbrain
HPC
Browse Source
update pipeline for ansible branch
ansible
高级云脑研发工程师
1 year ago
parent
6e4de69fb4
commit
292ab6b6a9
1 changed files
with
12 additions
and
29 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-29
.drone.yml
+ 12
- 29
.drone.yml
View File
@@ -1,44 +1,27 @@
kind: pipeline
type: docker
name:
masterpipe
name:
1
platform:
os: linux
arch: arm64
volumes:
- 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
commands:
- mvn test
- name: 远程主机部署
image: appleboy/drone-ssh
- name: check ansible syntax
image: plugins/ansible:3
settings:
host:
from_secret: ip
username:
from_secret: name
password:
from_secret: pwd
port: 22
script:
- chmod +x /home/deploy.sh
- ./home/deploy.sh
playbook: ansible/playbook.yml
galaxy: ansible/requirements.yml
inventory: ansible/inventory
syntax_check: true
trigger:
branch:
-
master
- ansible
event:
- push
- pull_request
- cron
Write
Preview
Loading…
Cancel
Save