264 lines
8.7 KiB
JSON
264 lines
8.7 KiB
JSON
{
|
|
"platform": {},
|
|
"steps": [
|
|
{
|
|
"id": "random",
|
|
"args": [
|
|
"echo \"$DRONE_SCRIPT\" | /bin/sh"
|
|
],
|
|
"entrypoint": [
|
|
"/bin/sh",
|
|
"-c"
|
|
],
|
|
"environment": {
|
|
"CI": "true",
|
|
"DRONE": "true",
|
|
"DRONE_BRANCH": "master",
|
|
"DRONE_BUILD_ACTION": "",
|
|
"DRONE_BUILD_CREATED": "0",
|
|
"DRONE_BUILD_EVENT": "",
|
|
"DRONE_BUILD_FINISHED": "1571811065",
|
|
"DRONE_BUILD_LINK": ":////0",
|
|
"DRONE_BUILD_NUMBER": "0",
|
|
"DRONE_BUILD_PARENT": "0",
|
|
"DRONE_BUILD_STARTED": "1571811065",
|
|
"DRONE_BUILD_STATUS": "success",
|
|
"DRONE_COMMIT": "",
|
|
"DRONE_COMMIT_AFTER": "",
|
|
"DRONE_COMMIT_AUTHOR": "",
|
|
"DRONE_COMMIT_AUTHOR_AVATAR": "",
|
|
"DRONE_COMMIT_AUTHOR_EMAIL": "",
|
|
"DRONE_COMMIT_AUTHOR_NAME": "",
|
|
"DRONE_COMMIT_BEFORE": "",
|
|
"DRONE_COMMIT_BRANCH": "master",
|
|
"DRONE_COMMIT_LINK": "",
|
|
"DRONE_COMMIT_MESSAGE": "",
|
|
"DRONE_COMMIT_REF": "",
|
|
"DRONE_COMMIT_SHA": "",
|
|
"DRONE_DEPLOY_TO": "",
|
|
"DRONE_DOCKER_NETWORK_ID": "random",
|
|
"DRONE_DOCKER_VOLUME_ID": "random",
|
|
"DRONE_GIT_HTTP_URL": "",
|
|
"DRONE_GIT_SSH_URL": "",
|
|
"DRONE_NETRC_FILE": "machine github.com login octocat password correct-horse-battery-staple",
|
|
"DRONE_NETRC_MACHINE": "github.com",
|
|
"DRONE_NETRC_PASSWORD": "correct-horse-battery-staple",
|
|
"DRONE_NETRC_USERNAME": "octocat",
|
|
"DRONE_REMOTE_URL": "",
|
|
"DRONE_REPO": "",
|
|
"DRONE_REPO_BRANCH": "",
|
|
"DRONE_REPO_LINK": "",
|
|
"DRONE_REPO_NAME": "",
|
|
"DRONE_REPO_NAMESPACE": "",
|
|
"DRONE_REPO_OWNER": "",
|
|
"DRONE_REPO_PRIVATE": "false",
|
|
"DRONE_REPO_SCM": "",
|
|
"DRONE_REPO_VISIBILITY": "",
|
|
"DRONE_SCRIPT": "\n\nif [ ! -z \"${DRONE_NETRC_FILE}\" ]; then\n\techo $DRONE_NETRC_FILE \u003e $HOME/.netrc\nfi\n\nunset DRONE_SCRIPT\nunset DRONE_NETRC_MACHINE\nunset DRONE_NETRC_USERNAME\nunset DRONE_NETRC_PASSWORD\nunset DRONE_NETRC_FILE\n\nset -e\n\n\necho + \"go build\"\ngo build\n",
|
|
"DRONE_SOURCE_BRANCH": "",
|
|
"DRONE_STAGE_ARCH": "",
|
|
"DRONE_STAGE_DEPENDS_ON": "",
|
|
"DRONE_STAGE_FINISHED": "1571811065",
|
|
"DRONE_STAGE_KIND": "",
|
|
"DRONE_STAGE_MACHINE": "",
|
|
"DRONE_STAGE_NAME": "",
|
|
"DRONE_STAGE_NUMBER": "0",
|
|
"DRONE_STAGE_OS": "",
|
|
"DRONE_STAGE_STARTED": "1571811065",
|
|
"DRONE_STAGE_STATUS": "success",
|
|
"DRONE_STAGE_TYPE": "",
|
|
"DRONE_STAGE_VARIANT": "",
|
|
"DRONE_SYSTEM_HOST": "",
|
|
"DRONE_SYSTEM_HOSTNAME": "",
|
|
"DRONE_SYSTEM_PROTO": "",
|
|
"DRONE_SYSTEM_VERSION": "",
|
|
"DRONE_TARGET_BRANCH": "master",
|
|
"DRONE_WORKSPACE": "/drone/src",
|
|
"DRONE_WORKSPACE_BASE": "/drone/src",
|
|
"DRONE_WORKSPACE_PATH": "",
|
|
"GIT_AUTHOR_EMAIL": "noreply@drone",
|
|
"GIT_AUTHOR_NAME": "drone",
|
|
"GIT_COMMITTER_EMAIL": "noreply@drone",
|
|
"GIT_COMMITTER_NAME": "drone",
|
|
"GIT_TERMINAL_PROMPT": "0"
|
|
},
|
|
"labels": {
|
|
"io.drone": "true",
|
|
"io.drone.build.number": "0",
|
|
"io.drone.created": "1571811065",
|
|
"io.drone.expires": "1571814665",
|
|
"io.drone.protected": "false",
|
|
"io.drone.repo.name": "",
|
|
"io.drone.repo.namespace": "",
|
|
"io.drone.repo.slug": "",
|
|
"io.drone.stage.name": "",
|
|
"io.drone.stage.number": "0",
|
|
"io.drone.system.host": "",
|
|
"io.drone.system.proto": "",
|
|
"io.drone.system.version": "",
|
|
"io.drone.ttl": "0s"
|
|
},
|
|
"name": "build",
|
|
"volumes": [
|
|
{
|
|
"name": "_workspace",
|
|
"path": "/drone/src"
|
|
}
|
|
],
|
|
"working_dir": "/drone/src"
|
|
},
|
|
{
|
|
"id": "random",
|
|
"args": [
|
|
"echo \"$DRONE_SCRIPT\" | /bin/sh"
|
|
],
|
|
"depends_on": [
|
|
"build"
|
|
],
|
|
"entrypoint": [
|
|
"/bin/sh",
|
|
"-c"
|
|
],
|
|
"environment": {
|
|
"CI": "true",
|
|
"DRONE": "true",
|
|
"DRONE_BRANCH": "master",
|
|
"DRONE_BUILD_ACTION": "",
|
|
"DRONE_BUILD_CREATED": "0",
|
|
"DRONE_BUILD_EVENT": "",
|
|
"DRONE_BUILD_FINISHED": "1571811065",
|
|
"DRONE_BUILD_LINK": ":////0",
|
|
"DRONE_BUILD_NUMBER": "0",
|
|
"DRONE_BUILD_PARENT": "0",
|
|
"DRONE_BUILD_STARTED": "1571811065",
|
|
"DRONE_BUILD_STATUS": "success",
|
|
"DRONE_COMMIT": "",
|
|
"DRONE_COMMIT_AFTER": "",
|
|
"DRONE_COMMIT_AUTHOR": "",
|
|
"DRONE_COMMIT_AUTHOR_AVATAR": "",
|
|
"DRONE_COMMIT_AUTHOR_EMAIL": "",
|
|
"DRONE_COMMIT_AUTHOR_NAME": "",
|
|
"DRONE_COMMIT_BEFORE": "",
|
|
"DRONE_COMMIT_BRANCH": "master",
|
|
"DRONE_COMMIT_LINK": "",
|
|
"DRONE_COMMIT_MESSAGE": "",
|
|
"DRONE_COMMIT_REF": "",
|
|
"DRONE_COMMIT_SHA": "",
|
|
"DRONE_DEPLOY_TO": "",
|
|
"DRONE_DOCKER_NETWORK_ID": "random",
|
|
"DRONE_DOCKER_VOLUME_ID": "random",
|
|
"DRONE_GIT_HTTP_URL": "",
|
|
"DRONE_GIT_SSH_URL": "",
|
|
"DRONE_NETRC_FILE": "machine github.com login octocat password correct-horse-battery-staple",
|
|
"DRONE_NETRC_MACHINE": "github.com",
|
|
"DRONE_NETRC_PASSWORD": "correct-horse-battery-staple",
|
|
"DRONE_NETRC_USERNAME": "octocat",
|
|
"DRONE_REMOTE_URL": "",
|
|
"DRONE_REPO": "",
|
|
"DRONE_REPO_BRANCH": "",
|
|
"DRONE_REPO_LINK": "",
|
|
"DRONE_REPO_NAME": "",
|
|
"DRONE_REPO_NAMESPACE": "",
|
|
"DRONE_REPO_OWNER": "",
|
|
"DRONE_REPO_PRIVATE": "false",
|
|
"DRONE_REPO_SCM": "",
|
|
"DRONE_REPO_VISIBILITY": "",
|
|
"DRONE_SCRIPT": "\n\nif [ ! -z \"${DRONE_NETRC_FILE}\" ]; then\n\techo $DRONE_NETRC_FILE \u003e $HOME/.netrc\nfi\n\nunset DRONE_SCRIPT\nunset DRONE_NETRC_MACHINE\nunset DRONE_NETRC_USERNAME\nunset DRONE_NETRC_PASSWORD\nunset DRONE_NETRC_FILE\n\nset -e\n\n\necho + \"go test\"\ngo test\n",
|
|
"DRONE_SOURCE_BRANCH": "",
|
|
"DRONE_STAGE_ARCH": "",
|
|
"DRONE_STAGE_DEPENDS_ON": "",
|
|
"DRONE_STAGE_FINISHED": "1571811065",
|
|
"DRONE_STAGE_KIND": "",
|
|
"DRONE_STAGE_MACHINE": "",
|
|
"DRONE_STAGE_NAME": "",
|
|
"DRONE_STAGE_NUMBER": "0",
|
|
"DRONE_STAGE_OS": "",
|
|
"DRONE_STAGE_STARTED": "1571811065",
|
|
"DRONE_STAGE_STATUS": "success",
|
|
"DRONE_STAGE_TYPE": "",
|
|
"DRONE_STAGE_VARIANT": "",
|
|
"DRONE_SYSTEM_HOST": "",
|
|
"DRONE_SYSTEM_HOSTNAME": "",
|
|
"DRONE_SYSTEM_PROTO": "",
|
|
"DRONE_SYSTEM_VERSION": "",
|
|
"DRONE_TARGET_BRANCH": "master",
|
|
"DRONE_WORKSPACE": "/drone/src",
|
|
"DRONE_WORKSPACE_BASE": "/drone/src",
|
|
"DRONE_WORKSPACE_PATH": "",
|
|
"GIT_AUTHOR_EMAIL": "noreply@drone",
|
|
"GIT_AUTHOR_NAME": "drone",
|
|
"GIT_COMMITTER_EMAIL": "noreply@drone",
|
|
"GIT_COMMITTER_NAME": "drone",
|
|
"GIT_TERMINAL_PROMPT": "0"
|
|
},
|
|
"labels": {
|
|
"io.drone": "true",
|
|
"io.drone.build.number": "0",
|
|
"io.drone.created": "1571811065",
|
|
"io.drone.expires": "1571814665",
|
|
"io.drone.protected": "false",
|
|
"io.drone.repo.name": "",
|
|
"io.drone.repo.namespace": "",
|
|
"io.drone.repo.slug": "",
|
|
"io.drone.stage.name": "",
|
|
"io.drone.stage.number": "0",
|
|
"io.drone.system.host": "",
|
|
"io.drone.system.proto": "",
|
|
"io.drone.system.version": "",
|
|
"io.drone.ttl": "0s"
|
|
},
|
|
"name": "test",
|
|
"run_policy": "never",
|
|
"volumes": [
|
|
{
|
|
"name": "_workspace",
|
|
"path": "/drone/src"
|
|
}
|
|
],
|
|
"working_dir": "/drone/src"
|
|
}
|
|
],
|
|
"volumes": [
|
|
{
|
|
"temp": {
|
|
"id": "random",
|
|
"name": "_workspace",
|
|
"labels": {
|
|
"io.drone": "true",
|
|
"io.drone.build.number": "0",
|
|
"io.drone.created": "1571811065",
|
|
"io.drone.expires": "1571814665",
|
|
"io.drone.protected": "false",
|
|
"io.drone.repo.name": "",
|
|
"io.drone.repo.namespace": "",
|
|
"io.drone.repo.slug": "",
|
|
"io.drone.stage.name": "",
|
|
"io.drone.stage.number": "0",
|
|
"io.drone.system.host": "",
|
|
"io.drone.system.proto": "",
|
|
"io.drone.system.version": "",
|
|
"io.drone.ttl": "0s"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"network": {
|
|
"id": "random",
|
|
"labels": {
|
|
"io.drone": "true",
|
|
"io.drone.build.number": "0",
|
|
"io.drone.created": "1571811065",
|
|
"io.drone.expires": "1571814665",
|
|
"io.drone.protected": "false",
|
|
"io.drone.repo.name": "",
|
|
"io.drone.repo.namespace": "",
|
|
"io.drone.repo.slug": "",
|
|
"io.drone.stage.name": "",
|
|
"io.drone.stage.number": "0",
|
|
"io.drone.system.host": "",
|
|
"io.drone.system.proto": "",
|
|
"io.drone.system.version": "",
|
|
"io.drone.ttl": "0s"
|
|
}
|
|
}
|
|
} |