Commit 50214e94 authored by Wen Wei Li's avatar Wen Wei Li

check drone env

parent 8913d744
......@@ -2,16 +2,17 @@ kind: pipeline
name: default
steps:
- name: ssh
image: ghcr.io/appleboy/drone-ssh
settings:
host:
- 192.168.0.22
username: root
password:
from_secret: ssh_password
port: 22
command_timeout: 30s
- name: show env
image: golang
# image: ghcr.io/appleboy/drone-ssh
#settings:
# host:
# - 192.168.0.22
# username: root
# password:
# from_secret: ssh_password
# port: 22
# command_timeout: 30s
commands:
- echo "DRONE_BUILD_ACTION = ${DRONE_BUILD_ACTION}"
- echo "DRONE_BUILD_CREATED = ${DRONE_BUILD_CREATED}"
......@@ -79,7 +80,7 @@ steps:
- echo "DRONE_TAG = ${DRONE_TAG}"
- echo "DRONE_TARGET_BRANCH = ${DRONE_TARGET_BRANCH}"
script:
- echo "Hello World" > /tmp/hello
- kubectl get pods -n ricplt
- echo $(pwd)
#script:
#- echo "Hello World" > /tmp/hello
#- kubectl get pods -n ricplt
#- echo $(pwd)
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