Commit a194ac1d authored by Wen Wei Li's avatar Wen Wei Li

add test drone yaml

parent 9f589f35
Pipeline #4695 passed with stage
---
kind: pipeline
type: docker
name: default
steps:
- name: build-and-publish-image
image: plugins/docker
settings:
registry: 192.168.17.110
repo: 192.168.17.110/study_group/ric-app-hw
dockerfile: Dockerfile
tags: 1.0.6
username:
from_secret: harbor_username
password:
from_secret: harbor_password
insecure : true
storage_driver: vfs
---
kind: pipeline
type: docker
......@@ -36,5 +17,3 @@ steps:
script:
- cd /root/drone/
- echo ${DRONE_REPO_NAME}
depends_on:
- default
---
kind: pipeline
type: docker
name: default
steps:
- name: build-and-publish-image
image: plugins/docker
settings:
registry: 192.168.17.110
repo: 192.168.17.110/study_group/ric-app-hw
dockerfile: Dockerfile
tags: 1.0.6
username:
from_secret: harbor_username
password:
from_secret: harbor_password
insecure : true
storage_driver: vfs
---
kind: pipeline
type: docker
name: deploy
steps:
- name: ssh_to_deploy
image: ghcr.io/appleboy/drone-ssh
settings:
host:
- 192.168.0.22
username:
from_secret: ssh_username
password:
from_secret: ssh_password
port: 22
command_timeout: 30s
script:
- cd /root/drone/
- echo ${DRONE_REPO_NAME}
depends_on:
- default
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment