Drop deprecated built-in environment variables (#2048)

Drop:
 - `CI_BUILD_*`
 - `CI_PREV_BUILD_*`
 - `CI_JOB_*`
 - `*_LINK`
 - `CI_SYSTEM_ARCH`
 - `CI_REPO_REMOTE`
This commit is contained in:
6543 2023-07-28 14:58:20 +02:00 committed by GitHub
parent 27c0ff502e
commit a83b0fcfd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 180 additions and 267 deletions

View file

@ -76,23 +76,11 @@ func (r *Runner) createTracer(ctxmeta context.Context, logger zerolog.Logger, wo
state.Pipeline.Step.Environment["CI_STEP_STARTED"] = strconv.FormatInt(state.Pipeline.Time, 10) state.Pipeline.Step.Environment["CI_STEP_STARTED"] = strconv.FormatInt(state.Pipeline.Time, 10)
state.Pipeline.Step.Environment["CI_STEP_FINISHED"] = strconv.FormatInt(time.Now().Unix(), 10) state.Pipeline.Step.Environment["CI_STEP_FINISHED"] = strconv.FormatInt(time.Now().Unix(), 10)
state.Pipeline.Step.Environment["CI_SYSTEM_ARCH"] = runtime.GOOS + "/" + runtime.GOARCH state.Pipeline.Step.Environment["CI_SYSTEM_PLATFORM"] = runtime.GOOS + "/" + runtime.GOARCH
// DEPRECATED
state.Pipeline.Step.Environment["CI_BUILD_STATUS"] = "success"
state.Pipeline.Step.Environment["CI_BUILD_STARTED"] = strconv.FormatInt(state.Pipeline.Time, 10)
state.Pipeline.Step.Environment["CI_BUILD_FINISHED"] = strconv.FormatInt(time.Now().Unix(), 10)
state.Pipeline.Step.Environment["CI_JOB_STATUS"] = "success"
state.Pipeline.Step.Environment["CI_JOB_STARTED"] = strconv.FormatInt(state.Pipeline.Time, 10)
state.Pipeline.Step.Environment["CI_JOB_FINISHED"] = strconv.FormatInt(time.Now().Unix(), 10)
if state.Pipeline.Error != nil { if state.Pipeline.Error != nil {
state.Pipeline.Step.Environment["CI_PIPELINE_STATUS"] = "failure" state.Pipeline.Step.Environment["CI_PIPELINE_STATUS"] = "failure"
state.Pipeline.Step.Environment["CI_STEP_STATUS"] = "failure" state.Pipeline.Step.Environment["CI_STEP_STATUS"] = "failure"
// DEPRECATED
state.Pipeline.Step.Environment["CI_BUILD_STATUS"] = "failure"
state.Pipeline.Step.Environment["CI_JOB_STATUS"] = "failure"
} }
return nil return nil

View file

@ -110,7 +110,7 @@ var flags = []cli.Flag{
Value: "woodpecker", Value: "woodpecker",
}, },
&cli.StringFlag{ &cli.StringFlag{
EnvVars: []string{"CI_SYSTEM_URL", "CI_SYSTEM_LINK"}, EnvVars: []string{"CI_SYSTEM_URL"},
Name: "system-link", Name: "system-link",
Value: "https://github.com/woodpecker-ci/woodpecker", Value: "https://github.com/woodpecker-ci/woodpecker",
}, },
@ -124,11 +124,11 @@ var flags = []cli.Flag{
Name: "repo-remote-id", Name: "repo-remote-id",
}, },
&cli.StringFlag{ &cli.StringFlag{
EnvVars: []string{"CI_REPO_URL", "CI_REPO_LINK"}, EnvVars: []string{"CI_REPO_URL"},
Name: "repo-link", Name: "repo-link",
}, },
&cli.StringFlag{ &cli.StringFlag{
EnvVars: []string{"CI_REPO_CLONE_URL", "CI_REPO_REMOTE"}, EnvVars: []string{"CI_REPO_CLONE_URL"},
Name: "repo-clone-url", Name: "repo-clone-url",
}, },
&cli.StringFlag{ &cli.StringFlag{
@ -169,7 +169,7 @@ var flags = []cli.Flag{
Value: "manual", Value: "manual",
}, },
&cli.StringFlag{ &cli.StringFlag{
EnvVars: []string{"CI_PIPELINE_URL", "CI_PIPELINE_LINK"}, EnvVars: []string{"CI_PIPELINE_URL"},
Name: "pipeline-link", Name: "pipeline-link",
}, },
&cli.StringFlag{ &cli.StringFlag{
@ -233,7 +233,7 @@ var flags = []cli.Flag{
Name: "prev-pipeline-event", Name: "prev-pipeline-event",
}, },
&cli.StringFlag{ &cli.StringFlag{
EnvVars: []string{"CI_PREV_PIPELINE_URL", "CI_PREV_PIPELINE_LINK"}, EnvVars: []string{"CI_PREV_PIPELINE_URL"},
Name: "prev-pipeline-link", Name: "prev-pipeline-link",
}, },
&cli.StringFlag{ &cli.StringFlag{
@ -273,11 +273,11 @@ var flags = []cli.Flag{
Name: "workflow-name", Name: "workflow-name",
}, },
&cli.IntFlag{ &cli.IntFlag{
EnvVars: []string{"CI_WORKFLOW_NUMBER", "CI_JOB_NUMBER"}, EnvVars: []string{"CI_WORKFLOW_NUMBER"},
Name: "workflow-number", Name: "workflow-number",
}, },
&cli.IntFlag{ &cli.IntFlag{
EnvVars: []string{"CI_STEP_NAME", "CI_JOB_NUMBER"}, EnvVars: []string{"CI_STEP_NAME"},
Name: "step-name", Name: "step-name",
}, },
&cli.StringSliceFlag{ &cli.StringSliceFlag{

View file

@ -452,7 +452,7 @@ Run on pushes to the default branch for the repository `owner/repo`:
```yaml ```yaml
when: when:
- evaluate: 'CI_BUILD_EVENT == "push" && CI_REPO == "owner/repo" && CI_COMMIT_BRANCH == CI_REPO_DEFAULT_BRANCH' - evaluate: 'CI_PIPELINE_EVENT == "push" && CI_REPO == "owner/repo" && CI_COMMIT_BRANCH == CI_REPO_DEFAULT_BRANCH'
``` ```
Run on commits created by user `woodpecker-ci`: Run on commits created by user `woodpecker-ci`:

View file

@ -65,8 +65,8 @@ This is the reference list of all environment variables available to your pipeli
| `CI_COMMIT_REF` | commit ref | | `CI_COMMIT_REF` | commit ref |
| `CI_COMMIT_REFSPEC` | commit ref spec | | `CI_COMMIT_REFSPEC` | commit ref spec |
| `CI_COMMIT_BRANCH` | commit branch (equals target branch for pull requests) | | `CI_COMMIT_BRANCH` | commit branch (equals target branch for pull requests) |
| `CI_COMMIT_SOURCE_BRANCH` | commit source branch | | `CI_COMMIT_SOURCE_BRANCH` | commit source branch (empty if event is not `pull_request`) |
| `CI_COMMIT_TARGET_BRANCH` | commit target branch | | `CI_COMMIT_TARGET_BRANCH` | commit target branch (empty if event is not `pull_request`) |
| `CI_COMMIT_TAG` | commit tag name (empty if event is not `tag`) | | `CI_COMMIT_TAG` | commit tag name (empty if event is not `tag`) |
| `CI_COMMIT_PULL_REQUEST` | commit pull request number (empty if event is not `pull_request`) | | `CI_COMMIT_PULL_REQUEST` | commit pull request number (empty if event is not `pull_request`) |
| `CI_COMMIT_PULL_REQUEST_LABELS` | labels assigned to pull request (empty if event is not `pull_request`) | | `CI_COMMIT_PULL_REQUEST_LABELS` | labels assigned to pull request (empty if event is not `pull_request`) |

View file

@ -55,7 +55,7 @@ See the [kubernetes documentation](https://kubernetes.io/docs/concepts/security/
### nodeSelector ### nodeSelector
Specify the label which is used to select the node where the job should be executed. Labels defined here will be appended to a list already containing "kubernetes.io/arch". Specify the label which is used to select the node where the job should be executed. Labels defined here will be appended to a list already containing "kubernetes.io/arch".
By default the pod will use "kubernetes.io/arch" inferred from top-level "platform" setting which is deducted from the agents' environment variable CI_SYSTEM_ARCH. To overwrite this, you need to specify this label in the nodeSelector section. By default the pod will use "kubernetes.io/arch" inferred from top-level "platform" setting which is deducted from the agents' environment variable CI_SYSTEM_PLATFORM. To overwrite this, you need to specify this label in the nodeSelector section.
See the [kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) for more information on using nodeSelector. See the [kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) for more information on using nodeSelector.
Example pipeline configuration: Example pipeline configuration:

View file

@ -2,9 +2,9 @@
Some versions need some changes to the server configuration or the pipeline configuration files. Some versions need some changes to the server configuration or the pipeline configuration files.
## next ## next (1.1.0)
No breaking changes - Drop deprecated `CI_BUILD_*`, `CI_PREV_BUILD_*`, `CI_JOB_*`, `*_LINK`, `CI_SYSTEM_ARCH`, `CI_REPO_REMOTE` built-in environment variables
## 1.0.0 ## 1.0.0

View file

@ -452,7 +452,7 @@ Run on pushes to the default branch for the repository `owner/repo`:
```yaml ```yaml
when: when:
- evaluate: 'CI_BUILD_EVENT == "push" && CI_REPO == "owner/repo" && CI_COMMIT_BRANCH == CI_REPO_DEFAULT_BRANCH' - evaluate: 'CI_PIPELINE_EVENT == "push" && CI_REPO == "owner/repo" && CI_COMMIT_BRANCH == CI_REPO_DEFAULT_BRANCH'
``` ```
Run on commits created by user `woodpecker-ci`: Run on commits created by user `woodpecker-ci`:

View file

@ -65,8 +65,8 @@ This is the reference list of all environment variables available to your pipeli
| `CI_COMMIT_REF` | commit ref | | `CI_COMMIT_REF` | commit ref |
| `CI_COMMIT_REFSPEC` | commit ref spec | | `CI_COMMIT_REFSPEC` | commit ref spec |
| `CI_COMMIT_BRANCH` | commit branch (equals target branch for pull requests) | | `CI_COMMIT_BRANCH` | commit branch (equals target branch for pull requests) |
| `CI_COMMIT_SOURCE_BRANCH` | commit source branch | | `CI_COMMIT_SOURCE_BRANCH` | commit source branch (empty if event is not `pull_request`) |
| `CI_COMMIT_TARGET_BRANCH` | commit target branch | | `CI_COMMIT_TARGET_BRANCH` | commit target branch (empty if event is not `pull_request`) |
| `CI_COMMIT_TAG` | commit tag name (empty if event is not `tag`) | | `CI_COMMIT_TAG` | commit tag name (empty if event is not `tag`) |
| `CI_COMMIT_PULL_REQUEST` | commit pull request number (empty if event is not `pull_request`) | | `CI_COMMIT_PULL_REQUEST` | commit pull request number (empty if event is not `pull_request`) |
| `CI_COMMIT_PULL_REQUEST_LABELS` | labels assigned to pull request (empty if event is not `pull_request`) | | `CI_COMMIT_PULL_REQUEST_LABELS` | labels assigned to pull request (empty if event is not `pull_request`) |

View file

@ -55,7 +55,7 @@ See the [kubernetes documentation](https://kubernetes.io/docs/concepts/security/
### nodeSelector ### nodeSelector
Specify the label which is used to select the node where the job should be executed. Labels defined here will be appended to a list already containing "kubernetes.io/arch". Specify the label which is used to select the node where the job should be executed. Labels defined here will be appended to a list already containing "kubernetes.io/arch".
By default the pod will use "kubernetes.io/arch" inferred from top-level "platform" setting which is deducted from the agents' environment variable CI_SYSTEM_ARCH. To overwrite this, you need to specify this label in the nodeSelector section. By default the pod will use "kubernetes.io/arch" inferred from top-level "platform" setting which is deducted from the agents' environment variable CI_SYSTEM_PLATFORM. To overwrite this, you need to specify this label in the nodeSelector section.
See the [kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) for more information on using nodeSelector. See the [kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) for more information on using nodeSelector.
Example pipeline configuration: Example pipeline configuration:

View file

@ -95,7 +95,7 @@ func Pod(namespace string, step *types.Step, labels, annotations map[string]stri
labels["step"] = podName labels["step"] = podName
var nodeSelector map[string]string var nodeSelector map[string]string
platform, exist := step.Environment["CI_SYSTEM_ARCH"] platform, exist := step.Environment["CI_SYSTEM_PLATFORM"]
if exist && platform != "" { if exist && platform != "" {
arch := strings.Split(platform, "/")[1] arch := strings.Split(platform, "/")[1]
nodeSelector = map[string]string{v1.LabelArchStable: arch} nodeSelector = map[string]string{v1.LabelArchStable: arch}

View file

@ -10,17 +10,9 @@ import (
func TestSetDroneEnviron(t *testing.T) { func TestSetDroneEnviron(t *testing.T) {
woodpeckerVars := `CI=woodpecker woodpeckerVars := `CI=woodpecker
CI_BUILD_CREATED=1685749339
CI_BUILD_EVENT=pull_request
CI_BUILD_FINISHED=1685749350
CI_BUILD_LINK=https://codeberg.org/Epsilon_02/todo-checker/pulls/9
CI_BUILD_NUMBER=41
CI_BUILD_STARTED=1685749339
CI_BUILD_STATUS=success
CI_COMMIT_AUTHOR=6543 CI_COMMIT_AUTHOR=6543
CI_COMMIT_AUTHOR_AVATAR=https://codeberg.org/avatars/09a234c768cb9bca78f6b2f82d6af173 CI_COMMIT_AUTHOR_AVATAR=https://codeberg.org/avatars/09a234c768cb9bca78f6b2f82d6af173
CI_COMMIT_BRANCH=main CI_COMMIT_BRANCH=main
CI_COMMIT_LINK=https://codeberg.org/Epsilon_02/todo-checker/pulls/9
CI_COMMIT_MESSAGE=fix testscript CI_COMMIT_MESSAGE=fix testscript
CI_COMMIT_PULL_REQUEST=9 CI_COMMIT_PULL_REQUEST=9
CI_COMMIT_REF=refs/pull/9/head CI_COMMIT_REF=refs/pull/9/head
@ -28,28 +20,16 @@ CI_COMMIT_REFSPEC=fix_fail-on-err:main
CI_COMMIT_SHA=a778b069d9f5992786d2db9be493b43868cfce76 CI_COMMIT_SHA=a778b069d9f5992786d2db9be493b43868cfce76
CI_COMMIT_SOURCE_BRANCH=fix_fail-on-err CI_COMMIT_SOURCE_BRANCH=fix_fail-on-err
CI_COMMIT_TARGET_BRANCH=main CI_COMMIT_TARGET_BRANCH=main
CI_JOB_FINISHED=1685749350
CI_JOB_STARTED=1685749339
CI_JOB_STATUS=success
CI_MACHINE=7939910e431b CI_MACHINE=7939910e431b
CI_PIPELINE_CREATED=1685749339 CI_PIPELINE_CREATED=1685749339
CI_PIPELINE_EVENT=pull_request CI_PIPELINE_EVENT=pull_request
CI_PIPELINE_FINISHED=1685749350 CI_PIPELINE_FINISHED=1685749350
CI_PIPELINE_LINK=https://codeberg.org/Epsilon_02/todo-checker/pulls/9
CI_PIPELINE_NUMBER=41 CI_PIPELINE_NUMBER=41
CI_PIPELINE_STARTED=1685749339 CI_PIPELINE_STARTED=1685749339
CI_PIPELINE_STATUS=success CI_PIPELINE_STATUS=success
CI_PREV_BUILD_CREATED=1685748680
CI_PREV_BUILD_EVENT=pull_request
CI_PREV_BUILD_FINISHED=1685748704
CI_PREV_BUILD_LINK=https://codeberg.org/Epsilon_02/todo-checker/pulls/13
CI_PREV_BUILD_NUMBER=40
CI_PREV_BUILD_STARTED=1685748680
CI_PREV_BUILD_STATUS=success
CI_PREV_COMMIT_AUTHOR=6543 CI_PREV_COMMIT_AUTHOR=6543
CI_PREV_COMMIT_AUTHOR_AVATAR=https://codeberg.org/avatars/09a234c768cb9bca78f6b2f82d6af173 CI_PREV_COMMIT_AUTHOR_AVATAR=https://codeberg.org/avatars/09a234c768cb9bca78f6b2f82d6af173
CI_PREV_COMMIT_BRANCH=main CI_PREV_COMMIT_BRANCH=main
CI_PREV_COMMIT_LINK=https://codeberg.org/Epsilon_02/todo-checker/pulls/13
CI_PREV_COMMIT_MESSAGE=Print filename and linenuber on fail CI_PREV_COMMIT_MESSAGE=Print filename and linenuber on fail
CI_PREV_COMMIT_REF=refs/pull/13/head CI_PREV_COMMIT_REF=refs/pull/13/head
CI_PREV_COMMIT_REFSPEC=print_file_and_line:main CI_PREV_COMMIT_REFSPEC=print_file_and_line:main
@ -57,25 +37,21 @@ CI_PREV_COMMIT_SHA=e246aff5a9466df2e522efc9007823a7496d9d41
CI_PREV_PIPELINE_CREATED=1685748680 CI_PREV_PIPELINE_CREATED=1685748680
CI_PREV_PIPELINE_EVENT=pull_request CI_PREV_PIPELINE_EVENT=pull_request
CI_PREV_PIPELINE_FINISHED=1685748704 CI_PREV_PIPELINE_FINISHED=1685748704
CI_PREV_PIPELINE_LINK=https://codeberg.org/Epsilon_02/todo-checker/pulls/13
CI_PREV_PIPELINE_NUMBER=40 CI_PREV_PIPELINE_NUMBER=40
CI_PREV_PIPELINE_STARTED=1685748680 CI_PREV_PIPELINE_STARTED=1685748680
CI_PREV_PIPELINE_STATUS=success CI_PREV_PIPELINE_STATUS=success
CI_REPO=Epsilon_02/todo-checker CI_REPO=Epsilon_02/todo-checker
CI_REPO_CLONE_URL=https://codeberg.org/Epsilon_02/todo-checker.git CI_REPO_CLONE_URL=https://codeberg.org/Epsilon_02/todo-checker.git
CI_REPO_DEFAULT_BRANCH=main CI_REPO_DEFAULT_BRANCH=main
CI_REPO_LINK=https://codeberg.org/Epsilon_02/todo-checker
CI_REPO_NAME=todo-checker CI_REPO_NAME=todo-checker
CI_REPO_OWNER=Epsilon_02 CI_REPO_OWNER=Epsilon_02
CI_REPO_REMOTE=https://codeberg.org/Epsilon_02/todo-checker.git
CI_REPO_SCM=git CI_REPO_SCM=git
CI_STEP_FINISHED=1685749350 CI_STEP_FINISHED=1685749350
CI_STEP_NAME=wp_01h1z7v5d1tskaqjexw0ng6w7d_0_step_3 CI_STEP_NAME=wp_01h1z7v5d1tskaqjexw0ng6w7d_0_step_3
CI_STEP_STARTED=1685749339 CI_STEP_STARTED=1685749339
CI_STEP_STATUS=success CI_STEP_STATUS=success
CI_SYSTEM_ARCH=linux/amd64 CI_SYSTEM_PLATFORM=linux/amd64
CI_SYSTEM_HOST=ci.codeberg.org CI_SYSTEM_HOST=ci.codeberg.org
CI_SYSTEM_LINK=https://ci.codeberg.org
CI_SYSTEM_NAME=woodpecker CI_SYSTEM_NAME=woodpecker
CI_SYSTEM_VERSION=next-dd644da3 CI_SYSTEM_VERSION=next-dd644da3
CI_WORKFLOW_NAME=woodpecker CI_WORKFLOW_NAME=woodpecker

View file

@ -111,43 +111,6 @@ func (m *Metadata) Environ() map[string]string {
"CI_FORGE_TYPE": m.Forge.Type, "CI_FORGE_TYPE": m.Forge.Type,
"CI_FORGE_URL": m.Forge.URL, "CI_FORGE_URL": m.Forge.URL,
// DEPRECATED
"CI_SYSTEM_ARCH": m.Sys.Platform, // TODO: remove after v1.0.x version
// use CI_PIPELINE_*
"CI_BUILD_NUMBER": strconv.FormatInt(m.Curr.Number, 10),
"CI_BUILD_PARENT": strconv.FormatInt(m.Curr.Parent, 10),
"CI_BUILD_EVENT": m.Curr.Event,
"CI_BUILD_LINK": m.Curr.Link,
"CI_BUILD_DEPLOY_TARGET": m.Curr.Target,
"CI_BUILD_STATUS": m.Curr.Status,
"CI_BUILD_CREATED": strconv.FormatInt(m.Curr.Created, 10),
"CI_BUILD_STARTED": strconv.FormatInt(m.Curr.Started, 10),
"CI_BUILD_FINISHED": strconv.FormatInt(m.Curr.Finished, 10),
// use CI_PREV_PIPELINE_*
"CI_PREV_BUILD_NUMBER": strconv.FormatInt(m.Prev.Number, 10),
"CI_PREV_BUILD_PARENT": strconv.FormatInt(m.Prev.Parent, 10),
"CI_PREV_BUILD_EVENT": m.Prev.Event,
"CI_PREV_BUILD_LINK": m.Prev.Link,
"CI_PREV_BUILD_DEPLOY_TARGET": m.Prev.Target,
"CI_PREV_BUILD_STATUS": m.Prev.Status,
"CI_PREV_BUILD_CREATED": strconv.FormatInt(m.Prev.Created, 10),
"CI_PREV_BUILD_STARTED": strconv.FormatInt(m.Prev.Started, 10),
"CI_PREV_BUILD_FINISHED": strconv.FormatInt(m.Prev.Finished, 10),
// use CI_STEP_*
"CI_JOB_NUMBER": strconv.Itoa(m.Step.Number),
"CI_JOB_STATUS": "", // will be set by agent
"CI_JOB_STARTED": "", // will be set by agent
"CI_JOB_FINISHED": "", // will be set by agent
// CI_REPO_CLONE_URL
"CI_REPO_REMOTE": m.Repo.CloneURL,
// use *_URL
"CI_REPO_LINK": m.Repo.Link,
"CI_COMMIT_LINK": m.Curr.Link,
"CI_PIPELINE_LINK": m.Curr.Link,
"CI_PREV_COMMIT_LINK": m.Prev.Link,
"CI_PREV_PIPELINE_LINK": m.Prev.Link,
"CI_SYSTEM_LINK": m.Sys.Link,
} }
if m.Curr.Event == EventTag { if m.Curr.Event == EventTag {
params["CI_COMMIT_TAG"] = strings.TrimPrefix(m.Curr.Commit.Ref, "refs/tags/") params["CI_COMMIT_TAG"] = strings.TrimPrefix(m.Curr.Commit.Ref, "refs/tags/")

View file

@ -70,19 +70,18 @@ func TestMetadataFromStruct(t *testing.T) {
name: "Test with empty info", name: "Test with empty info",
expectedMetadata: metadata.Metadata{Sys: metadata.System{Name: "woodpecker"}}, expectedMetadata: metadata.Metadata{Sys: metadata.System{Name: "woodpecker"}},
expectedEnviron: map[string]string{ expectedEnviron: map[string]string{
"CI": "woodpecker", "CI_BUILD_CREATED": "0", "CI_BUILD_DEPLOY_TARGET": "", "CI_BUILD_EVENT": "", "CI_BUILD_FINISHED": "0", "CI_BUILD_LINK": "", "CI_BUILD_NUMBER": "0", "CI_BUILD_PARENT": "0", "CI": "woodpecker",
"CI_BUILD_STARTED": "0", "CI_BUILD_STATUS": "", "CI_COMMIT_AUTHOR": "", "CI_COMMIT_AUTHOR_AVATAR": "", "CI_COMMIT_AUTHOR_EMAIL": "", "CI_COMMIT_BRANCH": "", "CI_COMMIT_LINK": "", "CI_COMMIT_AUTHOR": "", "CI_COMMIT_AUTHOR_AVATAR": "", "CI_COMMIT_AUTHOR_EMAIL": "", "CI_COMMIT_BRANCH": "",
"CI_COMMIT_MESSAGE": "", "CI_COMMIT_PULL_REQUEST": "", "CI_COMMIT_PULL_REQUEST_LABELS": "", "CI_COMMIT_REF": "", "CI_COMMIT_REFSPEC": "", "CI_COMMIT_SHA": "", "CI_COMMIT_SOURCE_BRANCH": "", "CI_COMMIT_MESSAGE": "", "CI_COMMIT_PULL_REQUEST": "", "CI_COMMIT_PULL_REQUEST_LABELS": "", "CI_COMMIT_REF": "", "CI_COMMIT_REFSPEC": "", "CI_COMMIT_SHA": "", "CI_COMMIT_SOURCE_BRANCH": "",
"CI_COMMIT_TAG": "", "CI_COMMIT_TARGET_BRANCH": "", "CI_COMMIT_URL": "", "CI_FORGE_TYPE": "", "CI_FORGE_URL": "", "CI_JOB_FINISHED": "", "CI_JOB_NUMBER": "0", "CI_JOB_STARTED": "", "CI_COMMIT_TAG": "", "CI_COMMIT_TARGET_BRANCH": "", "CI_COMMIT_URL": "", "CI_FORGE_TYPE": "", "CI_FORGE_URL": "",
"CI_JOB_STATUS": "", "CI_PIPELINE_CREATED": "0", "CI_PIPELINE_DEPLOY_TARGET": "", "CI_PIPELINE_EVENT": "", "CI_PIPELINE_FINISHED": "0", "CI_PIPELINE_LINK": "", "CI_PIPELINE_NUMBER": "0", "CI_PIPELINE_CREATED": "0", "CI_PIPELINE_DEPLOY_TARGET": "", "CI_PIPELINE_EVENT": "", "CI_PIPELINE_FINISHED": "0", "CI_PIPELINE_NUMBER": "0",
"CI_PIPELINE_PARENT": "0", "CI_PIPELINE_STARTED": "0", "CI_PIPELINE_STATUS": "", "CI_PIPELINE_URL": "", "CI_PREV_BUILD_CREATED": "0", "CI_PREV_BUILD_DEPLOY_TARGET": "", "CI_PIPELINE_PARENT": "0", "CI_PIPELINE_STARTED": "0", "CI_PIPELINE_STATUS": "", "CI_PIPELINE_URL": "",
"CI_PREV_BUILD_EVENT": "", "CI_PREV_BUILD_FINISHED": "0", "CI_PREV_BUILD_LINK": "", "CI_PREV_BUILD_NUMBER": "0", "CI_PREV_BUILD_PARENT": "0", "CI_PREV_BUILD_STARTED": "0", "CI_PREV_COMMIT_AUTHOR": "", "CI_PREV_COMMIT_AUTHOR_AVATAR": "", "CI_PREV_COMMIT_AUTHOR_EMAIL": "", "CI_PREV_COMMIT_BRANCH": "",
"CI_PREV_BUILD_STATUS": "", "CI_PREV_COMMIT_AUTHOR": "", "CI_PREV_COMMIT_AUTHOR_AVATAR": "", "CI_PREV_COMMIT_AUTHOR_EMAIL": "", "CI_PREV_COMMIT_BRANCH": "", "CI_PREV_COMMIT_LINK": "",
"CI_PREV_COMMIT_MESSAGE": "", "CI_PREV_COMMIT_REF": "", "CI_PREV_COMMIT_REFSPEC": "", "CI_PREV_COMMIT_SHA": "", "CI_PREV_COMMIT_URL": "", "CI_PREV_PIPELINE_CREATED": "0", "CI_PREV_COMMIT_MESSAGE": "", "CI_PREV_COMMIT_REF": "", "CI_PREV_COMMIT_REFSPEC": "", "CI_PREV_COMMIT_SHA": "", "CI_PREV_COMMIT_URL": "", "CI_PREV_PIPELINE_CREATED": "0",
"CI_PREV_PIPELINE_DEPLOY_TARGET": "", "CI_PREV_PIPELINE_EVENT": "", "CI_PREV_PIPELINE_FINISHED": "0", "CI_PREV_PIPELINE_LINK": "", "CI_PREV_PIPELINE_NUMBER": "0", "CI_PREV_PIPELINE_PARENT": "0", "CI_PREV_PIPELINE_DEPLOY_TARGET": "", "CI_PREV_PIPELINE_EVENT": "", "CI_PREV_PIPELINE_FINISHED": "0", "CI_PREV_PIPELINE_NUMBER": "0", "CI_PREV_PIPELINE_PARENT": "0",
"CI_PREV_PIPELINE_STARTED": "0", "CI_PREV_PIPELINE_STATUS": "", "CI_PREV_PIPELINE_URL": "", "CI_REPO": "", "CI_REPO_CLONE_URL": "", "CI_REPO_DEFAULT_BRANCH": "", "CI_REPO_LINK": "", "CI_REPO_REMOTE_ID": "", "CI_PREV_PIPELINE_STARTED": "0", "CI_PREV_PIPELINE_STATUS": "", "CI_PREV_PIPELINE_URL": "", "CI_REPO": "", "CI_REPO_CLONE_URL": "", "CI_REPO_DEFAULT_BRANCH": "", "CI_REPO_REMOTE_ID": "",
"CI_REPO_NAME": "", "CI_REPO_OWNER": "", "CI_REPO_PRIVATE": "false", "CI_REPO_REMOTE": "", "CI_REPO_SCM": "git", "CI_REPO_TRUSTED": "false", "CI_REPO_URL": "", "CI_STEP_FINISHED": "", "CI_REPO_NAME": "", "CI_REPO_OWNER": "", "CI_REPO_PRIVATE": "false", "CI_REPO_SCM": "git", "CI_REPO_TRUSTED": "false", "CI_REPO_URL": "", "CI_STEP_FINISHED": "",
"CI_STEP_NAME": "", "CI_STEP_NUMBER": "0", "CI_STEP_STARTED": "", "CI_STEP_STATUS": "", "CI_SYSTEM_ARCH": "", "CI_SYSTEM_HOST": "", "CI_SYSTEM_LINK": "", "CI_SYSTEM_NAME": "woodpecker", "CI_STEP_NAME": "", "CI_STEP_NUMBER": "0", "CI_STEP_STARTED": "", "CI_STEP_STATUS": "", "CI_SYSTEM_HOST": "", "CI_SYSTEM_NAME": "woodpecker",
"CI_SYSTEM_PLATFORM": "", "CI_SYSTEM_URL": "", "CI_SYSTEM_VERSION": "", "CI_WORKFLOW_NAME": "", "CI_WORKFLOW_NUMBER": "0", "CI_SYSTEM_PLATFORM": "", "CI_SYSTEM_URL": "", "CI_SYSTEM_VERSION": "", "CI_WORKFLOW_NAME": "", "CI_WORKFLOW_NUMBER": "0",
}, },
}, },
@ -103,20 +102,19 @@ func TestMetadataFromStruct(t *testing.T) {
Workflow: metadata.Workflow{Name: "hello"}, Workflow: metadata.Workflow{Name: "hello"},
}, },
expectedEnviron: map[string]string{ expectedEnviron: map[string]string{
"CI": "woodpecker", "CI_BUILD_CREATED": "0", "CI_BUILD_DEPLOY_TARGET": "", "CI_BUILD_EVENT": "", "CI_BUILD_FINISHED": "0", "CI_BUILD_LINK": "", "CI_BUILD_NUMBER": "3", "CI_BUILD_PARENT": "0", "CI": "woodpecker",
"CI_BUILD_STARTED": "0", "CI_BUILD_STATUS": "", "CI_COMMIT_AUTHOR": "", "CI_COMMIT_AUTHOR_AVATAR": "", "CI_COMMIT_AUTHOR_EMAIL": "", "CI_COMMIT_BRANCH": "", "CI_COMMIT_LINK": "", "CI_COMMIT_AUTHOR": "", "CI_COMMIT_AUTHOR_AVATAR": "", "CI_COMMIT_AUTHOR_EMAIL": "", "CI_COMMIT_BRANCH": "",
"CI_COMMIT_MESSAGE": "", "CI_COMMIT_PULL_REQUEST": "", "CI_COMMIT_PULL_REQUEST_LABELS": "", "CI_COMMIT_REF": "", "CI_COMMIT_REFSPEC": "", "CI_COMMIT_SHA": "", "CI_COMMIT_SOURCE_BRANCH": "", "CI_COMMIT_MESSAGE": "", "CI_COMMIT_PULL_REQUEST": "", "CI_COMMIT_PULL_REQUEST_LABELS": "", "CI_COMMIT_REF": "", "CI_COMMIT_REFSPEC": "", "CI_COMMIT_SHA": "", "CI_COMMIT_SOURCE_BRANCH": "",
"CI_COMMIT_TAG": "", "CI_COMMIT_TARGET_BRANCH": "", "CI_COMMIT_URL": "", "CI_FORGE_TYPE": "gitea", "CI_FORGE_URL": "https://gitea.com", "CI_JOB_FINISHED": "", "CI_JOB_NUMBER": "0", "CI_COMMIT_TAG": "", "CI_COMMIT_TARGET_BRANCH": "", "CI_COMMIT_URL": "", "CI_FORGE_TYPE": "gitea", "CI_FORGE_URL": "https://gitea.com",
"CI_JOB_STARTED": "", "CI_JOB_STATUS": "", "CI_PIPELINE_CREATED": "0", "CI_PIPELINE_DEPLOY_TARGET": "", "CI_PIPELINE_EVENT": "", "CI_PIPELINE_FINISHED": "0", "CI_PIPELINE_LINK": "", "CI_PIPELINE_CREATED": "0", "CI_PIPELINE_DEPLOY_TARGET": "", "CI_PIPELINE_EVENT": "", "CI_PIPELINE_FINISHED": "0",
"CI_PIPELINE_NUMBER": "3", "CI_PIPELINE_PARENT": "0", "CI_PIPELINE_STARTED": "0", "CI_PIPELINE_STATUS": "", "CI_PIPELINE_URL": "", "CI_PREV_BUILD_CREATED": "0", "CI_PREV_BUILD_DEPLOY_TARGET": "", "CI_PIPELINE_NUMBER": "3", "CI_PIPELINE_PARENT": "0", "CI_PIPELINE_STARTED": "0", "CI_PIPELINE_STATUS": "", "CI_PIPELINE_URL": "",
"CI_PREV_BUILD_EVENT": "", "CI_PREV_BUILD_FINISHED": "0", "CI_PREV_BUILD_LINK": "", "CI_PREV_BUILD_NUMBER": "2", "CI_PREV_BUILD_PARENT": "0", "CI_PREV_BUILD_STARTED": "0", "CI_PREV_COMMIT_AUTHOR": "", "CI_PREV_COMMIT_AUTHOR_AVATAR": "", "CI_PREV_COMMIT_AUTHOR_EMAIL": "", "CI_PREV_COMMIT_BRANCH": "",
"CI_PREV_BUILD_STATUS": "", "CI_PREV_COMMIT_AUTHOR": "", "CI_PREV_COMMIT_AUTHOR_AVATAR": "", "CI_PREV_COMMIT_AUTHOR_EMAIL": "", "CI_PREV_COMMIT_BRANCH": "", "CI_PREV_COMMIT_LINK": "",
"CI_PREV_COMMIT_MESSAGE": "", "CI_PREV_COMMIT_REF": "", "CI_PREV_COMMIT_REFSPEC": "", "CI_PREV_COMMIT_SHA": "", "CI_PREV_COMMIT_URL": "", "CI_PREV_PIPELINE_CREATED": "0", "CI_PREV_COMMIT_MESSAGE": "", "CI_PREV_COMMIT_REF": "", "CI_PREV_COMMIT_REFSPEC": "", "CI_PREV_COMMIT_SHA": "", "CI_PREV_COMMIT_URL": "", "CI_PREV_PIPELINE_CREATED": "0",
"CI_PREV_PIPELINE_DEPLOY_TARGET": "", "CI_PREV_PIPELINE_EVENT": "", "CI_PREV_PIPELINE_FINISHED": "0", "CI_PREV_PIPELINE_LINK": "", "CI_PREV_PIPELINE_NUMBER": "2", "CI_PREV_PIPELINE_PARENT": "0", "CI_PREV_PIPELINE_DEPLOY_TARGET": "", "CI_PREV_PIPELINE_EVENT": "", "CI_PREV_PIPELINE_FINISHED": "0", "CI_PREV_PIPELINE_NUMBER": "2", "CI_PREV_PIPELINE_PARENT": "0",
"CI_PREV_PIPELINE_STARTED": "0", "CI_PREV_PIPELINE_STATUS": "", "CI_PREV_PIPELINE_URL": "", "CI_REPO": "testUser/testRepo", "CI_REPO_CLONE_URL": "https://gitea.com/testUser/testRepo.git", "CI_PREV_PIPELINE_STARTED": "0", "CI_PREV_PIPELINE_STATUS": "", "CI_PREV_PIPELINE_URL": "", "CI_REPO": "testUser/testRepo", "CI_REPO_CLONE_URL": "https://gitea.com/testUser/testRepo.git",
"CI_REPO_DEFAULT_BRANCH": "main", "CI_REPO_LINK": "https://gitea.com/testUser/testRepo", "CI_REPO_NAME": "testRepo", "CI_REPO_OWNER": "testUser", "CI_REPO_PRIVATE": "true", "CI_REPO_REMOTE_ID": "", "CI_REPO_DEFAULT_BRANCH": "main", "CI_REPO_NAME": "testRepo", "CI_REPO_OWNER": "testUser", "CI_REPO_PRIVATE": "true", "CI_REPO_REMOTE_ID": "",
"CI_REPO_REMOTE": "https://gitea.com/testUser/testRepo.git", "CI_REPO_SCM": "git", "CI_REPO_TRUSTED": "false", "CI_REPO_URL": "https://gitea.com/testUser/testRepo", "CI_STEP_FINISHED": "", "CI_REPO_SCM": "git", "CI_REPO_TRUSTED": "false", "CI_REPO_URL": "https://gitea.com/testUser/testRepo", "CI_STEP_FINISHED": "",
"CI_STEP_NAME": "", "CI_STEP_NUMBER": "0", "CI_STEP_STARTED": "", "CI_STEP_STATUS": "", "CI_SYSTEM_ARCH": "", "CI_SYSTEM_HOST": "example.com", "CI_SYSTEM_LINK": "https://example.com", "CI_STEP_NAME": "", "CI_STEP_NUMBER": "0", "CI_STEP_STARTED": "", "CI_STEP_STATUS": "", "CI_SYSTEM_HOST": "example.com",
"CI_SYSTEM_NAME": "woodpecker", "CI_SYSTEM_PLATFORM": "", "CI_SYSTEM_URL": "https://example.com", "CI_SYSTEM_VERSION": "", "CI_WORKFLOW_NAME": "hello", "CI_WORKFLOW_NUMBER": "0", "CI_SYSTEM_NAME": "woodpecker", "CI_SYSTEM_PLATFORM": "", "CI_SYSTEM_URL": "https://example.com", "CI_SYSTEM_VERSION": "", "CI_WORKFLOW_NAME": "hello", "CI_WORKFLOW_NUMBER": "0",
}, },
}, },

View file

@ -1,16 +1,16 @@
CI_REPO=drone/envsubst CI_COMMIT_AUTHOR=bradrydzewski
CI_REPO_NAME=drone/envsubst
CI_REPO_LINK=https://github.com/drone/envsubst
CI_REPO_REMOTE=https://github.com/drone/envsubst.git
CI_REPO_PRIVATE=false
CI_BUILD_NUMBER=6
CI_BUILD_CREATED=1486119586
CI_BUILD_STARTED=1486119585
CI_BUILD_EVENT=push
CI_BUILD_LINK=
CI_COMMIT_SHA=d0876d3176965f9552a611cbd56e24a9264355e6
CI_COMMIT_REF=refs/heads/master
CI_COMMIT_REFSPEC=
CI_COMMIT_BRANCH=master CI_COMMIT_BRANCH=master
CI_COMMIT_MESSAGE="added a few more test cases for escaping behavior" CI_COMMIT_MESSAGE="added a few more test cases for escaping behavior"
CI_COMMIT_AUTHOR=bradrydzewski 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

View file

@ -24,7 +24,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
"CI_SYSTEM_URL": "https://github.com/cncd/pipec", "CI_SYSTEM_URL": "https://github.com/cncd/pipec",
@ -68,7 +68,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJnbyBnZXQgLXQgLi8uLi4iCmdvIGdldCAtdCAuLy4uLgoKZWNobyArICJnbyBidWlsZCIKZ28gYnVpbGQKCmVjaG8gKyAiZ28gdGVzdCAtdiIKZ28gdGVzdCAtdgoK", "CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJnbyBnZXQgLXQgLi8uLi4iCmdvIGdldCAtdCAuLy4uLgoKZWNobyArICJnbyBidWlsZCIKZ28gYnVpbGQKCmVjaG8gKyAiZ28gdGVzdCAtdiIKZ28gdGVzdCAtdgoK",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",

View file

@ -1,16 +1,16 @@
CI_REPO=drone/envsubst CI_COMMIT_AUTHOR=bradrydzewski
CI_REPO_NAME=drone/envsubst
CI_REPO_LINK=https://github.com/drone/envsubst
CI_REPO_REMOTE=https://github.com/drone/envsubst.git
CI_REPO_PRIVATE=false
CI_BUILD_NUMBER=6
CI_BUILD_CREATED=1486119586
CI_BUILD_STARTED=1486119585
CI_BUILD_EVENT=push
CI_BUILD_LINK=
CI_COMMIT_SHA=d0876d3176965f9552a611cbd56e24a9264355e6
CI_COMMIT_REF=refs/heads/master
CI_COMMIT_REFSPEC=
CI_COMMIT_BRANCH=master CI_COMMIT_BRANCH=master
CI_COMMIT_MESSAGE="added a few more test cases for escaping behavior" CI_COMMIT_MESSAGE="added a few more test cases for escaping behavior"
CI_COMMIT_AUTHOR=bradrydzewski 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

View file

@ -24,7 +24,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "windows/amd64", "CI_SYSTEM_PLATFORM": "windows/amd64",
"CI_SYSTEM_URL": "https://github.com/cncd/pipec", "CI_SYSTEM_URL": "https://github.com/cncd/pipec",
@ -75,7 +75,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SCRIPT": "CiRFcnJvckFjdGlvblByZWZlcmVuY2UgPSAnU3RvcCc7CiZjbWQgL2MgIm1rZGlyIGM6XHJvb3QiOwppZiAoJEVudjpDSV9ORVRSQ19NQUNISU5FKSB7CiRuZXRyYz1bc3RyaW5nXTo6Rm9ybWF0KCJ7MH1cX25ldHJjIiwkRW52OkhPTUUpOwoibWFjaGluZSAkRW52OkNJX05FVFJDX01BQ0hJTkUiID4+ICRuZXRyYzsKImxvZ2luICRFbnY6Q0lfTkVUUkNfVVNFUk5BTUUiID4+ICRuZXRyYzsKInBhc3N3b3JkICRFbnY6Q0lfTkVUUkNfUEFTU1dPUkQiID4+ICRuZXRyYzsKfTsKW0Vudmlyb25tZW50XTo6U2V0RW52aXJvbm1lbnRWYXJpYWJsZSgiQ0lfTkVUUkNfUEFTU1dPUkQiLCRudWxsKTsKW0Vudmlyb25tZW50XTo6U2V0RW52aXJvbm1lbnRWYXJpYWJsZSgiQ0lfU0NSSVBUIiwkbnVsbCk7CltFbnZpcm9ubWVudF06OlNldEVudmlyb25tZW50VmFyaWFibGUoIkRST05FX05FVFJDX1VTRVJOQU1FIiwkbnVsbCk7CltFbnZpcm9ubWVudF06OlNldEVudmlyb25tZW50VmFyaWFibGUoIkRST05FX05FVFJDX1BBU1NXT1JEIiwkbnVsbCk7CgpXcml0ZS1PdXRwdXQgKCcrICJnbyBnZXQgLXQgLlxcLi4uIicpOyAgW0NvbnNvbGVdOjpPdXQuRmx1c2goKQomIGdvIGdldCAtdCAuXC4uLjsgaWYgKCRMQVNURVhJVENPREUgLW5lIDApIHtleGl0ICRMQVNURVhJVENPREV9CgpXcml0ZS1PdXRwdXQgKCcrICJnbyBidWlsZCInKTsgIFtDb25zb2xlXTo6T3V0LkZsdXNoKCkKJiBnbyBidWlsZDsgaWYgKCRMQVNURVhJVENPREUgLW5lIDApIHtleGl0ICRMQVNURVhJVENPREV9CgpXcml0ZS1PdXRwdXQgKCcrICJnbyB0ZXN0IC12IicpOyAgW0NvbnNvbGVdOjpPdXQuRmx1c2goKQomIGdvIHRlc3QgLXY7IGlmICgkTEFTVEVYSVRDT0RFIC1uZSAwKSB7ZXhpdCAkTEFTVEVYSVRDT0RFfQoK", "CI_SCRIPT": "CiRFcnJvckFjdGlvblByZWZlcmVuY2UgPSAnU3RvcCc7CiZjbWQgL2MgIm1rZGlyIGM6XHJvb3QiOwppZiAoJEVudjpDSV9ORVRSQ19NQUNISU5FKSB7CiRuZXRyYz1bc3RyaW5nXTo6Rm9ybWF0KCJ7MH1cX25ldHJjIiwkRW52OkhPTUUpOwoibWFjaGluZSAkRW52OkNJX05FVFJDX01BQ0hJTkUiID4+ICRuZXRyYzsKImxvZ2luICRFbnY6Q0lfTkVUUkNfVVNFUk5BTUUiID4+ICRuZXRyYzsKInBhc3N3b3JkICRFbnY6Q0lfTkVUUkNfUEFTU1dPUkQiID4+ICRuZXRyYzsKfTsKW0Vudmlyb25tZW50XTo6U2V0RW52aXJvbm1lbnRWYXJpYWJsZSgiQ0lfTkVUUkNfUEFTU1dPUkQiLCRudWxsKTsKW0Vudmlyb25tZW50XTo6U2V0RW52aXJvbm1lbnRWYXJpYWJsZSgiQ0lfU0NSSVBUIiwkbnVsbCk7CltFbnZpcm9ubWVudF06OlNldEVudmlyb25tZW50VmFyaWFibGUoIkRST05FX05FVFJDX1VTRVJOQU1FIiwkbnVsbCk7CltFbnZpcm9ubWVudF06OlNldEVudmlyb25tZW50VmFyaWFibGUoIkRST05FX05FVFJDX1BBU1NXT1JEIiwkbnVsbCk7CgpXcml0ZS1PdXRwdXQgKCcrICJnbyBnZXQgLXQgLlxcLi4uIicpOyAgW0NvbnNvbGVdOjpPdXQuRmx1c2goKQomIGdvIGdldCAtdCAuXC4uLjsgaWYgKCRMQVNURVhJVENPREUgLW5lIDApIHtleGl0ICRMQVNURVhJVENPREV9CgpXcml0ZS1PdXRwdXQgKCcrICJnbyBidWlsZCInKTsgIFtDb25zb2xlXTo6T3V0LkZsdXNoKCkKJiBnbyBidWlsZDsgaWYgKCRMQVNURVhJVENPREUgLW5lIDApIHtleGl0ICRMQVNURVhJVENPREV9CgpXcml0ZS1PdXRwdXQgKCcrICJnbyB0ZXN0IC12IicpOyAgW0NvbnNvbGVdOjpPdXQuRmx1c2goKQomIGdvIHRlc3QgLXY7IGlmICgkTEFTVEVYSVRDT0RFIC1uZSAwKSB7ZXhpdCAkTEFTVEVYSVRDT0RFfQoK",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "windows/amd64", "CI_SYSTEM_PLATFORM": "windows/amd64",

View file

@ -1,16 +1,16 @@
CI_REPO=go-sql-driver/mysql CI_COMMIT_AUTHOR=egorsmkv
CI_REPO_NAME=go-sql-driver/mysql
CI_REPO_LINK=https://github.com/go-sql-driver/mysql
CI_REPO_REMOTE=https://github.com/go-sql-driver/mysql.git
CI_REPO_PRIVATE=false
CI_BUILD_NUMBER=530
CI_BUILD_CREATED=1486119586
CI_BUILD_STARTED=1486119585
CI_BUILD_EVENT=push
CI_BUILD_LINK=
CI_COMMIT_SHA=2e00b5cd70399450106cec6431c2e2ce3cae5034
CI_COMMIT_REF=refs/heads/master
CI_COMMIT_REFSPEC=
CI_COMMIT_BRANCH=master CI_COMMIT_BRANCH=master
CI_COMMIT_MESSAGE="Fix many urls" CI_COMMIT_MESSAGE="Fix many urls"
CI_COMMIT_AUTHOR=egorsmkv 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

View file

@ -23,7 +23,7 @@
"CI_REPO": "go-sql-driver/mysql", "CI_REPO": "go-sql-driver/mysql",
"CI_REPO_URL": "https://github.com/go-sql-driver/mysql", "CI_REPO_URL": "https://github.com/go-sql-driver/mysql",
"CI_REPO_NAME": "go-sql-driver/mysql", "CI_REPO_NAME": "go-sql-driver/mysql",
"CI_REPO_REMOTE": "https://github.com/go-sql-driver/mysql.git", "CI_REPO_CLONE_URL": "https://github.com/go-sql-driver/mysql.git",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
"CI_SYSTEM_URL": "https://github.com/cncd/pipec", "CI_SYSTEM_URL": "https://github.com/cncd/pipec",
@ -67,7 +67,7 @@
"CI_REPO": "go-sql-driver/mysql", "CI_REPO": "go-sql-driver/mysql",
"CI_REPO_URL": "https://github.com/go-sql-driver/mysql", "CI_REPO_URL": "https://github.com/go-sql-driver/mysql",
"CI_REPO_NAME": "go-sql-driver/mysql", "CI_REPO_NAME": "go-sql-driver/mysql",
"CI_REPO_REMOTE": "https://github.com/go-sql-driver/mysql.git", "CI_REPO_CLONE_URL": "https://github.com/go-sql-driver/mysql.git",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
"CI_SYSTEM_URL": "https://github.com/cncd/pipec", "CI_SYSTEM_URL": "https://github.com/cncd/pipec",
@ -112,7 +112,7 @@
"CI_REPO": "go-sql-driver/mysql", "CI_REPO": "go-sql-driver/mysql",
"CI_REPO_URL": "https://github.com/go-sql-driver/mysql", "CI_REPO_URL": "https://github.com/go-sql-driver/mysql",
"CI_REPO_NAME": "go-sql-driver/mysql", "CI_REPO_NAME": "go-sql-driver/mysql",
"CI_REPO_REMOTE": "https://github.com/go-sql-driver/mysql.git", "CI_REPO_CLONE_URL": "https://github.com/go-sql-driver/mysql.git",
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJzbGVlcCAyMCIKc2xlZXAgMjAKCmVjaG8gKyAiZ28gZ2V0IC12IC10IgpnbyBnZXQgLXYgLXQKCmVjaG8gKyAiZ28gdGVzdCAtdiIKZ28gdGVzdCAtdgoK", "CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJzbGVlcCAyMCIKc2xlZXAgMjAKCmVjaG8gKyAiZ28gZ2V0IC12IC10IgpnbyBnZXQgLXYgLXQKCmVjaG8gKyAiZ28gdGVzdCAtdiIKZ28gdGVzdCAtdgoK",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",

View file

@ -1,16 +1,16 @@
CI_REPO=drone/envsubst CI_COMMIT_AUTHOR=bradrydzewski
CI_REPO_NAME=drone/envsubst
CI_REPO_LINK=https://github.com/drone/envsubst
CI_REPO_REMOTE=https://github.com/drone/envsubst.git
CI_REPO_PRIVATE=false
CI_BUILD_NUMBER=6
CI_BUILD_CREATED=1486119586
CI_BUILD_STARTED=1486119585
CI_BUILD_EVENT=push
CI_BUILD_LINK=
CI_COMMIT_SHA=d0876d3176965f9552a611cbd56e24a9264355e6
CI_COMMIT_REF=refs/heads/master
CI_COMMIT_REFSPEC=
CI_COMMIT_BRANCH=master CI_COMMIT_BRANCH=master
CI_COMMIT_MESSAGE="added a few more test cases for escaping behavior" CI_COMMIT_MESSAGE="added a few more test cases for escaping behavior"
CI_COMMIT_AUTHOR=bradrydzewski 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

View file

@ -24,7 +24,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
"CI_SYSTEM_URL": "https://github.com/cncd/pipec", "CI_SYSTEM_URL": "https://github.com/cncd/pipec",
@ -68,7 +68,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHRoaXMgc3RlcCBzaG91bGQgZmFpbCIKZWNobyB0aGlzIHN0ZXAgc2hvdWxkIGZhaWwKCmVjaG8gKyAiZXhpdCAxIgpleGl0IDEKCg==", "CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHRoaXMgc3RlcCBzaG91bGQgZmFpbCIKZWNobyB0aGlzIHN0ZXAgc2hvdWxkIGZhaWwKCmVjaG8gKyAiZXhpdCAxIgpleGl0IDEKCg==",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
@ -116,7 +116,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHRoaXMgc3RlcCBzaG91bGQgbmV2ZXIgZXhlY3V0ZSIKZWNobyB0aGlzIHN0ZXAgc2hvdWxkIG5ldmVyIGV4ZWN1dGUKCg==", "CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHRoaXMgc3RlcCBzaG91bGQgbmV2ZXIgZXhlY3V0ZSIKZWNobyB0aGlzIHN0ZXAgc2hvdWxkIG5ldmVyIGV4ZWN1dGUKCg==",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",

View file

@ -1,16 +1,16 @@
CI_REPO=drone/envsubst CI_COMMIT_AUTHOR=bradrydzewski
CI_REPO_NAME=drone/envsubst
CI_REPO_LINK=https://github.com/drone/envsubst
CI_REPO_REMOTE=https://github.com/drone/envsubst.git
CI_REPO_PRIVATE=false
CI_BUILD_NUMBER=6
CI_BUILD_CREATED=1486119586
CI_BUILD_STARTED=1486119585
CI_BUILD_EVENT=push
CI_BUILD_LINK=
CI_COMMIT_SHA=d0876d3176965f9552a611cbd56e24a9264355e6
CI_COMMIT_REF=refs/heads/master
CI_COMMIT_REFSPEC=
CI_COMMIT_BRANCH=master CI_COMMIT_BRANCH=master
CI_COMMIT_MESSAGE="added a few more test cases for escaping behavior" CI_COMMIT_MESSAGE="added a few more test cases for escaping behavior"
CI_COMMIT_AUTHOR=bradrydzewski 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

View file

@ -24,7 +24,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
"CI_SYSTEM_URL": "https://github.com/cncd/pipec", "CI_SYSTEM_URL": "https://github.com/cncd/pipec",
@ -68,7 +68,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHRoaXMgc3RlcCBzaG91bGQgZmFpbCIKZWNobyB0aGlzIHN0ZXAgc2hvdWxkIGZhaWwKCmVjaG8gKyAiZXhpdCAxIgpleGl0IDEKCg==", "CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHRoaXMgc3RlcCBzaG91bGQgZmFpbCIKZWNobyB0aGlzIHN0ZXAgc2hvdWxkIGZhaWwKCmVjaG8gKyAiZXhpdCAxIgpleGl0IDEKCg==",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
@ -116,7 +116,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHRoaXMgc3RlcCBzaG91bGQgZXhlY3V0ZSwgZGVzcGl0ZSBmYWlsdXJlIgplY2hvIHRoaXMgc3RlcCBzaG91bGQgZXhlY3V0ZSwgZGVzcGl0ZSBmYWlsdXJlCgo=", "CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHRoaXMgc3RlcCBzaG91bGQgZXhlY3V0ZSwgZGVzcGl0ZSBmYWlsdXJlIgplY2hvIHRoaXMgc3RlcCBzaG91bGQgZXhlY3V0ZSwgZGVzcGl0ZSBmYWlsdXJlCgo=",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",

View file

@ -1,16 +1,16 @@
CI_REPO=drone/envsubst CI_COMMIT_AUTHOR=bradrydzewski
CI_REPO_NAME=drone/envsubst
CI_REPO_LINK=https://github.com/drone/envsubst
CI_REPO_REMOTE=https://github.com/drone/envsubst.git
CI_REPO_PRIVATE=false
CI_BUILD_NUMBER=6
CI_BUILD_CREATED=1486119586
CI_BUILD_STARTED=1486119585
CI_BUILD_EVENT=push
CI_BUILD_LINK=
CI_COMMIT_SHA=d0876d3176965f9552a611cbd56e24a9264355e6
CI_COMMIT_REF=refs/heads/master
CI_COMMIT_REFSPEC=
CI_COMMIT_BRANCH=master CI_COMMIT_BRANCH=master
CI_COMMIT_MESSAGE="added a few more test cases for escaping behavior" CI_COMMIT_MESSAGE="added a few more test cases for escaping behavior"
CI_COMMIT_AUTHOR=bradrydzewski 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

View file

@ -24,7 +24,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
"CI_SYSTEM_URL": "https://github.com/cncd/pipec", "CI_SYSTEM_URL": "https://github.com/cncd/pipec",
@ -68,7 +68,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgMSIKZWNobyBzdGVwIDEKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSAxIgplY2hvIGRvbmUgMQoK", "CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgMSIKZWNobyBzdGVwIDEKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSAxIgplY2hvIGRvbmUgMQoK",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
@ -110,7 +110,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgMiIKZWNobyBzdGVwIDIKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSAyIgplY2hvIGRvbmUgMgoK", "CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgMiIKZWNobyBzdGVwIDIKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSAyIgplY2hvIGRvbmUgMgoK",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
@ -158,7 +158,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIEkgc2hvdWxkIGV4ZWN1dGUgbGFzdC4iCmVjaG8gSSBzaG91bGQgZXhlY3V0ZSBsYXN0LgoKZWNobyArICJlY2hvIGFmdGVyIHRoZSBwcmlvciB0d28gc3RlcHMgZmluaXNoIGV4ZWN1dGlvbi4iCmVjaG8gYWZ0ZXIgdGhlIHByaW9yIHR3byBzdGVwcyBmaW5pc2ggZXhlY3V0aW9uLgoK", "CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIEkgc2hvdWxkIGV4ZWN1dGUgbGFzdC4iCmVjaG8gSSBzaG91bGQgZXhlY3V0ZSBsYXN0LgoKZWNobyArICJlY2hvIGFmdGVyIHRoZSBwcmlvciB0d28gc3RlcHMgZmluaXNoIGV4ZWN1dGlvbi4iCmVjaG8gYWZ0ZXIgdGhlIHByaW9yIHR3byBzdGVwcyBmaW5pc2ggZXhlY3V0aW9uLgoK",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
@ -206,7 +206,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgMyIKZWNobyBzdGVwIDMKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSAzIgplY2hvIGRvbmUgMwoK", "CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgMyIKZWNobyBzdGVwIDMKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSAzIgplY2hvIGRvbmUgMwoK",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
@ -248,7 +248,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgNCIKZWNobyBzdGVwIDQKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSA0IgplY2hvIGRvbmUgNAoK", "CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJlY2hvIHN0ZXAgNCIKZWNobyBzdGVwIDQKCmVjaG8gKyAic2xlZXAgMTAiCnNsZWVwIDEwCgplY2hvICsgImVjaG8gZG9uZSA0IgplY2hvIGRvbmUgNAoK",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",

View file

@ -1,24 +1,24 @@
CI_REPO=drone/envsubst CI_COMMIT_AUTHOR=bradrydzewski
CI_REPO_NAME=drone/envsubst
CI_REPO_LINK=https://github.com/drone/envsubst
CI_REPO_REMOTE=https://github.com/drone/envsubst.git
CI_REPO_PRIVATE=false
CI_BUILD_NUMBER=6
CI_BUILD_CREATED=1486119586
CI_BUILD_STARTED=1486119585
CI_BUILD_EVENT=push
CI_BUILD_LINK=
CI_COMMIT_SHA=d0876d3176965f9552a611cbd56e24a9264355e6
CI_COMMIT_REF=refs/heads/master
CI_COMMIT_REFSPEC=
CI_COMMIT_BRANCH=master CI_COMMIT_BRANCH=master
CI_COMMIT_MESSAGE="added a few more test cases for escaping behavior" CI_COMMIT_MESSAGE="added a few more test cases for escaping behavior"
CI_COMMIT_AUTHOR=bradrydzewski 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 # custom secrets
SLACK_WEBHOOK=https://slack.com/hooks/xxxxxxxx/yyyyyyyyy SLACK_WEBHOOK=https://slack.com/hooks/xxxxxxxx/yyyyyyyyy
# registry secrets # registry secrets
CI_REGISTRY_HOSTNAME=docker.io CI_REGISTRY_HOSTNAME=docker.io
CI_REGISTRY_USERNAME=gordon
CI_REGISTRY_PASSWORD=password CI_REGISTRY_PASSWORD=password
CI_REGISTRY_USERNAME=gordon

View file

@ -24,7 +24,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
"CI_SYSTEM_URL": "https://github.com/cncd/pipec", "CI_SYSTEM_URL": "https://github.com/cncd/pipec",
@ -79,7 +79,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJnbyBnZXQgLXQgLi8uLi4iCmdvIGdldCAtdCAuLy4uLgoKZWNobyArICJnbyBidWlsZCIKZ28gYnVpbGQKCmVjaG8gKyAiZ28gdGVzdCAtdiIKZ28gdGVzdCAtdgoK", "CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAoKZWNobyArICJnbyBnZXQgLXQgLi8uLi4iCmdvIGdldCAtdCAuLy4uLgoKZWNobyArICJnbyBidWlsZCIKZ28gYnVpbGQKCmVjaG8gKyAiZ28gdGVzdCAtdiIKZ28gdGVzdCAtdgoK",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
@ -137,7 +137,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
"CI_SYSTEM_URL": "https://github.com/cncd/pipec", "CI_SYSTEM_URL": "https://github.com/cncd/pipec",

View file

@ -1,19 +1,18 @@
CI_REPO=drone/envsubst CI_COMMIT_AUTHOR=bradrydzewski
CI_REPO_NAME=drone/envsubst
CI_REPO_LINK=https://github.com/drone/envsubst
CI_REPO_REMOTE=https://github.com/drone/envsubst.git
CI_REPO_PRIVATE=false
CI_BUILD_NUMBER=6
CI_BUILD_CREATED=1486119586
CI_BUILD_STARTED=1486119585
CI_BUILD_EVENT=push
CI_BUILD_LINK=
CI_COMMIT_SHA=d0876d3176965f9552a611cbd56e24a9264355e6
CI_COMMIT_REF=refs/heads/master
CI_COMMIT_REFSPEC=
CI_COMMIT_BRANCH=master CI_COMMIT_BRANCH=master
CI_COMMIT_MESSAGE="added a few more test cases for escaping behavior" CI_COMMIT_MESSAGE="added a few more test cases for escaping behavior"
CI_COMMIT_AUTHOR=bradrydzewski 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=true
CI_VOLUME_CACHE_BASE=/cache/drone CI_VOLUME_CACHE_BASE=/cache/drone

View file

@ -24,7 +24,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
"CI_SYSTEM_URL": "https://github.com/cncd/pipec", "CI_SYSTEM_URL": "https://github.com/cncd/pipec",
@ -76,7 +76,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
"CI_SYSTEM_URL": "https://github.com/cncd/pipec", "CI_SYSTEM_URL": "https://github.com/cncd/pipec",
@ -135,7 +135,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAp1bnNldCBEUk9ORV9ORVRSQ19VU0VSTkFNRQp1bnNldCBEUk9ORV9ORVRSQ19QQVNTV09SRAoKZWNobyArICJucG0gaW5zdGFsbCIKbnBtIGluc3RhbGwKCmVjaG8gKyAibnBtIHRlc3QiCm5wbSB0ZXN0Cgo=", "CI_SCRIPT": "CmlmIFsgLW4gIiRDSV9ORVRSQ19NQUNISU5FIiBdOyB0aGVuCmNhdCA8PEVPRiA+ICRIT01FLy5uZXRyYwptYWNoaW5lICRDSV9ORVRSQ19NQUNISU5FCmxvZ2luICRDSV9ORVRSQ19VU0VSTkFNRQpwYXNzd29yZCAkQ0lfTkVUUkNfUEFTU1dPUkQKRU9GCmNobW9kIDA2MDAgJEhPTUUvLm5ldHJjCmZpCnVuc2V0IENJX05FVFJDX1VTRVJOQU1FCnVuc2V0IENJX05FVFJDX1BBU1NXT1JECnVuc2V0IENJX1NDUklQVAp1bnNldCBEUk9ORV9ORVRSQ19VU0VSTkFNRQp1bnNldCBEUk9ORV9ORVRSQ19QQVNTV09SRAoKZWNobyArICJucG0gaW5zdGFsbCIKbnBtIGluc3RhbGwKCmVjaG8gKyAibnBtIHRlc3QiCm5wbSB0ZXN0Cgo=",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
@ -191,7 +191,7 @@
"CI_REPO": "drone/envsubst", "CI_REPO": "drone/envsubst",
"CI_REPO_URL": "https://github.com/drone/envsubst", "CI_REPO_URL": "https://github.com/drone/envsubst",
"CI_REPO_NAME": "drone/envsubst", "CI_REPO_NAME": "drone/envsubst",
"CI_REPO_REMOTE": "https://github.com/drone/envsubst.git", "CI_REPO_CLONE_URL": "https://github.com/drone/envsubst.git",
"CI_SYSTEM": "pipec", "CI_SYSTEM": "pipec",
"CI_SYSTEM_PLATFORM": "linux/amd64", "CI_SYSTEM_PLATFORM": "linux/amd64",
"CI_SYSTEM_URL": "https://github.com/cncd/pipec", "CI_SYSTEM_URL": "https://github.com/cncd/pipec",

View file

@ -146,4 +146,4 @@ steps:
commands: echo "test" commands: echo "test"
when: when:
- event: push - event: push
evaluate: 'CI_BUILD_EVENT == "push" && CI_REPO == "owner/repo"' evaluate: 'CI_PIPELINE_EVENT == "push" && CI_REPO == "owner/repo"'

View file

@ -37,20 +37,9 @@ var DefaultTracer = TraceFunc(func(state *State) error {
state.Pipeline.Step.Environment["CI_STEP_STARTED"] = strconv.FormatInt(state.Pipeline.Time, 10) state.Pipeline.Step.Environment["CI_STEP_STARTED"] = strconv.FormatInt(state.Pipeline.Time, 10)
state.Pipeline.Step.Environment["CI_STEP_FINISHED"] = strconv.FormatInt(time.Now().Unix(), 10) state.Pipeline.Step.Environment["CI_STEP_FINISHED"] = strconv.FormatInt(time.Now().Unix(), 10)
// DEPRECATED
state.Pipeline.Step.Environment["CI_BUILD_STATUS"] = "success"
state.Pipeline.Step.Environment["CI_BUILD_STARTED"] = strconv.FormatInt(state.Pipeline.Time, 10)
state.Pipeline.Step.Environment["CI_BUILD_FINISHED"] = strconv.FormatInt(time.Now().Unix(), 10)
state.Pipeline.Step.Environment["CI_JOB_STATUS"] = "success"
state.Pipeline.Step.Environment["CI_JOB_STARTED"] = strconv.FormatInt(state.Pipeline.Time, 10)
state.Pipeline.Step.Environment["CI_JOB_FINISHED"] = strconv.FormatInt(time.Now().Unix(), 10)
if state.Pipeline.Error != nil { if state.Pipeline.Error != nil {
state.Pipeline.Step.Environment["CI_PIPELINE_STATUS"] = "failure" state.Pipeline.Step.Environment["CI_PIPELINE_STATUS"] = "failure"
state.Pipeline.Step.Environment["CI_STEP_STATUS"] = "failure" state.Pipeline.Step.Environment["CI_STEP_STATUS"] = "failure"
// DEPRECATED
state.Pipeline.Step.Environment["CI_BUILD_STATUS"] = "failure"
state.Pipeline.Step.Environment["CI_JOB_STATUS"] = "failure"
} }
return nil return nil
}) })