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
8913d744
Commit
8913d744
authored
Aug 17, 2023
by
Wen Wei Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check drone env
parent
19ab70c2
Pipeline
#4689
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
67 additions
and
0 deletions
+67
-0
.drone.yml
.drone.yml
+67
-0
No files found.
.drone.yml
View file @
8913d744
...
...
@@ -12,6 +12,73 @@ steps:
from_secret
:
ssh_password
port
:
22
command_timeout
:
30s
commands
:
-
echo "DRONE_BUILD_ACTION = ${DRONE_BUILD_ACTION}"
-
echo "DRONE_BUILD_CREATED = ${DRONE_BUILD_CREATED}"
-
echo "DRONE_BUILD_EVENT = ${DRONE_BUILD_EVENT}"
-
echo "DRONE_BUILD_FINISHED = ${DRONE_BUILD_FINISHED}"
-
echo "DRONE_BUILD_NUMBER = ${DRONE_BUILD_NUMBER}"
-
echo "DRONE_BUILD_PARENT = ${DRONE_BUILD_PARENT}"
-
echo "DRONE_BUILD_STARTED = ${DRONE_BUILD_STARTED}"
-
echo "DRONE_BUILD_STATUS = ${DRONE_BUILD_STATUS}"
-
echo "DRONE_COMMIT = ${DRONE_COMMIT}"
-
echo "DRONE_COMMIT_AFTER = ${DRONE_COMMIT_AFTER}"
-
echo "DRONE_COMMIT_AUTHOR = ${DRONE_COMMIT_AUTHOR}"
-
echo "DRONE_COMMIT_AUTHOR_AVATAR = ${DRONE_COMMIT_AUTHOR_AVATAR}"
-
echo "DRONE_COMMIT_AUTHOR_EMAIL = ${DRONE_COMMIT_AUTHOR_EMAIL}"
-
echo "DRONE_COMMIT_AUTHOR_NAME = ${DRONE_COMMIT_AUTHOR_NAME}"
-
echo "DRONE_COMMIT_BEFORE = ${DRONE_COMMIT_BEFORE}"
-
echo "DRONE_COMMIT_BRANCH = ${DRONE_COMMIT_BRANCH}"
-
echo "DRONE_COMMIT_LINK = ${DRONE_COMMIT_LINK}"
-
echo "DRONE_COMMIT_MESSAGE = ${DRONE_COMMIT_MESSAGE}"
-
echo "DRONE_COMMIT_REF = ${DRONE_COMMIT_REF}"
-
echo "DRONE_COMMIT_SHA = ${DRONE_COMMIT_SHA}"
-
echo "DRONE_DEPLOY_TO = ${DRONE_DEPLOY_TO}"
-
echo "DRONE_FAILED_STAGES = ${DRONE_FAILED_STAGES}"
-
echo "DRONE_FAILED_STEPS = ${DRONE_FAILED_STEPS}"
-
echo "DRONE_GIT_HTTP_URL = ${DRONE_GIT_HTTP_URL}"
-
echo "DRONE_GIT_SSH_URL = ${DRONE_GIT_SSH_URL}"
-
echo "DRONE_PULL_REQUEST = ${DRONE_PULL_REQUEST}"
-
echo "DRONE_REMOTE_URL = ${DRONE_REMOTE_URL}"
-
echo "DRONE_REPO = ${DRONE_REPO}"
-
echo "DRONE_REPO_BRANCH = ${DRONE_REPO_BRANCH}"
-
echo "DRONE_REPO_LINK = ${DRONE_REPO_LINK}"
-
echo "DRONE_REPO_NAME = ${DRONE_REPO_NAME}"
-
echo "DRONE_REPO_NAMESPACE = ${DRONE_REPO_NAMESPACE}"
-
echo "DRONE_REPO_OWNER = ${DRONE_REPO_OWNER}"
-
echo "DRONE_REPO_PRIVATE = ${DRONE_REPO_PRIVATE}"
-
echo "DRONE_REPO_SCM = ${DRONE_REPO_SCM}"
-
echo "DRONE_REPO_VISIBILITY = ${DRONE_REPO_VISIBILITY}"
-
echo "DRONE_SEMVER = ${DRONE_SEMVER}"
-
echo "DRONE_SEMVER_BUILD = {DRONE_SEMVER_BUILD}"
-
echo "DRONE_SEMVER_ERROR = ${DRONE_SEMVER_ERROR}"
-
echo "DRONE_SEMVER_MAJOR = ${DRONE_SEMVER_MAJOR}"
-
echo "DRONE_SEMVER_MINOR = ${DRONE_SEMVER_MINOR}"
-
echo "DRONE_SEMVER_PATCH = ${DRONE_SEMVER_PATCH}"
-
echo "DRONE_SEMVER_PRERELEASE = ${DRONE_SEMVER_PRERELEASE}"
-
echo "DRONE_SEMVER_SHORT = ${DRONE_SEMVER_SHORT}"
-
echo "DRONE_SOURCE_BRANCH = ${DRONE_SOURCE_BRANCH}"
-
echo "DRONE_STAGE_ARCH = ${DRONE_STAGE_ARCH}"
-
echo "DRONE_STAGE_DEPENDS_ON = ${DRONE_STAGE_DEPENDS_ON}"
-
echo "DRONE_STAGE_FINISHED = ${DRONE_STAGE_FINISHED}"
-
echo "DRONE_STAGE_KIND = ${DRONE_STAGE_KIND}"
-
echo "DRONE_STAGE_MACHINE = ${DRONE_STAGE_MACHINE}"
-
echo "DRONE_STAGE_NAME = ${DRONE_STAGE_NAME}"
-
echo "DRONE_STAGE_NUMBER = ${DRONE_STAGE_NUMBER}"
-
echo "DRONE_STAGE_OS = ${DRONE_STAGE_OS}"
-
echo "DRONE_STAGE_STARTED = ${DRONE_STAGE_STARTED}"
-
echo "DRONE_STAGE_STATUS = ${DRONE_STAGE_STATUS}"
-
echo "DRONE_STAGE_TYPE = ${DRONE_STAGE_TYPE}"
-
echo "DRONE_STAGE_VARIANT = ${DRONE_STAGE_VARIANT}"
-
echo "DRONE_STEP_NAME = ${DRONE_STEP_NAME}"
-
echo "DRONE_STEP_NUMBER = ${DRONE_STEP_NUMBER}"
-
echo "DRONE_SYSTEM_HOST = ${DRONE_SYSTEM_HOST}"
-
echo "DRONE_SYSTEM_HOSTNAME = ${DRONE_SYSTEM_HOSTNAME}"
-
echo "DRONE_SYSTEM_PROTO = ${DRONE_SYSTEM_PROTO}"
-
echo "DRONE_SYSTEM_VERSION = ${DRONE_SYSTEM_VERSION}"
-
echo "DRONE_TAG = ${DRONE_TAG}"
-
echo "DRONE_TARGET_BRANCH = ${DRONE_TARGET_BRANCH}"
script
:
-
echo "Hello World" > /tmp/hello
-
kubectl get pods -n ricplt
...
...
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