From c74dc9ce92297e88e51dbfeafba7608574ccd86b Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Sat, 30 Dec 2023 15:10:31 +0100 Subject: [PATCH] Remove old files (#3077) from https://github.com/woodpecker-ci/woodpecker/pull/3069 - `.changelog.yml`: no longer used - `pipeline/samples` --- .changelog.yml | 45 --- .prettierignore | 1 + .prettierrc => .prettierrc.json | 0 docs/.prettierrc.js | 8 - pipeline/samples/sample_1/.env | 16 - pipeline/samples/sample_1/README.md | 13 - pipeline/samples/sample_1/pipeline.json | 108 ------- pipeline/samples/sample_1/pipeline.yml | 16 - pipeline/samples/sample_10_windows/.env | 16 - pipeline/samples/sample_10_windows/README.md | 13 - .../samples/sample_10_windows/pipeline.json | 125 -------- .../samples/sample_10_windows/pipeline.yml | 18 -- pipeline/samples/sample_2/.env | 16 - pipeline/samples/sample_2/pipeline.json | 153 ---------- pipeline/samples/sample_2/pipeline.yml | 20 -- pipeline/samples/sample_3/.env | 16 - pipeline/samples/sample_3/pipeline.json | 156 ---------- pipeline/samples/sample_3/pipeline.yml | 19 -- pipeline/samples/sample_4/.env | 16 - pipeline/samples/sample_4/pipeline.json | 156 ---------- pipeline/samples/sample_4/pipeline.yml | 21 -- pipeline/samples/sample_5/.env | 16 - pipeline/samples/sample_5/pipeline.json | 288 ------------------ pipeline/samples/sample_5/pipeline.yml | 54 ---- pipeline/samples/sample_6/.env | 24 -- pipeline/samples/sample_6/pipeline.json | 187 ------------ pipeline/samples/sample_6/pipeline.yml | 22 -- pipeline/samples/sample_7_redis/pipeline.json | 119 -------- pipeline/samples/sample_7_redis/pipeline.yml | 21 -- .../samples/sample_8_network_mode/README.md | 20 -- .../sample_8_network_mode/pipeline.json | 88 ------ .../sample_8_network_mode/pipeline.yml | 17 -- .../samples/sample_8_postgres/pipeline.yml | 16 - pipeline/samples/sample_9_cache/.env | 18 -- pipeline/samples/sample_9_cache/pipeline.json | 237 -------------- pipeline/samples/sample_9_cache/pipeline.yml | 9 - web/.prettierrc.js | 8 - 37 files changed, 1 insertion(+), 2095 deletions(-) delete mode 100644 .changelog.yml rename .prettierrc => .prettierrc.json (100%) delete mode 100644 docs/.prettierrc.js delete mode 100644 pipeline/samples/sample_1/.env delete mode 100644 pipeline/samples/sample_1/README.md delete mode 100644 pipeline/samples/sample_1/pipeline.json delete mode 100644 pipeline/samples/sample_1/pipeline.yml delete mode 100644 pipeline/samples/sample_10_windows/.env delete mode 100644 pipeline/samples/sample_10_windows/README.md delete mode 100644 pipeline/samples/sample_10_windows/pipeline.json delete mode 100644 pipeline/samples/sample_10_windows/pipeline.yml delete mode 100644 pipeline/samples/sample_2/.env delete mode 100644 pipeline/samples/sample_2/pipeline.json delete mode 100644 pipeline/samples/sample_2/pipeline.yml delete mode 100644 pipeline/samples/sample_3/.env delete mode 100644 pipeline/samples/sample_3/pipeline.json delete mode 100644 pipeline/samples/sample_3/pipeline.yml delete mode 100644 pipeline/samples/sample_4/.env delete mode 100644 pipeline/samples/sample_4/pipeline.json delete mode 100644 pipeline/samples/sample_4/pipeline.yml delete mode 100644 pipeline/samples/sample_5/.env delete mode 100644 pipeline/samples/sample_5/pipeline.json delete mode 100644 pipeline/samples/sample_5/pipeline.yml delete mode 100644 pipeline/samples/sample_6/.env delete mode 100644 pipeline/samples/sample_6/pipeline.json delete mode 100644 pipeline/samples/sample_6/pipeline.yml delete mode 100644 pipeline/samples/sample_7_redis/pipeline.json delete mode 100644 pipeline/samples/sample_7_redis/pipeline.yml delete mode 100644 pipeline/samples/sample_8_network_mode/README.md delete mode 100644 pipeline/samples/sample_8_network_mode/pipeline.json delete mode 100644 pipeline/samples/sample_8_network_mode/pipeline.yml delete mode 100644 pipeline/samples/sample_8_postgres/pipeline.yml delete mode 100644 pipeline/samples/sample_9_cache/.env delete mode 100644 pipeline/samples/sample_9_cache/pipeline.json delete mode 100644 pipeline/samples/sample_9_cache/pipeline.yml delete mode 100644 web/.prettierrc.js diff --git a/.changelog.yml b/.changelog.yml deleted file mode 100644 index 16bee94be..000000000 --- a/.changelog.yml +++ /dev/null @@ -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 diff --git a/.prettierignore b/.prettierignore index 5f0f1c8b8..beaa85f06 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,3 +5,4 @@ docs/.docusaurus/ dist/ web/components.d.ts CHANGELOG.md +web/src/assets/dayjsLocales/ diff --git a/.prettierrc b/.prettierrc.json similarity index 100% rename from .prettierrc rename to .prettierrc.json diff --git a/docs/.prettierrc.js b/docs/.prettierrc.js deleted file mode 100644 index b651096fd..000000000 --- a/docs/.prettierrc.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = { - semi: true, - trailingComma: 'all', - singleQuote: true, - printWidth: 120, - tabWidth: 2, - endOfLine: 'lf', -}; diff --git a/pipeline/samples/sample_1/.env b/pipeline/samples/sample_1/.env deleted file mode 100644 index 2a6815f92..000000000 --- a/pipeline/samples/sample_1/.env +++ /dev/null @@ -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 diff --git a/pipeline/samples/sample_1/README.md b/pipeline/samples/sample_1/README.md deleted file mode 100644 index 0cf3536c6..000000000 --- a/pipeline/samples/sample_1/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Example - -Compile the yaml to the intermediate representation: - -```sh -pipec compile -``` - -Execute the intermediate representation: - -```sh -pipec exec -``` diff --git a/pipeline/samples/sample_1/pipeline.json b/pipeline/samples/sample_1/pipeline.json deleted file mode 100644 index 1d0c9ed3e..000000000 --- a/pipeline/samples/sample_1/pipeline.json +++ /dev/null @@ -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" - } - ] -} diff --git a/pipeline/samples/sample_1/pipeline.yml b/pipeline/samples/sample_1/pipeline.yml deleted file mode 100644 index c628e92e7..000000000 --- a/pipeline/samples/sample_1/pipeline.yml +++ /dev/null @@ -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 diff --git a/pipeline/samples/sample_10_windows/.env b/pipeline/samples/sample_10_windows/.env deleted file mode 100644 index 2a6815f92..000000000 --- a/pipeline/samples/sample_10_windows/.env +++ /dev/null @@ -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 diff --git a/pipeline/samples/sample_10_windows/README.md b/pipeline/samples/sample_10_windows/README.md deleted file mode 100644 index 7e5e872d8..000000000 --- a/pipeline/samples/sample_10_windows/README.md +++ /dev/null @@ -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 -``` diff --git a/pipeline/samples/sample_10_windows/pipeline.json b/pipeline/samples/sample_10_windows/pipeline.json deleted file mode 100644 index 432d02c70..000000000 --- a/pipeline/samples/sample_10_windows/pipeline.json +++ /dev/null @@ -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 -} diff --git a/pipeline/samples/sample_10_windows/pipeline.yml b/pipeline/samples/sample_10_windows/pipeline.yml deleted file mode 100644 index 7e8f9bfb8..000000000 --- a/pipeline/samples/sample_10_windows/pipeline.yml +++ /dev/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 diff --git a/pipeline/samples/sample_2/.env b/pipeline/samples/sample_2/.env deleted file mode 100644 index 60e404e57..000000000 --- a/pipeline/samples/sample_2/.env +++ /dev/null @@ -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 diff --git a/pipeline/samples/sample_2/pipeline.json b/pipeline/samples/sample_2/pipeline.json deleted file mode 100644 index 24fc4fa8d..000000000 --- a/pipeline/samples/sample_2/pipeline.json +++ /dev/null @@ -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" - } - ] -} diff --git a/pipeline/samples/sample_2/pipeline.yml b/pipeline/samples/sample_2/pipeline.yml deleted file mode 100644 index 7deb92348..000000000 --- a/pipeline/samples/sample_2/pipeline.yml +++ /dev/null @@ -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 diff --git a/pipeline/samples/sample_3/.env b/pipeline/samples/sample_3/.env deleted file mode 100644 index 2a6815f92..000000000 --- a/pipeline/samples/sample_3/.env +++ /dev/null @@ -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 diff --git a/pipeline/samples/sample_3/pipeline.json b/pipeline/samples/sample_3/pipeline.json deleted file mode 100644 index 792924350..000000000 --- a/pipeline/samples/sample_3/pipeline.json +++ /dev/null @@ -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" - } - ] -} diff --git a/pipeline/samples/sample_3/pipeline.yml b/pipeline/samples/sample_3/pipeline.yml deleted file mode 100644 index adac66ced..000000000 --- a/pipeline/samples/sample_3/pipeline.yml +++ /dev/null @@ -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 diff --git a/pipeline/samples/sample_4/.env b/pipeline/samples/sample_4/.env deleted file mode 100644 index 2a6815f92..000000000 --- a/pipeline/samples/sample_4/.env +++ /dev/null @@ -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 diff --git a/pipeline/samples/sample_4/pipeline.json b/pipeline/samples/sample_4/pipeline.json deleted file mode 100644 index 8082624d7..000000000 --- a/pipeline/samples/sample_4/pipeline.json +++ /dev/null @@ -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" - } - ] -} diff --git a/pipeline/samples/sample_4/pipeline.yml b/pipeline/samples/sample_4/pipeline.yml deleted file mode 100644 index dd203a6f6..000000000 --- a/pipeline/samples/sample_4/pipeline.yml +++ /dev/null @@ -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] diff --git a/pipeline/samples/sample_5/.env b/pipeline/samples/sample_5/.env deleted file mode 100644 index 2a6815f92..000000000 --- a/pipeline/samples/sample_5/.env +++ /dev/null @@ -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 diff --git a/pipeline/samples/sample_5/pipeline.json b/pipeline/samples/sample_5/pipeline.json deleted file mode 100644 index f5af6c849..000000000 --- a/pipeline/samples/sample_5/pipeline.json +++ /dev/null @@ -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" - } - ] -} diff --git a/pipeline/samples/sample_5/pipeline.yml b/pipeline/samples/sample_5/pipeline.yml deleted file mode 100644 index 259591b75..000000000 --- a/pipeline/samples/sample_5/pipeline.yml +++ /dev/null @@ -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 diff --git a/pipeline/samples/sample_6/.env b/pipeline/samples/sample_6/.env deleted file mode 100644 index a10af139f..000000000 --- a/pipeline/samples/sample_6/.env +++ /dev/null @@ -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 diff --git a/pipeline/samples/sample_6/pipeline.json b/pipeline/samples/sample_6/pipeline.json deleted file mode 100644 index 30e98f668..000000000 --- a/pipeline/samples/sample_6/pipeline.json +++ /dev/null @@ -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 -} diff --git a/pipeline/samples/sample_6/pipeline.yml b/pipeline/samples/sample_6/pipeline.yml deleted file mode 100644 index 250b661ce..000000000 --- a/pipeline/samples/sample_6/pipeline.yml +++ /dev/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] diff --git a/pipeline/samples/sample_7_redis/pipeline.json b/pipeline/samples/sample_7_redis/pipeline.json deleted file mode 100644 index c0a41aad9..000000000 --- a/pipeline/samples/sample_7_redis/pipeline.json +++ /dev/null @@ -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 -} diff --git a/pipeline/samples/sample_7_redis/pipeline.yml b/pipeline/samples/sample_7_redis/pipeline.yml deleted file mode 100644 index 0563a427d..000000000 --- a/pipeline/samples/sample_7_redis/pipeline.yml +++ /dev/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 diff --git a/pipeline/samples/sample_8_network_mode/README.md b/pipeline/samples/sample_8_network_mode/README.md deleted file mode 100644 index 47896db6c..000000000 --- a/pipeline/samples/sample_8_network_mode/README.md +++ /dev/null @@ -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 ). diff --git a/pipeline/samples/sample_8_network_mode/pipeline.json b/pipeline/samples/sample_8_network_mode/pipeline.json deleted file mode 100644 index 54b749097..000000000 --- a/pipeline/samples/sample_8_network_mode/pipeline.json +++ /dev/null @@ -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 -} diff --git a/pipeline/samples/sample_8_network_mode/pipeline.yml b/pipeline/samples/sample_8_network_mode/pipeline.yml deleted file mode 100644 index cd8d2a03f..000000000 --- a/pipeline/samples/sample_8_network_mode/pipeline.yml +++ /dev/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/ diff --git a/pipeline/samples/sample_8_postgres/pipeline.yml b/pipeline/samples/sample_8_postgres/pipeline.yml deleted file mode 100644 index a7ed115aa..000000000 --- a/pipeline/samples/sample_8_postgres/pipeline.yml +++ /dev/null @@ -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 diff --git a/pipeline/samples/sample_9_cache/.env b/pipeline/samples/sample_9_cache/.env deleted file mode 100644 index 5d630c59b..000000000 --- a/pipeline/samples/sample_9_cache/.env +++ /dev/null @@ -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 diff --git a/pipeline/samples/sample_9_cache/pipeline.json b/pipeline/samples/sample_9_cache/pipeline.json deleted file mode 100644 index 387e6158e..000000000 --- a/pipeline/samples/sample_9_cache/pipeline.json +++ /dev/null @@ -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 -} diff --git a/pipeline/samples/sample_9_cache/pipeline.yml b/pipeline/samples/sample_9_cache/pipeline.yml deleted file mode 100644 index fee6c8da5..000000000 --- a/pipeline/samples/sample_9_cache/pipeline.yml +++ /dev/null @@ -1,9 +0,0 @@ -cache: - - node_modules - -steps: - build: - image: node - commands: - - npm install - - npm test diff --git a/web/.prettierrc.js b/web/.prettierrc.js deleted file mode 100644 index b651096fd..000000000 --- a/web/.prettierrc.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = { - semi: true, - trailingComma: 'all', - singleQuote: true, - printWidth: 120, - tabWidth: 2, - endOfLine: 'lf', -};