Skip to content

Instantly share code, notes, and snippets.

@srinivasreddy42
Created August 4, 2019 08:33
Show Gist options
  • Save srinivasreddy42/c60adbd1b1ab8edd77782fd2f297fe06 to your computer and use it in GitHub Desktop.
Save srinivasreddy42/c60adbd1b1ab8edd77782fd2f297fe06 to your computer and use it in GitHub Desktop.
Drone Environment Variables Examples
DRONE_COMMIT_AUTHOR_AVATAR=https://avatars0.githubusercontent.com/u/47328068?v=4
DRONE_SYSTEM_HOST=drone-auto.casperlabs.io
DRONE_BRANCH=dev
DRONE_GIT_SSH_URL=git@github.com:CasperLabs/CasperLabs.git
DRONE_JOB_FINISHED=1564907306
CI_BUILD_TARGET=
CI=true
HOSTNAME=89446bbfc028
DRONE_STAGE_OS=linux
CI_BUILD_STARTED=1564907303
DRONE_REPO_NAMESPACE=CasperLabs
CI_BUILD_NUMBER=2437
DRONE_COMMIT_AUTHOR=srinivasreddy42
DRONE_TARGET_BRANCH=dev
DRONE_REPO_LINK=https://github.com/CasperLabs/CasperLabs
CI_BUILD_LINK=https://github.com/CasperLabs/CasperLabs/pull/854.diff
DRONE_GIT_HTTP_URL=https://github.com/CasperLabs/CasperLabs.git
DRONE_RUNNER_HOSTNAME=agent-lCiB6Oj3
CI_WORKSPACE=/drone/src/github.com/CasperLabs/CasperLabs
DRONE_COMMIT_BRANCH=dev
HOME=/root
DRONE_REPO_SCM=
DRONE_REPO_PRIVATE=false
DRONE_SYSTEM_PROTO=https
DRONE_STEP_NUMBER=2
DRONE_BUILD_STATUS=success
DRONE_REPO_VISIBILITY=private
CI_BUILD_EVENT=pull_request
DRONE_COMMIT_BEFORE=
DRONE_BUILD_ACTION=create
DRONE_RUNNER_PLATFORM=linux/amd64
DRONE_STAGE_ARCH=amd64
CI_PARENT_BUILD_NUMBER=0
DRONE_WORKSPACE_BASE=/drone
CI_JOB_STARTED=1564907303
CI_WORKSPACE_PATH=src/github.com/CasperLabs/CasperLabs
CI_BUILD_CREATED=1564907303
CI_COMMIT_SHA=7204ab43b3b97d303e9f37767291c3ef612e67ab
CI_REPO_NAME=CasperLabs/CasperLabs
CI_COMMIT_AUTHOR_EMAIL=
CI_COMMIT_REF=refs/pull/854/head
DRONE_SOURCE_BRANCH=OP-437
DRONE_STAGE_STATUS=success
DRONE_STAGE_NAME=default
DRONE_COMMIT_MESSAGE=### Overview
_Provide a brief description of what this PR does, and why it's needed._
### Which JIRA ticket does this PR relate to?
_Add the link here. Create a ticket and link it here if one does not exist._
### Complete this checklist before you submit this PR
- [x] This PR contains no more than 200 lines of code, excluding test code.
- [x] This PR meets [CasperLabs coding standards](https://casperlabs.atlassian.net/wiki/spaces/EN/pages/16842753/Coding+Standards).
- [ ] If this PR adds a new feature, it includes tests related to this feature.
- [x] You assigned one person to review this PR.
- [x] Your GitHub account is linked with our [Drone CI](http://drone.casperlabs.io/) system. This is necessary to run tests on this PR.
### Notes
_Optional. Add any notes on caveats, approaches you tried that didn't work, or anything else._
DRONE_REPO_BRANCH=dev
DRONE_DEPLOY_TO=
DRONE_SYSTEM_HOSTNAME=drone-auto.casperlabs.io
CI_BUILD_FINISHED=1564907306
DRONE_JOB_STATUS=success
DRONE_REMOTE_URL=https://github.com/CasperLabs/CasperLabs.git
CI_REPO=CasperLabs/CasperLabs
DRONE_REPO_OWNER=CasperLabs
CI_COMMIT_AUTHOR_NAME=
DRONE_STAGE_KIND=pipeline
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.cargo/bin
DRONE=true
CI_COMMIT_AUTHOR_AVATAR=https://avatars0.githubusercontent.com/u/47328068?v=4
DRONE_BUILD_NUMBER=2437
DRONE_BUILD_STARTED=1564907303
DRONE_BUILD_LINK=https://drone-auto.casperlabs.io/CasperLabs/CasperLabs/2437
DRONE_WORKSPACE=/drone/src/github.com/CasperLabs/CasperLabs
CI_JOB_FINISHED=1564907306
DRONE_STAGE_DEPENDS_ON=
DRONE_STAGE_VARIANT=
DRONE_COMMIT_AFTER=7204ab43b3b97d303e9f37767291c3ef612e67ab
CI_REPO_LINK=https://github.com/CasperLabs/CasperLabs
CI_COMMIT_AUTHOR=srinivasreddy42
DRONE_STAGE_NUMBER=1
DRONE_STAGE_STARTED=1564907303
CI_REPO_REMOTE=https://github.com/CasperLabs/CasperLabs.git
CI_COMMIT_BRANCH=dev
DRONE_COMMIT=7204ab43b3b97d303e9f37767291c3ef612e67ab
CI_REPO_PRIVATE=false
DRONE_RUNNER_HOST=agent-lCiB6Oj3
DRONE_PULL_REQUEST=854
DRONE_JOB_STARTED=1564907303
DRONE_WORKSPACE_PATH=src/github.com/CasperLabs/CasperLabs
DRONE_BUILD_EVENT=pull_request
DRONE_COMMIT_AUTHOR_EMAIL=
DRONE_BUILD_CREATED=1564907303
DRONE_REPO_NAME=CasperLabs
DRONE_COMMIT_SHA=7204ab43b3b97d303e9f37767291c3ef612e67ab
CI_BUILD_STATUS=success
DRONE_COMMIT_REF=refs/pull/854/head
DRONE_STAGE_MACHINE=agent-lCiB6Oj3
DRONE_MACHINE=agent-lCiB6Oj3
CI_WORKSPACE_BASE=/drone
LC_ALL=en_US.UTF-8
PWD=/drone/src/github.com/CasperLabs/CasperLabs
DRONE_BUILD_FINISHED=1564907306
DRONE_COMMIT_LINK=https://github.com/CasperLabs/CasperLabs/pull/854.diff
DOCKER_NETWORK_ID=ytp0znuie8s9hcq666tl5pp9f22qzy7p
DRONE_REPO=CasperLabs/CasperLabs
DRONE_STEP_NAME=black-and-flake8
CI_COMMIT_MESSAGE=### Overview
_Provide a brief description of what this PR does, and why it's needed._
### Which JIRA ticket does this PR relate to?
_Add the link here. Create a ticket and link it here if one does not exist._
### Complete this checklist before you submit this PR
- [x] This PR contains no more than 200 lines of code, excluding test code.
- [x] This PR meets [CasperLabs coding standards](https://casperlabs.atlassian.net/wiki/spaces/EN/pages/16842753/Coding+Standards).
- [ ] If this PR adds a new feature, it includes tests related to this feature.
- [x] You assigned one person to review this PR.
- [x] Your GitHub account is linked with our [Drone CI](http://drone.casperlabs.io/) system. This is necessary to run tests on this PR.
### Notes
_Optional. Add any notes on caveats, approaches you tried that didn't work, or anything else._
DRONE_SYSTEM_VERSION=1.1.0
DRONE_COMMIT_AUTHOR_NAME=
DRONE_DOCKER_NETWORK_ID=ytp0znuie8s9hcq666tl5pp9f22qzy7p
CI_JOB_STATUS=success
CI_REMOTE_URL=https://github.com/CasperLabs/CasperLabs.git
DRONE_STAGE_FINISHED=1564907306
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment