2019-04-06 13:44:04 +00:00
|
|
|
{
|
|
|
|
"pipeline": [
|
|
|
|
{
|
|
|
|
"name": "pipeline_clone",
|
|
|
|
"alias": "clone",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"name": "pipeline_clone",
|
|
|
|
"alias": "clone",
|
2021-10-16 00:54:28 +00:00
|
|
|
"image": "woodpeckerci/plugin-git:latest",
|
2019-04-06 13:44:04 +00:00
|
|
|
"working_dir": "/pipeline/src",
|
|
|
|
"environment": {
|
|
|
|
"CI": "drone",
|
|
|
|
"CI_BUILD_CREATED": "1486119586",
|
|
|
|
"CI_BUILD_EVENT": "push",
|
|
|
|
"CI_BUILD_NUMBER": "6",
|
|
|
|
"CI_BUILD_STARTED": "1486119585",
|
|
|
|
"CI_COMMIT_AUTHOR": "bradrydzewski",
|
|
|
|
"CI_COMMIT_BRANCH": "master",
|
|
|
|
"CI_COMMIT_MESSAGE": "added a few more test cases for escaping behavior",
|
|
|
|
"CI_COMMIT_REF": "refs/heads/master",
|
|
|
|
"CI_COMMIT_SHA": "d0876d3176965f9552a611cbd56e24a9264355e6",
|
|
|
|
"CI_REMOTE_URL": "https://github.com/drone/envsubst.git",
|
|
|
|
"CI_REPO": "drone/envsubst",
|
|
|
|
"CI_REPO_LINK": "https://github.com/drone/envsubst",
|
|
|
|
"CI_REPO_NAME": "drone/envsubst",
|
|
|
|
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git",
|
|
|
|
"CI_SYSTEM": "pipec",
|
|
|
|
"CI_SYSTEM_ARCH": "linux/amd64",
|
|
|
|
"CI_SYSTEM_LINK": "https://github.com/cncd/pipec",
|
|
|
|
"CI_SYSTEM_NAME": "pipec",
|
|
|
|
"CI_WORKSPACE": "/pipeline/src",
|
2021-11-25 19:43:31 +00:00
|
|
|
"CI_ARCH": "linux/amd64",
|
|
|
|
"CI_BRANCH": "master",
|
|
|
|
"CI_BUILD_LINK": "https://github.com/cncd/pipec/drone/envsubst/6",
|
|
|
|
"CI_COMMIT": "d0876d3176965f9552a611cbd56e24a9264355e6",
|
|
|
|
"CI_JOB_STARTED": "1486119585",
|
|
|
|
"CI_REPO_BRANCH": "master",
|
|
|
|
"CI_REPO_OWNER": "drone",
|
|
|
|
"CI_REPO_SCM": "git",
|
2019-04-06 13:44:04 +00:00
|
|
|
"PLUGIN_DEPTH": "0"
|
|
|
|
},
|
2021-11-25 19:43:31 +00:00
|
|
|
"volumes": ["pipeline_default:/pipeline"],
|
2019-04-06 13:44:04 +00:00
|
|
|
"networks": [
|
|
|
|
{
|
|
|
|
"name": "pipeline_default",
|
2021-11-25 19:43:31 +00:00
|
|
|
"aliases": ["clone"]
|
2019-04-06 13:44:04 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"on_success": true,
|
|
|
|
"auth_config": {}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "pipeline_restore_cache",
|
|
|
|
"alias": "restore_cache",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"name": "pipeline_restore_cache",
|
|
|
|
"alias": "rebuild_cache",
|
|
|
|
"image": "plugins/volume-cache:1.0.0",
|
|
|
|
"working_dir": "/pipeline/src",
|
|
|
|
"environment": {
|
|
|
|
"CI": "drone",
|
|
|
|
"CI_BUILD_CREATED": "1486119586",
|
|
|
|
"CI_BUILD_EVENT": "push",
|
|
|
|
"CI_BUILD_NUMBER": "6",
|
|
|
|
"CI_BUILD_STARTED": "1486119585",
|
|
|
|
"CI_COMMIT_AUTHOR": "bradrydzewski",
|
|
|
|
"CI_COMMIT_BRANCH": "master",
|
|
|
|
"CI_COMMIT_MESSAGE": "added a few more test cases for escaping behavior",
|
|
|
|
"CI_COMMIT_REF": "refs/heads/master",
|
|
|
|
"CI_COMMIT_SHA": "d0876d3176965f9552a611cbd56e24a9264355e6",
|
|
|
|
"CI_REMOTE_URL": "https://github.com/drone/envsubst.git",
|
|
|
|
"CI_REPO": "drone/envsubst",
|
|
|
|
"CI_REPO_LINK": "https://github.com/drone/envsubst",
|
|
|
|
"CI_REPO_NAME": "drone/envsubst",
|
|
|
|
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git",
|
|
|
|
"CI_SYSTEM": "pipec",
|
|
|
|
"CI_SYSTEM_ARCH": "linux/amd64",
|
|
|
|
"CI_SYSTEM_LINK": "https://github.com/cncd/pipec",
|
|
|
|
"CI_SYSTEM_NAME": "pipec",
|
|
|
|
"CI_WORKSPACE": "/pipeline/src",
|
2021-11-25 19:43:31 +00:00
|
|
|
"CI_ARCH": "linux/amd64",
|
|
|
|
"CI_BRANCH": "master",
|
|
|
|
"CI_BUILD_LINK": "https://github.com/cncd/pipec/drone/envsubst/6",
|
|
|
|
"CI_COMMIT": "d0876d3176965f9552a611cbd56e24a9264355e6",
|
|
|
|
"CI_JOB_STARTED": "1486119585",
|
|
|
|
"CI_REPO_BRANCH": "master",
|
|
|
|
"CI_REPO_OWNER": "drone",
|
|
|
|
"CI_REPO_SCM": "git",
|
2019-04-06 13:44:04 +00:00
|
|
|
"PLUGIN_FALLBACK_TO": "master.tar",
|
|
|
|
"PLUGIN_FILE": "master.tar",
|
|
|
|
"PLUGIN_MOUNT": "node_modules",
|
|
|
|
"PLUGIN_PATH": "/cache",
|
|
|
|
"PLUGIN_RESTORE": "true"
|
|
|
|
},
|
|
|
|
"volumes": [
|
|
|
|
"pipeline_default:/pipeline",
|
|
|
|
"/cache/drone/drone/envsubst:/cache"
|
|
|
|
],
|
|
|
|
"networks": [
|
|
|
|
{
|
|
|
|
"name": "pipeline_default",
|
2021-11-25 19:43:31 +00:00
|
|
|
"aliases": ["rebuild_cache"]
|
2019-04-06 13:44:04 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"on_success": true,
|
|
|
|
"auth_config": {}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "pipeline_stage_0",
|
|
|
|
"alias": "build",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"name": "pipeline_step_0",
|
|
|
|
"alias": "build",
|
|
|
|
"image": "node:latest",
|
|
|
|
"working_dir": "/pipeline/src",
|
|
|
|
"environment": {
|
|
|
|
"CI": "drone",
|
|
|
|
"CI_BUILD_CREATED": "1486119586",
|
|
|
|
"CI_BUILD_EVENT": "push",
|
|
|
|
"CI_BUILD_NUMBER": "6",
|
|
|
|
"CI_BUILD_STARTED": "1486119585",
|
|
|
|
"CI_COMMIT_AUTHOR": "bradrydzewski",
|
|
|
|
"CI_COMMIT_BRANCH": "master",
|
|
|
|
"CI_COMMIT_MESSAGE": "added a few more test cases for escaping behavior",
|
|
|
|
"CI_COMMIT_REF": "refs/heads/master",
|
|
|
|
"CI_COMMIT_SHA": "d0876d3176965f9552a611cbd56e24a9264355e6",
|
|
|
|
"CI_REMOTE_URL": "https://github.com/drone/envsubst.git",
|
|
|
|
"CI_REPO": "drone/envsubst",
|
|
|
|
"CI_REPO_LINK": "https://github.com/drone/envsubst",
|
|
|
|
"CI_REPO_NAME": "drone/envsubst",
|
|
|
|
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git",
|
|
|
|
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAp1bnNldCBEUk9ORV9ORVRSQ19VU0VSTkFNRQp1bnNldCBEUk9ORV9ORVRSQ19QQVNTV09SRAoKZWNobyArICJucG0gaW5zdGFsbCIKbnBtIGluc3RhbGwKCmVjaG8gKyAibnBtIHRlc3QiCm5wbSB0ZXN0Cgo=",
|
|
|
|
"CI_SYSTEM": "pipec",
|
|
|
|
"CI_SYSTEM_ARCH": "linux/amd64",
|
|
|
|
"CI_SYSTEM_LINK": "https://github.com/cncd/pipec",
|
|
|
|
"CI_SYSTEM_NAME": "pipec",
|
|
|
|
"CI_WORKSPACE": "/pipeline/src",
|
2021-11-25 19:43:31 +00:00
|
|
|
"CI_ARCH": "linux/amd64",
|
|
|
|
"CI_BRANCH": "master",
|
|
|
|
"CI_BUILD_LINK": "https://github.com/cncd/pipec/drone/envsubst/6",
|
|
|
|
"CI_COMMIT": "d0876d3176965f9552a611cbd56e24a9264355e6",
|
|
|
|
"CI_JOB_STARTED": "1486119585",
|
|
|
|
"CI_REPO_BRANCH": "master",
|
|
|
|
"CI_REPO_OWNER": "drone",
|
|
|
|
"CI_REPO_SCM": "git",
|
2019-04-06 13:44:04 +00:00
|
|
|
"HOME": "/root",
|
|
|
|
"SHELL": "/bin/sh"
|
|
|
|
},
|
2021-11-25 19:43:31 +00:00
|
|
|
"entrypoint": ["/bin/sh", "-c"],
|
|
|
|
"command": ["echo $CI_SCRIPT | base64 -d | /bin/sh -e"],
|
|
|
|
"volumes": ["pipeline_default:/pipeline"],
|
2019-04-06 13:44:04 +00:00
|
|
|
"networks": [
|
|
|
|
{
|
|
|
|
"name": "pipeline_default",
|
2021-11-25 19:43:31 +00:00
|
|
|
"aliases": ["build"]
|
2019-04-06 13:44:04 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"on_success": true,
|
|
|
|
"auth_config": {}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "pipeline_rebuild_cache",
|
|
|
|
"alias": "rebuild_cache",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"name": "pipeline_rebuild_cache",
|
|
|
|
"alias": "rebuild_cache",
|
|
|
|
"image": "plugins/volume-cache:1.0.0",
|
|
|
|
"working_dir": "/pipeline/src",
|
|
|
|
"environment": {
|
|
|
|
"CI": "drone",
|
|
|
|
"CI_BUILD_CREATED": "1486119586",
|
|
|
|
"CI_BUILD_EVENT": "push",
|
|
|
|
"CI_BUILD_NUMBER": "6",
|
|
|
|
"CI_BUILD_STARTED": "1486119585",
|
|
|
|
"CI_COMMIT_AUTHOR": "bradrydzewski",
|
|
|
|
"CI_COMMIT_BRANCH": "master",
|
|
|
|
"CI_COMMIT_MESSAGE": "added a few more test cases for escaping behavior",
|
|
|
|
"CI_COMMIT_REF": "refs/heads/master",
|
|
|
|
"CI_COMMIT_SHA": "d0876d3176965f9552a611cbd56e24a9264355e6",
|
|
|
|
"CI_REMOTE_URL": "https://github.com/drone/envsubst.git",
|
|
|
|
"CI_REPO": "drone/envsubst",
|
|
|
|
"CI_REPO_LINK": "https://github.com/drone/envsubst",
|
|
|
|
"CI_REPO_NAME": "drone/envsubst",
|
|
|
|
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git",
|
|
|
|
"CI_SYSTEM": "pipec",
|
|
|
|
"CI_SYSTEM_ARCH": "linux/amd64",
|
|
|
|
"CI_SYSTEM_LINK": "https://github.com/cncd/pipec",
|
|
|
|
"CI_SYSTEM_NAME": "pipec",
|
|
|
|
"CI_WORKSPACE": "/pipeline/src",
|
2021-11-25 19:43:31 +00:00
|
|
|
"CI_ARCH": "linux/amd64",
|
|
|
|
"CI_BRANCH": "master",
|
|
|
|
"CI_BUILD_LINK": "https://github.com/cncd/pipec/drone/envsubst/6",
|
|
|
|
"CI_COMMIT": "d0876d3176965f9552a611cbd56e24a9264355e6",
|
|
|
|
"CI_JOB_STARTED": "1486119585",
|
|
|
|
"CI_REPO_BRANCH": "master",
|
|
|
|
"CI_REPO_OWNER": "drone",
|
|
|
|
"CI_REPO_SCM": "git",
|
2019-04-06 13:44:04 +00:00
|
|
|
"PLUGIN_FILE": "master.tar",
|
|
|
|
"PLUGIN_FLUSH": "true",
|
|
|
|
"PLUGIN_MOUNT": "node_modules",
|
|
|
|
"PLUGIN_PATH": "/cache",
|
|
|
|
"PLUGIN_REBUILD": "true"
|
|
|
|
},
|
|
|
|
"volumes": [
|
|
|
|
"pipeline_default:/pipeline",
|
|
|
|
"/cache/drone/drone/envsubst:/cache"
|
|
|
|
],
|
|
|
|
"networks": [
|
|
|
|
{
|
|
|
|
"name": "pipeline_default",
|
2021-11-25 19:43:31 +00:00
|
|
|
"aliases": ["rebuild_cache"]
|
2019-04-06 13:44:04 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"on_success": true,
|
|
|
|
"auth_config": {}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"networks": [
|
|
|
|
{
|
|
|
|
"name": "pipeline_default",
|
|
|
|
"driver": "bridge"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"volumes": [
|
|
|
|
{
|
|
|
|
"name": "pipeline_default",
|
|
|
|
"driver": "local"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"secrets": null
|
2021-11-25 19:43:31 +00:00
|
|
|
}
|