mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-25 03:11:01 +00:00
Remove old files (#3077)
from https://github.com/woodpecker-ci/woodpecker/pull/3069 - `.changelog.yml`: no longer used - `pipeline/samples`
This commit is contained in:
parent
09e6e5cbfe
commit
c74dc9ce92
37 changed files with 1 additions and 2095 deletions
|
@ -1,45 +0,0 @@
|
||||||
# config for https://gitea.com/gitea/changelog to generate CHANGELOG.md
|
|
||||||
|
|
||||||
# The full repository name
|
|
||||||
repo: woodpecker-ci/woodpecker
|
|
||||||
|
|
||||||
# Service type (gitea or github)
|
|
||||||
service: github
|
|
||||||
|
|
||||||
# Changelog groups and which labeled PRs to add to each group
|
|
||||||
groups:
|
|
||||||
- name: BREAKING
|
|
||||||
labels:
|
|
||||||
- breaking
|
|
||||||
- name: FEATURES
|
|
||||||
labels:
|
|
||||||
- feature
|
|
||||||
- name: SECURITY
|
|
||||||
labels:
|
|
||||||
- security
|
|
||||||
- name: BUGFIXES
|
|
||||||
labels:
|
|
||||||
- bug
|
|
||||||
- name: ENHANCEMENTS
|
|
||||||
labels:
|
|
||||||
- enhancement
|
|
||||||
- refactor
|
|
||||||
- ui
|
|
||||||
- name: TESTING
|
|
||||||
labels:
|
|
||||||
- tests
|
|
||||||
- name: TRANSLATION
|
|
||||||
labels:
|
|
||||||
- kind/translation
|
|
||||||
- name: BUILD
|
|
||||||
labels:
|
|
||||||
- kind/build
|
|
||||||
- kind/lint
|
|
||||||
- name: DOCUMENTATION
|
|
||||||
labels:
|
|
||||||
- documentation
|
|
||||||
- name: MISC
|
|
||||||
default: true
|
|
||||||
|
|
||||||
# regex indicating which labels to skip for the changelog
|
|
||||||
skip-labels: skip-changelog|backport|regression
|
|
|
@ -5,3 +5,4 @@ docs/.docusaurus/
|
||||||
dist/
|
dist/
|
||||||
web/components.d.ts
|
web/components.d.ts
|
||||||
CHANGELOG.md
|
CHANGELOG.md
|
||||||
|
web/src/assets/dayjsLocales/
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
module.exports = {
|
|
||||||
semi: true,
|
|
||||||
trailingComma: 'all',
|
|
||||||
singleQuote: true,
|
|
||||||
printWidth: 120,
|
|
||||||
tabWidth: 2,
|
|
||||||
endOfLine: 'lf',
|
|
||||||
};
|
|
|
@ -1,16 +0,0 @@
|
||||||
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_REFSPEC=
|
|
||||||
CI_COMMIT_SHA=d0876d3176965f9552a611cbd56e24a9264355e6
|
|
||||||
CI_PIPELINE_CREATED=1486119586
|
|
||||||
CI_PIPELINE_EVENT=push
|
|
||||||
CI_PIPELINE_NUMBER=6
|
|
||||||
CI_PIPELINE_STARTED=1486119585
|
|
||||||
CI_PIPELINE_URL=
|
|
||||||
CI_REPO=drone/envsubst
|
|
||||||
CI_REPO_CLONE_URL=https://github.com/drone/envsubst.git
|
|
||||||
CI_REPO_NAME=drone/envsubst
|
|
||||||
CI_REPO_PRIVATE=false
|
|
||||||
CI_REPO_URL=https://github.com/drone/envsubst
|
|
|
@ -1,13 +0,0 @@
|
||||||
# Example
|
|
||||||
|
|
||||||
Compile the yaml to the intermediate representation:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
pipec compile
|
|
||||||
```
|
|
||||||
|
|
||||||
Execute the intermediate representation:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
pipec exec
|
|
||||||
```
|
|
|
@ -1,108 +0,0 @@
|
||||||
{
|
|
||||||
"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_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": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "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": "build",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_step_0",
|
|
||||||
"alias": "build",
|
|
||||||
"image": "golang:1.7",
|
|
||||||
"working_dir": "/go/src/github.com/drone/envsubst",
|
|
||||||
"environment": {
|
|
||||||
"CI": "pipec",
|
|
||||||
"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": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJnbyBnZXQgLXQgLi8uLi4iCmdvIGdldCAtdCAuLy4uLgoKZWNobyArICJnbyBidWlsZCIKZ28gYnVpbGQKCmVjaG8gKyAiZ28gdGVzdCAtdiIKZ28gdGVzdCAtdgoK",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,16 +0,0 @@
|
||||||
workspace:
|
|
||||||
base: /go
|
|
||||||
path: src/github.com/drone/envsubst
|
|
||||||
|
|
||||||
clone:
|
|
||||||
git:
|
|
||||||
image: woodpeckerci/plugin-git
|
|
||||||
depth: 50
|
|
||||||
|
|
||||||
steps:
|
|
||||||
build:
|
|
||||||
image: golang:1.7
|
|
||||||
commands:
|
|
||||||
- go get -t ./...
|
|
||||||
- go build
|
|
||||||
- go test -v
|
|
|
@ -1,16 +0,0 @@
|
||||||
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_REFSPEC=
|
|
||||||
CI_COMMIT_SHA=d0876d3176965f9552a611cbd56e24a9264355e6
|
|
||||||
CI_PIPELINE_CREATED=1486119586
|
|
||||||
CI_PIPELINE_EVENT=push
|
|
||||||
CI_PIPELINE_NUMBER=6
|
|
||||||
CI_PIPELINE_STARTED=1486119585
|
|
||||||
CI_PIPELINE_URL=
|
|
||||||
CI_REPO=drone/envsubst
|
|
||||||
CI_REPO_CLONE_URL=https://github.com/drone/envsubst.git
|
|
||||||
CI_REPO_NAME=drone/envsubst
|
|
||||||
CI_REPO_PRIVATE=false
|
|
||||||
CI_REPO_URL=https://github.com/drone/envsubst
|
|
|
@ -1,13 +0,0 @@
|
||||||
# Example
|
|
||||||
|
|
||||||
Compile the yaml to the intermediate representation:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
pipec compile --system-arch windows/amd64
|
|
||||||
```
|
|
||||||
|
|
||||||
Execute the intermediate representation:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
pipec exec
|
|
||||||
```
|
|
|
@ -1,125 +0,0 @@
|
||||||
{
|
|
||||||
"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
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
platform: windows/amd64
|
|
||||||
|
|
||||||
workspace:
|
|
||||||
base: c:\gopath
|
|
||||||
path: src\github.com\drone\envsubst
|
|
||||||
|
|
||||||
clone:
|
|
||||||
git:
|
|
||||||
image: woodpeckerci/plugin-git:windows
|
|
||||||
depth: 50
|
|
||||||
|
|
||||||
steps:
|
|
||||||
build:
|
|
||||||
image: golang:1.10.1-nanoserver-sac2016
|
|
||||||
commands:
|
|
||||||
- go get -t .\...
|
|
||||||
- go build
|
|
||||||
- go test -v
|
|
|
@ -1,16 +0,0 @@
|
||||||
CI_COMMIT_AUTHOR=egorsmkv
|
|
||||||
CI_COMMIT_BRANCH=master
|
|
||||||
CI_COMMIT_MESSAGE="Fix many urls"
|
|
||||||
CI_COMMIT_REF=refs/heads/master
|
|
||||||
CI_COMMIT_REFSPEC=
|
|
||||||
CI_COMMIT_SHA=2e00b5cd70399450106cec6431c2e2ce3cae5034
|
|
||||||
CI_PIPELINE_CREATED=1486119586
|
|
||||||
CI_PIPELINE_EVENT=push
|
|
||||||
CI_PIPELINE_NUMBER=530
|
|
||||||
CI_PIPELINE_STARTED=1486119585
|
|
||||||
CI_PIPELINE_URL=
|
|
||||||
CI_REPO=go-sql-driver/mysql
|
|
||||||
CI_REPO_CLONE_URL=https://github.com/go-sql-driver/mysql.git
|
|
||||||
CI_REPO_NAME=go-sql-driver/mysql
|
|
||||||
CI_REPO_PRIVATE=false
|
|
||||||
CI_REPO_URL=https://github.com/go-sql-driver/mysql
|
|
|
@ -1,153 +0,0 @@
|
||||||
{
|
|
||||||
"pipeline": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_clone",
|
|
||||||
"alias": "clone",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_clone",
|
|
||||||
"image": "woodpeckerci/plugin-git:latest",
|
|
||||||
"working_dir": "/go/src/github.com/go-sql-driver/mysql",
|
|
||||||
"environment": {
|
|
||||||
"CI": "pipec",
|
|
||||||
"CI_PIPELINE_CREATED": "1486119586",
|
|
||||||
"CI_PIPELINE_EVENT": "push",
|
|
||||||
"CI_PIPELINE_NUMBER": "530",
|
|
||||||
"CI_PIPELINE_STARTED": "1486119585",
|
|
||||||
"CI_COMMIT_AUTHOR": "egorsmkv",
|
|
||||||
"CI_COMMIT_BRANCH": "main",
|
|
||||||
"CI_COMMIT_MESSAGE": "Fix many urls",
|
|
||||||
"CI_COMMIT_REF": "refs/heads/main",
|
|
||||||
"CI_COMMIT_SHA": "2e00b5cd70399450106cec6431c2e2ce3cae5034",
|
|
||||||
"CI_REMOTE_URL": "https://github.com/go-sql-driver/mysql.git",
|
|
||||||
"CI_REPO": "go-sql-driver/mysql",
|
|
||||||
"CI_REPO_URL": "https://github.com/go-sql-driver/mysql",
|
|
||||||
"CI_REPO_NAME": "go-sql-driver/mysql",
|
|
||||||
"CI_REPO_CLONE_URL": "https://github.com/go-sql-driver/mysql.git",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
|
|
||||||
"CI_SYSTEM_NAME": "pipec",
|
|
||||||
"CI_WORKSPACE": "/go/src/github.com/go-sql-driver/mysql",
|
|
||||||
"PLUGIN_DEPTH": "0"
|
|
||||||
},
|
|
||||||
"volumes": ["pipeline_default:/go"],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"aliases": null
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"on_success": true,
|
|
||||||
"auth_config": {}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "pipeline_services",
|
|
||||||
"alias": "services",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_services_0",
|
|
||||||
"alias": "database",
|
|
||||||
"image": "mysql:latest",
|
|
||||||
"detach": true,
|
|
||||||
"environment": {
|
|
||||||
"CI": "pipec",
|
|
||||||
"CI_PIPELINE_CREATED": "1486119586",
|
|
||||||
"CI_PIPELINE_EVENT": "push",
|
|
||||||
"CI_PIPELINE_NUMBER": "530",
|
|
||||||
"CI_PIPELINE_STARTED": "1486119585",
|
|
||||||
"CI_COMMIT_AUTHOR": "egorsmkv",
|
|
||||||
"CI_COMMIT_BRANCH": "main",
|
|
||||||
"CI_COMMIT_MESSAGE": "Fix many urls",
|
|
||||||
"CI_COMMIT_REF": "refs/heads/main",
|
|
||||||
"CI_COMMIT_SHA": "2e00b5cd70399450106cec6431c2e2ce3cae5034",
|
|
||||||
"CI_REMOTE_URL": "https://github.com/go-sql-driver/mysql.git",
|
|
||||||
"CI_REPO": "go-sql-driver/mysql",
|
|
||||||
"CI_REPO_URL": "https://github.com/go-sql-driver/mysql",
|
|
||||||
"CI_REPO_NAME": "go-sql-driver/mysql",
|
|
||||||
"CI_REPO_CLONE_URL": "https://github.com/go-sql-driver/mysql.git",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
|
|
||||||
"CI_SYSTEM_NAME": "pipec",
|
|
||||||
"CI_WORKSPACE": "/go/src/github.com/go-sql-driver/mysql",
|
|
||||||
"MYSQL_ALLOW_EMPTY_PASSWORD": "yes",
|
|
||||||
"MYSQL_DATABASE": "gotest"
|
|
||||||
},
|
|
||||||
"volumes": ["pipeline_default:/go"],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"aliases": ["database"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"on_success": true,
|
|
||||||
"auth_config": {}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "pipeline_stage_0",
|
|
||||||
"alias": "build",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_step_0",
|
|
||||||
"alias": "build",
|
|
||||||
"image": "golang:1.7",
|
|
||||||
"working_dir": "/go/src/github.com/go-sql-driver/mysql",
|
|
||||||
"environment": {
|
|
||||||
"CI": "pipec",
|
|
||||||
"CI_PIPELINE_CREATED": "1486119586",
|
|
||||||
"CI_PIPELINE_EVENT": "push",
|
|
||||||
"CI_PIPELINE_NUMBER": "530",
|
|
||||||
"CI_PIPELINE_STARTED": "1486119585",
|
|
||||||
"CI_COMMIT_AUTHOR": "egorsmkv",
|
|
||||||
"CI_COMMIT_BRANCH": "main",
|
|
||||||
"CI_COMMIT_MESSAGE": "Fix many urls",
|
|
||||||
"CI_COMMIT_REF": "refs/heads/main",
|
|
||||||
"CI_COMMIT_SHA": "2e00b5cd70399450106cec6431c2e2ce3cae5034",
|
|
||||||
"CI_REMOTE_URL": "https://github.com/go-sql-driver/mysql.git",
|
|
||||||
"CI_REPO": "go-sql-driver/mysql",
|
|
||||||
"CI_REPO_URL": "https://github.com/go-sql-driver/mysql",
|
|
||||||
"CI_REPO_NAME": "go-sql-driver/mysql",
|
|
||||||
"CI_REPO_CLONE_URL": "https://github.com/go-sql-driver/mysql.git",
|
|
||||||
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJzbGVlcCAyMCIKc2xlZXAgMjAKCmVjaG8gKyAiZ28gZ2V0IC12IC10IgpnbyBnZXQgLXYgLXQKCmVjaG8gKyAiZ28gdGVzdCAtdiIKZ28gdGVzdCAtdgoK",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
|
|
||||||
"CI_SYSTEM_NAME": "pipec",
|
|
||||||
"CI_WORKSPACE": "/go/src/github.com/go-sql-driver/mysql",
|
|
||||||
"HOME": "/root",
|
|
||||||
"MYSQL_TEST_ADDR": "database:3306",
|
|
||||||
"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": ["database"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"on_success": true,
|
|
||||||
"auth_config": {}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"driver": "bridge"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"volumes": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"driver": "local"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
workspace:
|
|
||||||
base: /go
|
|
||||||
path: src/github.com/go-sql-driver/mysql
|
|
||||||
|
|
||||||
steps:
|
|
||||||
build:
|
|
||||||
image: golang:1.7
|
|
||||||
environment:
|
|
||||||
MYSQL_TEST_ADDR: database:3306
|
|
||||||
commands:
|
|
||||||
- sleep 20
|
|
||||||
- go get -v -t
|
|
||||||
- go test -v
|
|
||||||
|
|
||||||
services:
|
|
||||||
database:
|
|
||||||
image: mysql
|
|
||||||
environment:
|
|
||||||
- MYSQL_DATABASE=gotest
|
|
||||||
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
|
|
|
@ -1,16 +0,0 @@
|
||||||
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_REFSPEC=
|
|
||||||
CI_COMMIT_SHA=d0876d3176965f9552a611cbd56e24a9264355e6
|
|
||||||
CI_PIPELINE_CREATED=1486119586
|
|
||||||
CI_PIPELINE_EVENT=push
|
|
||||||
CI_PIPELINE_NUMBER=6
|
|
||||||
CI_PIPELINE_STARTED=1486119585
|
|
||||||
CI_PIPELINE_URL=
|
|
||||||
CI_REPO=drone/envsubst
|
|
||||||
CI_REPO_CLONE_URL=https://github.com/drone/envsubst.git
|
|
||||||
CI_REPO_NAME=drone/envsubst
|
|
||||||
CI_REPO_PRIVATE=false
|
|
||||||
CI_REPO_URL=https://github.com/drone/envsubst
|
|
|
@ -1,156 +0,0 @@
|
||||||
{
|
|
||||||
"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_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": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "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": "build",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_step_0",
|
|
||||||
"alias": "build",
|
|
||||||
"image": "golang:1.7",
|
|
||||||
"working_dir": "/go/src/github.com/drone/envsubst",
|
|
||||||
"environment": {
|
|
||||||
"CI": "pipec",
|
|
||||||
"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": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHRoaXMgc3RlcCBzaG91bGQgZmFpbCIKZWNobyB0aGlzIHN0ZXAgc2hvdWxkIGZhaWwKCmVjaG8gKyAiZXhpdCAxIgpleGl0IDEKCg==",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "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_1",
|
|
||||||
"alias": "test",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_step_1",
|
|
||||||
"alias": "test",
|
|
||||||
"image": "golang:1.7",
|
|
||||||
"working_dir": "/go/src/github.com/drone/envsubst",
|
|
||||||
"environment": {
|
|
||||||
"CI": "pipec",
|
|
||||||
"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": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHRoaXMgc3RlcCBzaG91bGQgbmV2ZXIgZXhlY3V0ZSIKZWNobyB0aGlzIHN0ZXAgc2hvdWxkIG5ldmVyIGV4ZWN1dGUKCg==",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,19 +0,0 @@
|
||||||
workspace:
|
|
||||||
base: /go
|
|
||||||
path: src/github.com/drone/envsubst
|
|
||||||
|
|
||||||
clone:
|
|
||||||
git:
|
|
||||||
image: woodpeckerci/plugin-git
|
|
||||||
depth: 50
|
|
||||||
|
|
||||||
steps:
|
|
||||||
build:
|
|
||||||
image: golang:1.7
|
|
||||||
commands:
|
|
||||||
- echo this step should fail
|
|
||||||
- exit 1
|
|
||||||
test:
|
|
||||||
image: golang:1.7
|
|
||||||
commands:
|
|
||||||
- echo this step should never execute
|
|
|
@ -1,16 +0,0 @@
|
||||||
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_REFSPEC=
|
|
||||||
CI_COMMIT_SHA=d0876d3176965f9552a611cbd56e24a9264355e6
|
|
||||||
CI_PIPELINE_CREATED=1486119586
|
|
||||||
CI_PIPELINE_EVENT=push
|
|
||||||
CI_PIPELINE_NUMBER=6
|
|
||||||
CI_PIPELINE_STARTED=1486119585
|
|
||||||
CI_PIPELINE_URL=
|
|
||||||
CI_REPO=drone/envsubst
|
|
||||||
CI_REPO_CLONE_URL=https://github.com/drone/envsubst.git
|
|
||||||
CI_REPO_NAME=drone/envsubst
|
|
||||||
CI_REPO_PRIVATE=false
|
|
||||||
CI_REPO_URL=https://github.com/drone/envsubst
|
|
|
@ -1,156 +0,0 @@
|
||||||
{
|
|
||||||
"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_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": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "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": "build",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_step_0",
|
|
||||||
"alias": "build",
|
|
||||||
"image": "golang:1.7",
|
|
||||||
"working_dir": "/go/src/github.com/drone/envsubst",
|
|
||||||
"environment": {
|
|
||||||
"CI": "pipec",
|
|
||||||
"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": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHRoaXMgc3RlcCBzaG91bGQgZmFpbCIKZWNobyB0aGlzIHN0ZXAgc2hvdWxkIGZhaWwKCmVjaG8gKyAiZXhpdCAxIgpleGl0IDEKCg==",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "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_1",
|
|
||||||
"alias": "test",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_step_1",
|
|
||||||
"alias": "test",
|
|
||||||
"image": "golang:1.7",
|
|
||||||
"working_dir": "/go/src/github.com/drone/envsubst",
|
|
||||||
"environment": {
|
|
||||||
"CI": "pipec",
|
|
||||||
"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": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHRoaXMgc3RlcCBzaG91bGQgZXhlY3V0ZSwgZGVzcGl0ZSBmYWlsdXJlIgplY2hvIHRoaXMgc3RlcCBzaG91bGQgZXhlY3V0ZSwgZGVzcGl0ZSBmYWlsdXJlCgo=",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "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_failure": true,
|
|
||||||
"auth_config": {}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"driver": "bridge"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"volumes": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"driver": "local"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
workspace:
|
|
||||||
base: /go
|
|
||||||
path: src/github.com/drone/envsubst
|
|
||||||
|
|
||||||
clone:
|
|
||||||
git:
|
|
||||||
image: woodpeckerci/plugin-git
|
|
||||||
depth: 50
|
|
||||||
|
|
||||||
steps:
|
|
||||||
build:
|
|
||||||
image: golang:1.7
|
|
||||||
commands:
|
|
||||||
- echo this step should fail
|
|
||||||
- exit 1
|
|
||||||
test:
|
|
||||||
image: golang:1.7
|
|
||||||
commands:
|
|
||||||
- echo this step should execute, despite failure
|
|
||||||
when:
|
|
||||||
status: [failure]
|
|
|
@ -1,16 +0,0 @@
|
||||||
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_REFSPEC=
|
|
||||||
CI_COMMIT_SHA=d0876d3176965f9552a611cbd56e24a9264355e6
|
|
||||||
CI_PIPELINE_CREATED=1486119586
|
|
||||||
CI_PIPELINE_EVENT=push
|
|
||||||
CI_PIPELINE_NUMBER=6
|
|
||||||
CI_PIPELINE_STARTED=1486119585
|
|
||||||
CI_PIPELINE_URL=
|
|
||||||
CI_REPO=drone/envsubst
|
|
||||||
CI_REPO_CLONE_URL=https://github.com/drone/envsubst.git
|
|
||||||
CI_REPO_NAME=drone/envsubst
|
|
||||||
CI_REPO_PRIVATE=false
|
|
||||||
CI_REPO_URL=https://github.com/drone/envsubst
|
|
|
@ -1,288 +0,0 @@
|
||||||
{
|
|
||||||
"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_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": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "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_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": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgMSIKZWNobyBzdGVwIDEKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSAxIgplY2hvIGRvbmUgMQoK",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "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_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": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgMiIKZWNobyBzdGVwIDIKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSAyIgplY2hvIGRvbmUgMgoK",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "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_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": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIEkgc2hvdWxkIGV4ZWN1dGUgbGFzdC4iCmVjaG8gSSBzaG91bGQgZXhlY3V0ZSBsYXN0LgoKZWNobyArICJlY2hvIGFmdGVyIHRoZSBwcmlvciB0d28gc3RlcHMgZmluaXNoIGV4ZWN1dGlvbi4iCmVjaG8gYWZ0ZXIgdGhlIHByaW9yIHR3byBzdGVwcyBmaW5pc2ggZXhlY3V0aW9uLgoK",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "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_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": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgMyIKZWNobyBzdGVwIDMKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSAzIgplY2hvIGRvbmUgMwoK",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "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_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": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgNCIKZWNobyBzdGVwIDQKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSA0IgplY2hvIGRvbmUgNAoK",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,54 +0,0 @@
|
||||||
workspace:
|
|
||||||
base: /go
|
|
||||||
path: src/github.com/drone/envsubst
|
|
||||||
|
|
||||||
clone:
|
|
||||||
git:
|
|
||||||
image: woodpeckerci/plugin-git
|
|
||||||
depth: 50
|
|
||||||
|
|
||||||
steps:
|
|
||||||
# these steps define a parallel execution
|
|
||||||
# group and will fan out.
|
|
||||||
|
|
||||||
foo:
|
|
||||||
image: golang:1.7
|
|
||||||
group: build
|
|
||||||
commands:
|
|
||||||
- echo step 1
|
|
||||||
- sleep 10
|
|
||||||
- echo done 1
|
|
||||||
bar:
|
|
||||||
image: golang:1.7
|
|
||||||
group: build
|
|
||||||
commands:
|
|
||||||
- echo step 2
|
|
||||||
- sleep 10
|
|
||||||
- echo done 2
|
|
||||||
|
|
||||||
# this step is not grouped with the previous
|
|
||||||
# steps, resulting in a fan-in.
|
|
||||||
|
|
||||||
baz:
|
|
||||||
image: golang:1.7
|
|
||||||
commands:
|
|
||||||
- echo I should execute last.
|
|
||||||
- echo after the prior two steps finish execution.
|
|
||||||
|
|
||||||
# these steps define a parallel execution
|
|
||||||
# group and will fan back out.
|
|
||||||
|
|
||||||
qux:
|
|
||||||
image: golang:1.7
|
|
||||||
group: test
|
|
||||||
commands:
|
|
||||||
- echo step 3
|
|
||||||
- sleep 10
|
|
||||||
- echo done 3
|
|
||||||
quux:
|
|
||||||
image: golang:1.7
|
|
||||||
group: test
|
|
||||||
commands:
|
|
||||||
- echo step 4
|
|
||||||
- sleep 10
|
|
||||||
- echo done 4
|
|
|
@ -1,24 +0,0 @@
|
||||||
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_REFSPEC=
|
|
||||||
CI_COMMIT_SHA=d0876d3176965f9552a611cbd56e24a9264355e6
|
|
||||||
CI_PIPELINE_CREATED=1486119586
|
|
||||||
CI_PIPELINE_EVENT=push
|
|
||||||
CI_PIPELINE_NUMBER=6
|
|
||||||
CI_PIPELINE_STARTED=1486119585
|
|
||||||
CI_PIPELINE_URL=
|
|
||||||
CI_REPO=drone/envsubst
|
|
||||||
CI_REPO_CLONE_URL=https://github.com/drone/envsubst.git
|
|
||||||
CI_REPO_NAME=drone/envsubst
|
|
||||||
CI_REPO_PRIVATE=false
|
|
||||||
CI_REPO_URL=https://github.com/drone/envsubst
|
|
||||||
|
|
||||||
# custom secrets
|
|
||||||
SLACK_WEBHOOK=https://slack.com/hooks/xxxxxxxx/yyyyyyyyy
|
|
||||||
|
|
||||||
# registry secrets
|
|
||||||
CI_REGISTRY_HOSTNAME=docker.io
|
|
||||||
CI_REGISTRY_PASSWORD=password
|
|
||||||
CI_REGISTRY_USERNAME=gordon
|
|
|
@ -1,187 +0,0 @@
|
||||||
{
|
|
||||||
"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": "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": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
|
|
||||||
"CI_SYSTEM_NAME": "pipec",
|
|
||||||
"CI_WORKSPACE": "/go/src/github.com/drone/envsubst",
|
|
||||||
"CI_ARCH": "linux/amd64",
|
|
||||||
"CI_BRANCH": "main",
|
|
||||||
"CI_PIPELINE_URL": "https://github.com/cncd/pipec/drone/envsubst/6",
|
|
||||||
"CI_COMMIT": "d0876d3176965f9552a611cbd56e24a9264355e6",
|
|
||||||
"CI_STEP_STARTED": "1486119585",
|
|
||||||
"CI_REPO_BRANCH": "main",
|
|
||||||
"CI_REPO_OWNER": "drone",
|
|
||||||
"CI_REPO_SCM": "git",
|
|
||||||
"PLUGIN_DEPTH": "50"
|
|
||||||
},
|
|
||||||
"volumes": ["pipeline_default:/go"],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"aliases": null
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"on_success": true,
|
|
||||||
"auth_config": {
|
|
||||||
"username": "gordon",
|
|
||||||
"password": "password"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "pipeline_stage_0",
|
|
||||||
"alias": "build",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_step_0",
|
|
||||||
"alias": "build",
|
|
||||||
"image": "golang:1.7",
|
|
||||||
"working_dir": "/go/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": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJnbyBnZXQgLXQgLi8uLi4iCmdvIGdldCAtdCAuLy4uLgoKZWNobyArICJnbyBidWlsZCIKZ28gYnVpbGQKCmVjaG8gKyAiZ28gdGVzdCAtdiIKZ28gdGVzdCAtdgoK",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
|
|
||||||
"CI_SYSTEM_NAME": "pipec",
|
|
||||||
"CI_WORKSPACE": "/go/src/github.com/drone/envsubst",
|
|
||||||
"CI_ARCH": "linux/amd64",
|
|
||||||
"CI_BRANCH": "main",
|
|
||||||
"CI_COMMIT": "d0876d3176965f9552a611cbd56e24a9264355e6",
|
|
||||||
"CI_STEP_STARTED": "1486119585",
|
|
||||||
"CI_REPO_BRANCH": "main",
|
|
||||||
"CI_REPO_OWNER": "drone",
|
|
||||||
"CI_REPO_SCM": "git",
|
|
||||||
"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": {
|
|
||||||
"username": "gordon",
|
|
||||||
"password": "password"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "pipeline_stage_1",
|
|
||||||
"alias": "slack",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_step_1",
|
|
||||||
"alias": "slack",
|
|
||||||
"image": "plugins/slack:latest",
|
|
||||||
"working_dir": "/go/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": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
|
|
||||||
"CI_SYSTEM_NAME": "pipec",
|
|
||||||
"CI_WORKSPACE": "/go/src/github.com/drone/envsubst",
|
|
||||||
"CI_ARCH": "linux/amd64",
|
|
||||||
"CI_BRANCH": "main",
|
|
||||||
"CI_PIPELINE_URL": "https://github.com/cncd/pipec/drone/envsubst/6",
|
|
||||||
"CI_COMMIT": "d0876d3176965f9552a611cbd56e24a9264355e6",
|
|
||||||
"CI_STEP_STARTED": "1486119585",
|
|
||||||
"CI_REPO_BRANCH": "main",
|
|
||||||
"CI_REPO_OWNER": "drone",
|
|
||||||
"CI_REPO_SCM": "git",
|
|
||||||
"PLUGIN_CHANNEL": "builds",
|
|
||||||
"PLUGIN_USERNAME": "drone",
|
|
||||||
"SLACK_WEBHOOK": "https://slack.com/hooks/xxxxxxxx/yyyyyyyyy"
|
|
||||||
},
|
|
||||||
"volumes": ["pipeline_default:/go"],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"aliases": null
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"on_success": true,
|
|
||||||
"auth_config": {
|
|
||||||
"username": "gordon",
|
|
||||||
"password": "password"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"driver": "bridge"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"volumes": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"driver": "local"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"secrets": null
|
|
||||||
}
|
|
|
@ -1,22 +0,0 @@
|
||||||
workspace:
|
|
||||||
base: /go
|
|
||||||
path: src/github.com/drone/envsubst
|
|
||||||
|
|
||||||
clone:
|
|
||||||
git:
|
|
||||||
image: woodpeckerci/plugin-git
|
|
||||||
depth: 50
|
|
||||||
|
|
||||||
steps:
|
|
||||||
build:
|
|
||||||
image: golang:1.7
|
|
||||||
commands:
|
|
||||||
- go get -t ./...
|
|
||||||
- go build
|
|
||||||
- go test -v
|
|
||||||
|
|
||||||
slack:
|
|
||||||
image: plugins/slack
|
|
||||||
channel: builds
|
|
||||||
username: drone
|
|
||||||
secrets: [slack_webhook]
|
|
|
@ -1,119 +0,0 @@
|
||||||
{
|
|
||||||
"pipeline": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_services",
|
|
||||||
"alias": "services",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_services_0",
|
|
||||||
"alias": "redis1",
|
|
||||||
"image": "redis:3.0",
|
|
||||||
"detach": true,
|
|
||||||
"environment": {
|
|
||||||
"CI": "drone",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
|
|
||||||
"CI_SYSTEM_NAME": "pipec",
|
|
||||||
"CI_WORKSPACE": "/go/src/github.com/drone/envsubst",
|
|
||||||
"CI_ARCH": "linux/amd64",
|
|
||||||
"CI_PIPELINE_URL": "https://github.com/cncd/pipec//0",
|
|
||||||
"CI_REPO_SCM": "git"
|
|
||||||
},
|
|
||||||
"volumes": [
|
|
||||||
"/Users/bradrydzewski/code/src/github.com/woodpecker-ci/woodpecker/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst"
|
|
||||||
],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"aliases": ["redis1"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"on_success": true,
|
|
||||||
"auth_config": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "pipeline_services_1",
|
|
||||||
"alias": "redis2",
|
|
||||||
"image": "redis:3.0",
|
|
||||||
"detach": true,
|
|
||||||
"environment": {
|
|
||||||
"CI": "drone",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
|
|
||||||
"CI_SYSTEM_NAME": "pipec",
|
|
||||||
"CI_WORKSPACE": "/go/src/github.com/drone/envsubst",
|
|
||||||
"CI_ARCH": "linux/amd64",
|
|
||||||
"CI_PIPELINE_URL": "https://github.com/cncd/pipec//0",
|
|
||||||
"CI_REPO_SCM": "git"
|
|
||||||
},
|
|
||||||
"volumes": [
|
|
||||||
"/Users/bradrydzewski/code/src/github.com/woodpecker-ci/woodpecker/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst"
|
|
||||||
],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"aliases": ["redis2"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"on_success": true,
|
|
||||||
"auth_config": {}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "pipeline_stage_0",
|
|
||||||
"alias": "build",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_step_0",
|
|
||||||
"alias": "build",
|
|
||||||
"image": "redis:3.0",
|
|
||||||
"working_dir": "/go/src/github.com/drone/envsubst",
|
|
||||||
"environment": {
|
|
||||||
"CI": "drone",
|
|
||||||
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAp1bnNldCBEUk9ORV9ORVRSQ19VU0VSTkFNRQp1bnNldCBEUk9ORV9ORVRSQ19QQVNTV09SRAoKZWNobyArICJzbGVlcCAxIgpzbGVlcCAxCgplY2hvICsgInJlZGlzLWNsaSAtaCByZWRpczEgcGluZyIKcmVkaXMtY2xpIC1oIHJlZGlzMSBwaW5nCgplY2hvICsgInJlZGlzLWNsaSAtaCByZWRpczIgcGluZyIKcmVkaXMtY2xpIC1oIHJlZGlzMiBwaW5nCgplY2hvICsgInJlZGlzLWNsaSAtaCByZWRpczEgc2V0IEhFTExPIGhlbGxvIgpyZWRpcy1jbGkgLWggcmVkaXMxIHNldCBIRUxMTyBoZWxsbwoKZWNobyArICJyZWRpcy1jbGkgLWggcmVkaXMyIHNldCBIRUxMTyBob2xhIgpyZWRpcy1jbGkgLWggcmVkaXMyIHNldCBIRUxMTyBob2xhCgplY2hvICsgInJlZGlzLWNsaSAtaCByZWRpczEgZ2V0IEhFTExPIgpyZWRpcy1jbGkgLWggcmVkaXMxIGdldCBIRUxMTwoKZWNobyArICJyZWRpcy1jbGkgLWggcmVkaXMyIGdldCBIRUxMTyIKcmVkaXMtY2xpIC1oIHJlZGlzMiBnZXQgSEVMTE8KCg==",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
|
|
||||||
"CI_SYSTEM_NAME": "pipec",
|
|
||||||
"CI_WORKSPACE": "/go/src/github.com/drone/envsubst",
|
|
||||||
"DRONE": "true",
|
|
||||||
"CI_ARCH": "linux/amd64",
|
|
||||||
"CI_PIPELINE_URL": "https://github.com/cncd/pipec//0",
|
|
||||||
"CI_REPO_SCM": "git",
|
|
||||||
"HOME": "/root",
|
|
||||||
"SHELL": "/bin/sh"
|
|
||||||
},
|
|
||||||
"entrypoint": ["/bin/sh", "-c"],
|
|
||||||
"command": ["echo $CI_SCRIPT | base64 -d | /bin/sh -e"],
|
|
||||||
"volumes": [
|
|
||||||
"/Users/bradrydzewski/code/src/github.com/woodpecker-ci/woodpecker/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst"
|
|
||||||
],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"aliases": ["build"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"on_success": true,
|
|
||||||
"auth_config": {}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"driver": "bridge"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"volumes": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"driver": "local"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"secrets": null
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
workspace:
|
|
||||||
base: /go
|
|
||||||
path: src/github.com/drone/envsubst
|
|
||||||
|
|
||||||
steps:
|
|
||||||
build:
|
|
||||||
image: redis:3.0
|
|
||||||
commands:
|
|
||||||
- sleep 1 # redis needs a second to init
|
|
||||||
- redis-cli -h redis1 ping
|
|
||||||
- redis-cli -h redis2 ping
|
|
||||||
- redis-cli -h redis1 set HELLO hello
|
|
||||||
- redis-cli -h redis2 set HELLO hola
|
|
||||||
- redis-cli -h redis1 get HELLO
|
|
||||||
- redis-cli -h redis2 get HELLO
|
|
||||||
|
|
||||||
services:
|
|
||||||
redis1:
|
|
||||||
image: redis:3.0
|
|
||||||
redis2:
|
|
||||||
image: redis:3.0
|
|
|
@ -1,20 +0,0 @@
|
||||||
# Example
|
|
||||||
|
|
||||||
Compile the yaml to the intermediate representation:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
pipec compile
|
|
||||||
```
|
|
||||||
|
|
||||||
Execute the intermediate representation:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
pipec exec
|
|
||||||
```
|
|
||||||
|
|
||||||
This example shows how to use the network_mode option to use the network defined
|
|
||||||
by other container. This is useful for example to allow the CI to connect with servers
|
|
||||||
behind a VPN.
|
|
||||||
|
|
||||||
Before to start you need to create a container that connects to the VPN (using one of
|
|
||||||
the openvpn client images like <https://github.com/ekristen/docker-openvpn-client>).
|
|
|
@ -1,88 +0,0 @@
|
||||||
{
|
|
||||||
"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": "drone",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
|
|
||||||
"CI_SYSTEM_NAME": "pipec",
|
|
||||||
"CI_WORKSPACE": "/go/src/github.com/drone/envsubst",
|
|
||||||
"CI_ARCH": "linux/amd64",
|
|
||||||
"CI_PIPELINE_URL": "https://github.com/cncd/pipec//0",
|
|
||||||
"CI_REPO_SCM": "git",
|
|
||||||
"PLUGIN_DEPTH": "50"
|
|
||||||
},
|
|
||||||
"volumes": ["pipeline_default:/go"],
|
|
||||||
"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": "tutum/curl:latest",
|
|
||||||
"working_dir": "/go/src/github.com/drone/envsubst",
|
|
||||||
"environment": {
|
|
||||||
"CI": "drone",
|
|
||||||
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAp1bnNldCBEUk9ORV9ORVRSQ19VU0VSTkFNRQp1bnNldCBEUk9ORV9ORVRSQ19QQVNTV09SRAoKZWNobyArICJjdXJsIC1zIC1mIC1MIGh0dHA6Ly9IT1NUX09SX0lQLyIKY3VybCAtcyAtZiAtTCBodHRwOi8vSE9TVF9PUl9JUC8KCg==",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
|
|
||||||
"CI_SYSTEM_NAME": "pipec",
|
|
||||||
"CI_WORKSPACE": "/go/src/github.com/drone/envsubst",
|
|
||||||
"CI_ARCH": "linux/amd64",
|
|
||||||
"CI_PIPELINE_URL": "https://github.com/cncd/pipec//0",
|
|
||||||
"CI_REPO_SCM": "git",
|
|
||||||
"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": ["build"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"on_success": true,
|
|
||||||
"auth_config": {},
|
|
||||||
"network_mode": "container:vpn"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"driver": "bridge"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"volumes": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"driver": "local"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"secrets": null
|
|
||||||
}
|
|
|
@ -1,17 +0,0 @@
|
||||||
workspace:
|
|
||||||
base: /go
|
|
||||||
path: src/github.com/drone/envsubst
|
|
||||||
|
|
||||||
clone:
|
|
||||||
git:
|
|
||||||
image: woodpeckerci/plugin-git
|
|
||||||
depth: 50
|
|
||||||
|
|
||||||
steps:
|
|
||||||
build:
|
|
||||||
image: tutum/curl
|
|
||||||
# A container named "vpn" should exist on the same docker daemon
|
|
||||||
network_mode: 'container:vpn'
|
|
||||||
# Replace HOST_OR_IP with the IP or hostname of a server behind the VPN
|
|
||||||
commands:
|
|
||||||
- curl -s -f -L http://HOST_OR_IP/
|
|
|
@ -1,16 +0,0 @@
|
||||||
steps:
|
|
||||||
ping:
|
|
||||||
image: postgres
|
|
||||||
commands:
|
|
||||||
- sleep 10
|
|
||||||
- psql -U postgres -d test -h database -p 5432 -c "CREATE TABLE person( NAME TEXT );"
|
|
||||||
- psql -U postgres -d test -h database -p 5432 -c "INSERT INTO person VALUES('john smith');"
|
|
||||||
- psql -U postgres -d test -h database -p 5432 -c "INSERT INTO person VALUES('jane doe');"
|
|
||||||
- psql -U postgres -d test -h database -p 5432 -c "SELECT * FROM person;"
|
|
||||||
|
|
||||||
services:
|
|
||||||
database:
|
|
||||||
image: postgres
|
|
||||||
environment:
|
|
||||||
- POSTGRES_USER=postgres
|
|
||||||
- POSTGRES_DB=test
|
|
|
@ -1,18 +0,0 @@
|
||||||
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_REFSPEC=
|
|
||||||
CI_COMMIT_SHA=d0876d3176965f9552a611cbd56e24a9264355e6
|
|
||||||
CI_PIPELINE_CREATED=1486119586
|
|
||||||
CI_PIPELINE_EVENT=push
|
|
||||||
CI_PIPELINE_NUMBER=6
|
|
||||||
CI_PIPELINE_STARTED=1486119585
|
|
||||||
CI_PIPELINE_URL=
|
|
||||||
CI_REPO=drone/envsubst
|
|
||||||
CI_REPO_CLONE_URL=https://github.com/drone/envsubst.git
|
|
||||||
CI_REPO_NAME=drone/envsubst
|
|
||||||
CI_REPO_PRIVATE=false
|
|
||||||
CI_REPO_URL=https://github.com/drone/envsubst
|
|
||||||
CI_VOLUME_CACHE=true
|
|
||||||
CI_VOLUME_CACHE_BASE=/cache/drone
|
|
|
@ -1,237 +0,0 @@
|
||||||
{
|
|
||||||
"pipeline": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_clone",
|
|
||||||
"alias": "clone",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_clone",
|
|
||||||
"alias": "clone",
|
|
||||||
"image": "woodpeckerci/plugin-git:latest",
|
|
||||||
"working_dir": "/pipeline/src",
|
|
||||||
"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": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
|
|
||||||
"CI_SYSTEM_NAME": "pipec",
|
|
||||||
"CI_WORKSPACE": "/pipeline/src",
|
|
||||||
"CI_ARCH": "linux/amd64",
|
|
||||||
"CI_BRANCH": "main",
|
|
||||||
"CI_PIPELINE_URL": "https://github.com/cncd/pipec/drone/envsubst/6",
|
|
||||||
"CI_COMMIT": "d0876d3176965f9552a611cbd56e24a9264355e6",
|
|
||||||
"CI_STEP_STARTED": "1486119585",
|
|
||||||
"CI_REPO_BRANCH": "main",
|
|
||||||
"CI_REPO_OWNER": "drone",
|
|
||||||
"CI_REPO_SCM": "git",
|
|
||||||
"PLUGIN_DEPTH": "0"
|
|
||||||
},
|
|
||||||
"volumes": ["pipeline_default:/pipeline"],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"aliases": ["clone"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"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_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": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
|
|
||||||
"CI_SYSTEM_NAME": "pipec",
|
|
||||||
"CI_WORKSPACE": "/pipeline/src",
|
|
||||||
"CI_ARCH": "linux/amd64",
|
|
||||||
"CI_BRANCH": "main",
|
|
||||||
"CI_PIPELINE_URL": "https://github.com/cncd/pipec/drone/envsubst/6",
|
|
||||||
"CI_COMMIT": "d0876d3176965f9552a611cbd56e24a9264355e6",
|
|
||||||
"CI_STEP_STARTED": "1486119585",
|
|
||||||
"CI_REPO_BRANCH": "main",
|
|
||||||
"CI_REPO_OWNER": "drone",
|
|
||||||
"CI_REPO_SCM": "git",
|
|
||||||
"PLUGIN_FALLBACK_TO": "main.tar",
|
|
||||||
"PLUGIN_FILE": "main.tar",
|
|
||||||
"PLUGIN_MOUNT": "node_modules",
|
|
||||||
"PLUGIN_PATH": "/cache",
|
|
||||||
"PLUGIN_RESTORE": "true"
|
|
||||||
},
|
|
||||||
"volumes": ["pipeline_default:/pipeline", "/cache/drone/drone/envsubst:/cache"],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"aliases": ["rebuild_cache"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"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_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": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAp1bnNldCBEUk9ORV9ORVRSQ19VU0VSTkFNRQp1bnNldCBEUk9ORV9ORVRSQ19QQVNTV09SRAoKZWNobyArICJucG0gaW5zdGFsbCIKbnBtIGluc3RhbGwKCmVjaG8gKyAibnBtIHRlc3QiCm5wbSB0ZXN0Cgo=",
|
|
||||||
"CI_SYSTEM": "pipec",
|
|
||||||
"CI_SYSTEM_PLATFORM": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
|
|
||||||
"CI_SYSTEM_NAME": "pipec",
|
|
||||||
"CI_WORKSPACE": "/pipeline/src",
|
|
||||||
"CI_ARCH": "linux/amd64",
|
|
||||||
"CI_BRANCH": "main",
|
|
||||||
"CI_PIPELINE_URL": "https://github.com/cncd/pipec/drone/envsubst/6",
|
|
||||||
"CI_COMMIT": "d0876d3176965f9552a611cbd56e24a9264355e6",
|
|
||||||
"CI_STEP_STARTED": "1486119585",
|
|
||||||
"CI_REPO_BRANCH": "main",
|
|
||||||
"CI_REPO_OWNER": "drone",
|
|
||||||
"CI_REPO_SCM": "git",
|
|
||||||
"HOME": "/root",
|
|
||||||
"SHELL": "/bin/sh"
|
|
||||||
},
|
|
||||||
"entrypoint": ["/bin/sh", "-c"],
|
|
||||||
"command": ["echo $CI_SCRIPT | base64 -d | /bin/sh -e"],
|
|
||||||
"volumes": ["pipeline_default:/pipeline"],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"aliases": ["build"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"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_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": "linux/amd64",
|
|
||||||
"CI_SYSTEM_URL": "https://github.com/cncd/pipec",
|
|
||||||
"CI_SYSTEM_NAME": "pipec",
|
|
||||||
"CI_WORKSPACE": "/pipeline/src",
|
|
||||||
"CI_ARCH": "linux/amd64",
|
|
||||||
"CI_BRANCH": "main",
|
|
||||||
"CI_PIPELINE_URL": "https://github.com/cncd/pipec/drone/envsubst/6",
|
|
||||||
"CI_COMMIT": "d0876d3176965f9552a611cbd56e24a9264355e6",
|
|
||||||
"CI_STEP_STARTED": "1486119585",
|
|
||||||
"CI_REPO_BRANCH": "main",
|
|
||||||
"CI_REPO_OWNER": "drone",
|
|
||||||
"CI_REPO_SCM": "git",
|
|
||||||
"PLUGIN_FILE": "main.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",
|
|
||||||
"aliases": ["rebuild_cache"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"on_success": true,
|
|
||||||
"auth_config": {}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"driver": "bridge"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"volumes": [
|
|
||||||
{
|
|
||||||
"name": "pipeline_default",
|
|
||||||
"driver": "local"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"secrets": null
|
|
||||||
}
|
|
|
@ -1,9 +0,0 @@
|
||||||
cache:
|
|
||||||
- node_modules
|
|
||||||
|
|
||||||
steps:
|
|
||||||
build:
|
|
||||||
image: node
|
|
||||||
commands:
|
|
||||||
- npm install
|
|
||||||
- npm test
|
|
|
@ -1,8 +0,0 @@
|
||||||
module.exports = {
|
|
||||||
semi: true,
|
|
||||||
trailingComma: 'all',
|
|
||||||
singleQuote: true,
|
|
||||||
printWidth: 120,
|
|
||||||
tabWidth: 2,
|
|
||||||
endOfLine: 'lf',
|
|
||||||
};
|
|
Loading…
Reference in a new issue