Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
drone_test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Wen Wei Li
drone_test
Commits
9d716cdd
Commit
9d716cdd
authored
Aug 17, 2023
by
Wen Wei Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show env
parent
50214e94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
14 deletions
+17
-14
.drone.yml
.drone.yml
+17
-14
No files found.
.drone.yml
View file @
9d716cdd
---
kind
:
pipeline
type
:
docker
name
:
default
steps
:
-
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
:
commands
:
-
echo "DRONE_BUILD_ACTION = ${DRONE_BUILD_ACTION}"
-
echo "DRONE_BUILD_CREATED = ${DRONE_BUILD_CREATED}"
-
echo "DRONE_BUILD_EVENT = ${DRONE_BUILD_EVENT}"
...
...
@@ -80,7 +74,16 @@ 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)
# image: ghcr.io/appleboy/drone-ssh
#settings:
# host:
# - 192.168.0.22
# username: root
# password:
# from_secret: ssh_password
# port: 22
# command_timeout: 30s
#script:
# - echo "Hello World" > /tmp/hello
# - kubectl get pods -n ricplt
# - echo $(pwd)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment