woodpecker/pipeline/samples/sample_10_windows/pipeline.json
2023-10-24 14:42:05 +02:00

125 lines
5.6 KiB
JSON

{
"pipeline": [
{
"name": "pipeline_clone_0",
"alias": "git",
"steps": [
{
"name": "pipeline_clone_0",
"alias": "git",
"image": "woodpeckerci/plugin-git:windows",
"working_dir": "c:\\gopath/src\\github.com\\drone\\envsubst",
"environment": {
"CI": "drone",
"CI_PIPELINE_CREATED": "1486119586",
"CI_PIPELINE_EVENT": "push",
"CI_PIPELINE_NUMBER": "6",
"CI_PIPELINE_STARTED": "1486119585",
"CI_COMMIT_AUTHOR": "bradrydzewski",
"CI_COMMIT_BRANCH": "main",
"CI_COMMIT_MESSAGE": "added a few more test cases for escaping behavior",
"CI_COMMIT_REF": "refs/heads/main",
"CI_COMMIT_SHA": "d0876d3176965f9552a611cbd56e24a9264355e6",
"CI_REMOTE_URL": "https://github.com/drone/envsubst.git",
"CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst",
"CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "windows/amd64",
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
"CI_SYSTEM_NAME": "pipec",
"CI_WORKSPACE": "c:\\gopath/src\\github.com\\drone\\envsubst",
"CI_ARCH": "windows/amd64",
"CI_BRANCH": "main",
"CI_PIPELINE_URL": "https://github.com/cncd/pipec/drone/envsubst/6",
"CI_COMMIT": "d0876d3176965f9552a611cbd56e24a9264355e6",
"CI_STEP_STARTED": "1486119585",
"CI_REPO_OWNER": "drone",
"CI_REPO_SCM": "git",
"PLUGIN_DEPTH": "50"
},
"volumes": ["pipeline_default:c:\\gopath"],
"networks": [
{
"name": "pipeline_default",
"aliases": ["git"]
}
],
"on_success": true,
"auth_config": {}
}
]
},
{
"name": "pipeline_stage_0",
"alias": "build",
"steps": [
{
"name": "pipeline_step_0",
"alias": "build",
"image": "golang:1.10.1-nanoserver-sac2016",
"working_dir": "c:\\gopath/src\\github.com\\drone\\envsubst",
"environment": {
"CI": "drone",
"CI_PIPELINE_CREATED": "1486119586",
"CI_PIPELINE_EVENT": "push",
"CI_PIPELINE_NUMBER": "6",
"CI_PIPELINE_STARTED": "1486119585",
"CI_COMMIT_AUTHOR": "bradrydzewski",
"CI_COMMIT_BRANCH": "main",
"CI_COMMIT_MESSAGE": "added a few more test cases for escaping behavior",
"CI_COMMIT_REF": "refs/heads/main",
"CI_COMMIT_SHA": "d0876d3176965f9552a611cbd56e24a9264355e6",
"CI_REMOTE_URL": "https://github.com/drone/envsubst.git",
"CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst",
"CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SCRIPT": "CiRFcnJvckFjdGlvblByZWZlcmVuY2UgPSAnU3RvcCc7CiZjbWQgL2MgIm1rZGlyIGM6XHJvb3QiOwppZiAoJEVudjpDSV9ORVRSQ19NQUNISU5FKSB7CiRuZXRyYz1bc3RyaW5nXTo6Rm9ybWF0KCJ7MH1cX25ldHJjIiwkRW52OkhPTUUpOwoibWFjaGluZSAkRW52OkNJX05FVFJDX01BQ0hJTkUiID4+ICRuZXRyYzsKImxvZ2luICRFbnY6Q0lfTkVUUkNfVVNFUk5BTUUiID4+ICRuZXRyYzsKInBhc3N3b3JkICRFbnY6Q0lfTkVUUkNfUEFTU1dPUkQiID4+ICRuZXRyYzsKfTsKW0Vudmlyb25tZW50XTo6U2V0RW52aXJvbm1lbnRWYXJpYWJsZSgiQ0lfTkVUUkNfUEFTU1dPUkQiLCRudWxsKTsKW0Vudmlyb25tZW50XTo6U2V0RW52aXJvbm1lbnRWYXJpYWJsZSgiQ0lfU0NSSVBUIiwkbnVsbCk7CltFbnZpcm9ubWVudF06OlNldEVudmlyb25tZW50VmFyaWFibGUoIkRST05FX05FVFJDX1VTRVJOQU1FIiwkbnVsbCk7CltFbnZpcm9ubWVudF06OlNldEVudmlyb25tZW50VmFyaWFibGUoIkRST05FX05FVFJDX1BBU1NXT1JEIiwkbnVsbCk7CgpXcml0ZS1PdXRwdXQgKCcrICJnbyBnZXQgLXQgLlxcLi4uIicpOyAgW0NvbnNvbGVdOjpPdXQuRmx1c2goKQomIGdvIGdldCAtdCAuXC4uLjsgaWYgKCRMQVNURVhJVENPREUgLW5lIDApIHtleGl0ICRMQVNURVhJVENPREV9CgpXcml0ZS1PdXRwdXQgKCcrICJnbyBidWlsZCInKTsgIFtDb25zb2xlXTo6T3V0LkZsdXNoKCkKJiBnbyBidWlsZDsgaWYgKCRMQVNURVhJVENPREUgLW5lIDApIHtleGl0ICRMQVNURVhJVENPREV9CgpXcml0ZS1PdXRwdXQgKCcrICJnbyB0ZXN0IC12IicpOyAgW0NvbnNvbGVdOjpPdXQuRmx1c2goKQomIGdvIHRlc3QgLXY7IGlmICgkTEFTVEVYSVRDT0RFIC1uZSAwKSB7ZXhpdCAkTEFTVEVYSVRDT0RFfQoK",
"CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "windows/amd64",
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
"CI_SYSTEM_NAME": "pipec",
"CI_WORKSPACE": "c:\\gopath/src\\github.com\\drone\\envsubst",
"CI_ARCH": "windows/amd64",
"CI_BRANCH": "main",
"CI_PIPELINE_URL": "https://github.com/cncd/pipec/drone/envsubst/6",
"CI_COMMIT": "d0876d3176965f9552a611cbd56e24a9264355e6",
"CI_STEP_STARTED": "1486119585",
"CI_REPO_OWNER": "drone",
"CI_REPO_SCM": "git",
"HOME": "c:\\root",
"SHELL": "powershell.exe"
},
"entrypoint": ["powershell", "-noprofile", "-noninteractive", "-command"],
"command": [
"[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($Env:CI_SCRIPT)) | iex"
],
"volumes": ["pipeline_default:c:\\gopath"],
"networks": [
{
"name": "pipeline_default",
"aliases": ["build"]
}
],
"on_success": true,
"auth_config": {}
}
]
}
],
"networks": [
{
"name": "pipeline_default",
"driver": "nat"
}
],
"volumes": [
{
"name": "pipeline_default",
"driver": "local"
}
],
"secrets": null
}