mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-25 18:00:30 +00:00
063d0bb32a
Dropped support for `DRONE_*` environment variables in pipeline steps. Pipeline meta-data can be accessed with `CI_*` variables. - `CI_*` prefix replaces `DRONE_*` - `CI` value is now `woodpecker` - `DRONE=true` has been removed
288 lines
13 KiB
JSON
288 lines
13 KiB
JSON
{
|
|
"pipeline": [
|
|
{
|
|
"name": "pipeline_clone_0",
|
|
"alias": "git",
|
|
"steps": [
|
|
{
|
|
"name": "pipeline_clone_0",
|
|
"alias": "git",
|
|
"image": "woodpeckerci/plugin-git:latest",
|
|
"working_dir": "/go/src/github.com/drone/envsubst",
|
|
"environment": {
|
|
"CI": "pipec",
|
|
"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": "/go/src/github.com/drone/envsubst",
|
|
"PLUGIN_DEPTH": "50"
|
|
},
|
|
"volumes": ["pipeline_default:/go"],
|
|
"networks": [
|
|
{
|
|
"name": "pipeline_default",
|
|
"aliases": null
|
|
}
|
|
],
|
|
"on_success": true,
|
|
"auth_config": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "pipeline_stage_0",
|
|
"alias": "foo",
|
|
"steps": [
|
|
{
|
|
"name": "pipeline_step_0",
|
|
"alias": "foo",
|
|
"image": "golang:1.7",
|
|
"working_dir": "/go/src/github.com/drone/envsubst",
|
|
"environment": {
|
|
"CI": "pipec",
|
|
"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+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgMSIKZWNobyBzdGVwIDEKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSAxIgplY2hvIGRvbmUgMQoK",
|
|
"CI_SYSTEM": "pipec",
|
|
"CI_SYSTEM_ARCH": "linux/amd64",
|
|
"CI_SYSTEM_LINK": "https://github.com/cncd/pipec",
|
|
"CI_SYSTEM_NAME": "pipec",
|
|
"CI_WORKSPACE": "/go/src/github.com/drone/envsubst",
|
|
"HOME": "/root",
|
|
"SHELL": "/bin/sh"
|
|
},
|
|
"entrypoint": ["/bin/sh", "-c"],
|
|
"command": ["echo $CI_SCRIPT | base64 -d | /bin/sh -e"],
|
|
"volumes": ["pipeline_default:/go"],
|
|
"networks": [
|
|
{
|
|
"name": "pipeline_default",
|
|
"aliases": null
|
|
}
|
|
],
|
|
"on_success": true,
|
|
"auth_config": {}
|
|
},
|
|
{
|
|
"name": "pipeline_step_1",
|
|
"alias": "bar",
|
|
"image": "golang:1.7",
|
|
"working_dir": "/go/src/github.com/drone/envsubst",
|
|
"environment": {
|
|
"CI": "pipec",
|
|
"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+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgMiIKZWNobyBzdGVwIDIKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSAyIgplY2hvIGRvbmUgMgoK",
|
|
"CI_SYSTEM": "pipec",
|
|
"CI_SYSTEM_ARCH": "linux/amd64",
|
|
"CI_SYSTEM_LINK": "https://github.com/cncd/pipec",
|
|
"CI_SYSTEM_NAME": "pipec",
|
|
"CI_WORKSPACE": "/go/src/github.com/drone/envsubst",
|
|
"HOME": "/root",
|
|
"SHELL": "/bin/sh"
|
|
},
|
|
"entrypoint": ["/bin/sh", "-c"],
|
|
"command": ["echo $CI_SCRIPT | base64 -d | /bin/sh -e"],
|
|
"volumes": ["pipeline_default:/go"],
|
|
"networks": [
|
|
{
|
|
"name": "pipeline_default",
|
|
"aliases": null
|
|
}
|
|
],
|
|
"on_success": true,
|
|
"auth_config": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "pipeline_stage_2",
|
|
"alias": "baz",
|
|
"steps": [
|
|
{
|
|
"name": "pipeline_step_2",
|
|
"alias": "baz",
|
|
"image": "golang:1.7",
|
|
"working_dir": "/go/src/github.com/drone/envsubst",
|
|
"environment": {
|
|
"CI": "pipec",
|
|
"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+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIEkgc2hvdWxkIGV4ZWN1dGUgbGFzdC4iCmVjaG8gSSBzaG91bGQgZXhlY3V0ZSBsYXN0LgoKZWNobyArICJlY2hvIGFmdGVyIHRoZSBwcmlvciB0d28gc3RlcHMgZmluaXNoIGV4ZWN1dGlvbi4iCmVjaG8gYWZ0ZXIgdGhlIHByaW9yIHR3byBzdGVwcyBmaW5pc2ggZXhlY3V0aW9uLgoK",
|
|
"CI_SYSTEM": "pipec",
|
|
"CI_SYSTEM_ARCH": "linux/amd64",
|
|
"CI_SYSTEM_LINK": "https://github.com/cncd/pipec",
|
|
"CI_SYSTEM_NAME": "pipec",
|
|
"CI_WORKSPACE": "/go/src/github.com/drone/envsubst",
|
|
"HOME": "/root",
|
|
"SHELL": "/bin/sh"
|
|
},
|
|
"entrypoint": ["/bin/sh", "-c"],
|
|
"command": ["echo $CI_SCRIPT | base64 -d | /bin/sh -e"],
|
|
"volumes": ["pipeline_default:/go"],
|
|
"networks": [
|
|
{
|
|
"name": "pipeline_default",
|
|
"aliases": null
|
|
}
|
|
],
|
|
"on_success": true,
|
|
"auth_config": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "pipeline_stage_3",
|
|
"alias": "qux",
|
|
"steps": [
|
|
{
|
|
"name": "pipeline_step_3",
|
|
"alias": "qux",
|
|
"image": "golang:1.7",
|
|
"working_dir": "/go/src/github.com/drone/envsubst",
|
|
"environment": {
|
|
"CI": "pipec",
|
|
"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+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgMyIKZWNobyBzdGVwIDMKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSAzIgplY2hvIGRvbmUgMwoK",
|
|
"CI_SYSTEM": "pipec",
|
|
"CI_SYSTEM_ARCH": "linux/amd64",
|
|
"CI_SYSTEM_LINK": "https://github.com/cncd/pipec",
|
|
"CI_SYSTEM_NAME": "pipec",
|
|
"CI_WORKSPACE": "/go/src/github.com/drone/envsubst",
|
|
"HOME": "/root",
|
|
"SHELL": "/bin/sh"
|
|
},
|
|
"entrypoint": ["/bin/sh", "-c"],
|
|
"command": ["echo $CI_SCRIPT | base64 -d | /bin/sh -e"],
|
|
"volumes": ["pipeline_default:/go"],
|
|
"networks": [
|
|
{
|
|
"name": "pipeline_default",
|
|
"aliases": null
|
|
}
|
|
],
|
|
"on_success": true,
|
|
"auth_config": {}
|
|
},
|
|
{
|
|
"name": "pipeline_step_4",
|
|
"alias": "quux",
|
|
"image": "golang:1.7",
|
|
"working_dir": "/go/src/github.com/drone/envsubst",
|
|
"environment": {
|
|
"CI": "pipec",
|
|
"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+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgNCIKZWNobyBzdGVwIDQKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSA0IgplY2hvIGRvbmUgNAoK",
|
|
"CI_SYSTEM": "pipec",
|
|
"CI_SYSTEM_ARCH": "linux/amd64",
|
|
"CI_SYSTEM_LINK": "https://github.com/cncd/pipec",
|
|
"CI_SYSTEM_NAME": "pipec",
|
|
"CI_WORKSPACE": "/go/src/github.com/drone/envsubst",
|
|
"HOME": "/root",
|
|
"SHELL": "/bin/sh"
|
|
},
|
|
"entrypoint": ["/bin/sh", "-c"],
|
|
"command": ["echo $CI_SCRIPT | base64 -d | /bin/sh -e"],
|
|
"volumes": ["pipeline_default:/go"],
|
|
"networks": [
|
|
{
|
|
"name": "pipeline_default",
|
|
"aliases": null
|
|
}
|
|
],
|
|
"on_success": true,
|
|
"auth_config": {}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"networks": [
|
|
{
|
|
"name": "pipeline_default",
|
|
"driver": "bridge"
|
|
}
|
|
],
|
|
"volumes": [
|
|
{
|
|
"name": "pipeline_default",
|
|
"driver": "local"
|
|
}
|
|
]
|
|
}
|