Merge pull request #65 from laszlocph/rename

Project is renamed to Woodpecker
This commit is contained in:
Laszlo Fogas 2019-08-27 13:12:03 +02:00 committed by GitHub
commit bc80063ccb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
189 changed files with 431 additions and 431 deletions

22
.cli.sh
View file

@ -6,18 +6,18 @@ set -x
export CGO_ENABLED=0 export CGO_ENABLED=0
# compile for all architectures # compile for all architectures
GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/amd64/drone github.com/laszlocph/drone-oss-08/cli/drone GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/amd64/woodpecker github.com/laszlocph/woodpecker/cli/woodpecker
GOOS=linux GOARCH=arm64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm64/drone github.com/laszlocph/drone-oss-08/cli/drone GOOS=linux GOARCH=arm64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm64/woodpecker github.com/laszlocph/woodpecker/cli/woodpecker
GOOS=linux GOARCH=arm go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm/drone github.com/laszlocph/drone-oss-08/cli/drone GOOS=linux GOARCH=arm go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm/woodpecker github.com/laszlocph/woodpecker/cli/woodpecker
GOOS=windows GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/windows/amd64/drone github.com/laszlocph/drone-oss-08/cli/drone GOOS=windows GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/windows/amd64/woodpecker github.com/laszlocph/woodpecker/cli/woodpecker
GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/darwin/amd64/drone github.com/laszlocph/drone-oss-08/cli/drone GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/darwin/amd64/woodpecker github.com/laszlocph/woodpecker/cli/woodpecker
# tar binary files prior to upload # tar binary files prior to upload
tar -cvzf cli/release/drone_linux_amd64.tar.gz -C cli/release/linux/amd64 drone tar -cvzf cli/release/woodpecker_linux_amd64.tar.gz -C cli/release/linux/amd64 woodpecker
tar -cvzf cli/release/drone_linux_arm64.tar.gz -C cli/release/linux/arm64 drone tar -cvzf cli/release/woodpecker_linux_arm64.tar.gz -C cli/release/linux/arm64 woodpecker
tar -cvzf cli/release/drone_linux_arm.tar.gz -C cli/release/linux/arm drone tar -cvzf cli/release/woodpecker_linux_arm.tar.gz -C cli/release/linux/arm woodpecker
tar -cvzf cli/release/drone_windows_amd64.tar.gz -C cli/release/windows/amd64 drone tar -cvzf cli/release/woodpecker_windows_amd64.tar.gz -C cli/release/windows/amd64 woodpecker
tar -cvzf cli/release/drone_darwin_amd64.tar.gz -C cli/release/darwin/amd64 drone tar -cvzf cli/release/woodpecker_darwin_amd64.tar.gz -C cli/release/darwin/amd64 woodpecker
# generate shas for tar files # generate shas for tar files
sha256sum cli/release/*.tar.gz > cli/release/drone_checksums.txt sha256sum cli/release/*.tar.gz > cli/release/woodpecker_checksums.txt

View file

@ -3,7 +3,7 @@
set -e set -e
set -x set -x
go build -ldflags '-extldflags "-static" -X github.com/laszlocph/drone-oss-08/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/drone-server github.com/laszlocph/drone-oss-08/cmd/drone-server go build -ldflags '-extldflags "-static" -X github.com/laszlocph/woodpecker/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/drone-server github.com/laszlocph/woodpecker/cmd/drone-server
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-X github.com/laszlocph/drone-oss-08/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/drone-agent github.com/laszlocph/drone-oss-08/cmd/drone-agent GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-X github.com/laszlocph/woodpecker/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '-X github.com/laszlocph/drone-oss-08/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/linux/arm64/drone-agent github.com/laszlocph/drone-oss-08/cmd/drone-agent GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '-X github.com/laszlocph/woodpecker/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/linux/arm64/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent
GOOS=linux GOARCH=arm CGO_ENABLED=0 GOARM=7 go build -ldflags '-X github.com/laszlocph/drone-oss-08/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/linux/arm/drone-agent github.com/laszlocph/drone-oss-08/cmd/drone-agent GOOS=linux GOARCH=arm CGO_ENABLED=0 GOARM=7 go build -ldflags '-X github.com/laszlocph/woodpecker/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/linux/arm/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent

View file

@ -4,7 +4,7 @@ clone:
workspace: workspace:
base: /go base: /go
path: src/github.com/laszlocph/drone-oss-08 path: src/github.com/laszlocph/woodpecker
pipeline: pipeline:
test: test:
@ -23,7 +23,7 @@ pipeline:
- DATABASE_DRIVER=postgres - DATABASE_DRIVER=postgres
- DATABASE_CONFIG=host=postgres user=postgres dbname=postgres sslmode=disable - DATABASE_CONFIG=host=postgres user=postgres dbname=postgres sslmode=disable
commands: commands:
- go test github.com/laszlocph/drone-oss-08/store/datastore - go test github.com/laszlocph/woodpecker/store/datastore
test_mysql: test_mysql:
image: golang:1.12.4 image: golang:1.12.4
@ -31,7 +31,7 @@ pipeline:
- DATABASE_DRIVER=mysql - DATABASE_DRIVER=mysql
- DATABASE_CONFIG=root@tcp(mysql:3306)/test?parseTime=true - DATABASE_CONFIG=root@tcp(mysql:3306)/test?parseTime=true
commands: commands:
- go test github.com/laszlocph/drone-oss-08/store/datastore - go test github.com/laszlocph/woodpecker/store/datastore
build: build:
image: golang:1.12.4 image: golang:1.12.4
@ -41,7 +41,7 @@ pipeline:
publish_server_alpine: publish_server_alpine:
image: plugins/docker image: plugins/docker
repo: laszlocloud/drone-oss-08-server repo: laszlocloud/woodpecker-server
dockerfile: Dockerfile.alpine dockerfile: Dockerfile.alpine
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
tag: [ alpine ] tag: [ alpine ]
@ -51,7 +51,7 @@ pipeline:
publish_server: publish_server:
image: plugins/docker image: plugins/docker
repo: laszlocloud/drone-oss-08-server repo: laszlocloud/woodpecker-server
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
tag: [ latest ] tag: [ latest ]
when: when:
@ -60,7 +60,7 @@ pipeline:
publish_agent: publish_agent:
image: plugins/docker image: plugins/docker
repo: laszlocloud/drone-oss-08-agent repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent dockerfile: Dockerfile.agent
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
tag: [ latest ] tag: [ latest ]
@ -70,7 +70,7 @@ pipeline:
publish_agent_alpine: publish_agent_alpine:
image: plugins/docker image: plugins/docker
repo: laszlocloud/drone-oss-08-agent repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent.alpine dockerfile: Dockerfile.agent.alpine
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
tag: [ alpine ] tag: [ alpine ]
@ -80,7 +80,7 @@ pipeline:
publish_agent_arm: publish_agent_arm:
image: plugins/docker image: plugins/docker
repo: laszlocloud/drone-oss-08-agent repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent.linux.arm dockerfile: Dockerfile.agent.linux.arm
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
tag: [ linux-arm ] tag: [ linux-arm ]
@ -90,7 +90,7 @@ pipeline:
publish_agent_arm64: publish_agent_arm64:
image: plugins/docker image: plugins/docker
repo: laszlocloud/drone-oss-08-agent repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent.linux.arm64 dockerfile: Dockerfile.agent.linux.arm64
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
tag: [ linux-arm64 ] tag: [ linux-arm64 ]
@ -100,7 +100,7 @@ pipeline:
publish_agent_amd64: publish_agent_amd64:
image: plugins/docker image: plugins/docker
repo: laszlocloud/drone-oss-08-agent repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent dockerfile: Dockerfile.agent
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
tag: [ latest ] tag: [ latest ]
@ -110,7 +110,7 @@ pipeline:
release_server_alpine: release_server_alpine:
image: plugins/docker image: plugins/docker
repo: laszlocloud/drone-oss-08-server repo: laszlocloud/woodpecker-server
dockerfile: Dockerfile.alpine dockerfile: Dockerfile.alpine
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
tag: "${DRONE_TAG}-alpine" tag: "${DRONE_TAG}-alpine"
@ -119,7 +119,7 @@ pipeline:
release_agent_alpine: release_agent_alpine:
image: plugins/docker image: plugins/docker
repo: laszlocloud/drone-oss-08-agent repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent.alpine dockerfile: Dockerfile.agent.alpine
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
tag: "${DRONE_TAG}-alpine" tag: "${DRONE_TAG}-alpine"
@ -128,7 +128,7 @@ pipeline:
release_server: release_server:
image: plugins/docker image: plugins/docker
repo: laszlocloud/drone-oss-08-server repo: laszlocloud/woodpecker-server
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
tag: ${DRONE_TAG} tag: ${DRONE_TAG}
when: when:
@ -136,7 +136,7 @@ pipeline:
release_agent: release_agent:
image: plugins/docker image: plugins/docker
repo: laszlocloud/drone-oss-08-agent repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent dockerfile: Dockerfile.agent
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
tag: ${DRONE_TAG} tag: ${DRONE_TAG}

View file

@ -8,8 +8,8 @@
3. Install binaries to $GOPATH/bin 3. Install binaries to $GOPATH/bin
go install github.com/laszlocph/drone-oss-08/cmd/drone-agent go install github.com/laszlocph/woodpecker/cmd/drone-agent
go install github.com/laszlocph/drone-oss-08/cmd/drone-server go install github.com/laszlocph/woodpecker/cmd/drone-server
--- ---

View file

@ -1,3 +1,3 @@
Drone-OSS-08 is Apache 2.0 licensed with the source files in this repository having a header indicating which license they are under and what copyrights apply. Woodpecker is Apache 2.0 licensed with the source files in this repository having a header indicating which license they are under and what copyrights apply.
Files under the `docs/` folder is licensed under Creative Commons Attribution-ShareAlike 4.0 International Public License. It is a derivative work of the https://github.com/drone/docs git repository. Files under the `docs/` folder is licensed under Creative Commons Attribution-ShareAlike 4.0 International Public License. It is a derivative work of the https://github.com/drone/docs git repository.

View file

@ -5,9 +5,9 @@ An opinionated fork of the Drone CI system.
- Based on the v0.8 code tree - Based on the v0.8 code tree
- Focused on developer experience. - Focused on developer experience.
[![Build Status](https://cloud.drone.io/api/badges/laszlocph/drone-oss-08/status.svg)](https://cloud.drone.io/laszlocph/drone-oss-08) [![Go Report Card](https://goreportcard.com/badge/github.com/laszlocph/drone-oss-08)](https://goreportcard.com/report/github.com/laszlocph/drone-oss-08) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Build Status](https://cloud.drone.io/api/badges/laszlocph/woodpecker/status.svg)](https://cloud.drone.io/laszlocph/woodpecker) [![Go Report Card](https://goreportcard.com/badge/github.com/laszlocph/woodpecker)](https://goreportcard.com/report/github.com/laszlocph/woodpecker) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
![Drone-OSS-08](docs/drone.png) ![woodpecker](docs/drone.png)
## Table of contents ## Table of contents
@ -315,12 +315,12 @@ See the [proxy guide](docs/administration/proxy.md) if you want to see a setup b
## Contributing ## Contributing
Drone-OSS-08 is Apache 2.0 licensed and accepts contributions via GitHub pull requests. woodpecker is Apache 2.0 licensed and accepts contributions via GitHub pull requests.
[How to build the project]() [How to build the project]()
## License ## License
Drone-OSS-08 is Apache 2.0 licensed with the source files in this repository having a header indicating which license they are under and what copyrights apply. woodpecker is Apache 2.0 licensed with the source files in this repository having a header indicating which license they are under and what copyrights apply.
Files under the `docs/` folder is licensed under Creative Commons Attribution-ShareAlike 4.0 International Public License. It is a derivative work of the https://github.com/drone/docs git repository. Files under the `docs/` folder is licensed under Creative Commons Attribution-ShareAlike 4.0 International Public License. It is a derivative work of the https://github.com/drone/docs git repository.

View file

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -5,7 +5,7 @@ import (
"strconv" "strconv"
"text/template" "text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -4,7 +4,7 @@ import (
"os" "os"
"text/template" "text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -4,7 +4,7 @@ import (
"os" "os"
"text/template" "text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -5,7 +5,7 @@ import (
"strconv" "strconv"
"text/template" "text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -5,7 +5,7 @@ import (
"os" "os"
"text/template" "text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -6,8 +6,8 @@ import (
"os" "os"
"strconv" "strconv"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/laszlocph/drone-oss-08/drone-go/drone" "github.com/laszlocph/woodpecker/drone-go/drone"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -11,15 +11,15 @@ import (
"strings" "strings"
"time" "time"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend/docker" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/compiler" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/compiler"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/linter" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/linter"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/interrupt" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
"github.com/drone/envsubst" "github.com/drone/envsubst"
"github.com/urfave/cli" "github.com/urfave/cli"

View file

@ -6,7 +6,7 @@ import (
"github.com/urfave/cli" "github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
) )
// Command exports the info command. // Command exports the info command.

View file

@ -11,7 +11,7 @@ import (
"golang.org/x/net/proxy" "golang.org/x/net/proxy"
"golang.org/x/oauth2" "golang.org/x/oauth2"
"github.com/laszlocph/drone-oss-08/drone-go/drone" "github.com/laszlocph/woodpecker/drone-go/drone"
) )
// NewClient returns a new client from the CLI context. // NewClient returns a new client from the CLI context.

View file

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -4,15 +4,15 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/laszlocph/drone-oss-08/cli/drone/build" "github.com/laszlocph/woodpecker/cli/drone/build"
"github.com/laszlocph/drone-oss-08/cli/drone/deploy" "github.com/laszlocph/woodpecker/cli/drone/deploy"
"github.com/laszlocph/drone-oss-08/cli/drone/exec" "github.com/laszlocph/woodpecker/cli/drone/exec"
"github.com/laszlocph/drone-oss-08/cli/drone/info" "github.com/laszlocph/woodpecker/cli/drone/info"
"github.com/laszlocph/drone-oss-08/cli/drone/log" "github.com/laszlocph/woodpecker/cli/drone/log"
"github.com/laszlocph/drone-oss-08/cli/drone/registry" "github.com/laszlocph/woodpecker/cli/drone/registry"
"github.com/laszlocph/drone-oss-08/cli/drone/repo" "github.com/laszlocph/woodpecker/cli/drone/repo"
"github.com/laszlocph/drone-oss-08/cli/drone/secret" "github.com/laszlocph/woodpecker/cli/drone/secret"
"github.com/laszlocph/drone-oss-08/cli/drone/user" "github.com/laszlocph/woodpecker/cli/drone/user"
_ "github.com/joho/godotenv/autoload" _ "github.com/joho/godotenv/autoload"
"github.com/urfave/cli" "github.com/urfave/cli"

View file

@ -4,8 +4,8 @@ import (
"io/ioutil" "io/ioutil"
"strings" "strings"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/laszlocph/drone-oss-08/drone-go/drone" "github.com/laszlocph/woodpecker/drone-go/drone"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -4,7 +4,7 @@ import (
"html/template" "html/template"
"os" "os"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -6,7 +6,7 @@ import (
"github.com/urfave/cli" "github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
) )
var registryListCmd = cli.Command{ var registryListCmd = cli.Command{

View file

@ -1,7 +1,7 @@
package registry package registry
import ( import (
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -4,8 +4,8 @@ import (
"io/ioutil" "io/ioutil"
"strings" "strings"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/laszlocph/drone-oss-08/drone-go/drone" "github.com/laszlocph/woodpecker/drone-go/drone"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -3,7 +3,7 @@ package repo
import ( import (
"fmt" "fmt"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -3,7 +3,7 @@ package repo
import ( import (
"fmt" "fmt"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -4,7 +4,7 @@ import (
"os" "os"
"text/template" "text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -4,7 +4,7 @@ import (
"os" "os"
"text/template" "text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -1,7 +1,7 @@
package repo package repo
import ( import (
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -3,7 +3,7 @@ package repo
import ( import (
"fmt" "fmt"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -4,7 +4,7 @@ import (
"os" "os"
"text/template" "text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -4,8 +4,8 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/laszlocph/drone-oss-08/drone-go/drone" "github.com/laszlocph/woodpecker/drone-go/drone"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -4,8 +4,8 @@ import (
"io/ioutil" "io/ioutil"
"strings" "strings"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/laszlocph/drone-oss-08/drone-go/drone" "github.com/laszlocph/woodpecker/drone-go/drone"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -6,7 +6,7 @@ import (
"github.com/urfave/cli" "github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
) )
var secretInfoCmd = cli.Command{ var secretInfoCmd = cli.Command{

View file

@ -7,7 +7,7 @@ import (
"github.com/urfave/cli" "github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
) )
var secretListCmd = cli.Command{ var secretListCmd = cli.Command{

View file

@ -3,7 +3,7 @@ package secret
import ( import (
"github.com/urfave/cli" "github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
) )
var secretDeleteCmd = cli.Command{ var secretDeleteCmd = cli.Command{

View file

@ -4,8 +4,8 @@ import (
"io/ioutil" "io/ioutil"
"strings" "strings"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/laszlocph/drone-oss-08/drone-go/drone" "github.com/laszlocph/woodpecker/drone-go/drone"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -3,10 +3,10 @@ package user
import ( import (
"fmt" "fmt"
"github.com/laszlocph/drone-oss-08/drone-go/drone" "github.com/laszlocph/woodpecker/drone-go/drone"
"github.com/urfave/cli" "github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
) )
var userAddCmd = cli.Command{ var userAddCmd = cli.Command{

View file

@ -7,7 +7,7 @@ import (
"github.com/urfave/cli" "github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
) )
var userInfoCmd = cli.Command{ var userInfoCmd = cli.Command{

View file

@ -6,7 +6,7 @@ import (
"github.com/urfave/cli" "github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
) )
var userListCmd = cli.Command{ var userListCmd = cli.Command{

View file

@ -5,7 +5,7 @@ import (
"github.com/urfave/cli" "github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal" "github.com/laszlocph/woodpecker/cli/drone/internal"
) )
var userRemoveCmd = cli.Command{ var userRemoveCmd = cli.Command{

View file

@ -29,11 +29,11 @@ import (
"google.golang.org/grpc/keepalive" "google.golang.org/grpc/keepalive"
"google.golang.org/grpc/metadata" "google.golang.org/grpc/metadata"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend/docker" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc"
"github.com/drone/signal" "github.com/drone/signal"
"github.com/rs/zerolog" "github.com/rs/zerolog"

View file

@ -22,7 +22,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/laszlocph/drone-oss-08/version" "github.com/laszlocph/woodpecker/version"
"github.com/urfave/cli" "github.com/urfave/cli"
) )
@ -48,7 +48,7 @@ func handleVersion(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(200) w.WriteHeader(200)
w.Header().Add("Content-Type", "text/json") w.Header().Add("Content-Type", "text/json")
json.NewEncoder(w).Encode(versionResp{ json.NewEncoder(w).Encode(versionResp{
Source: "https://github.com/laszlocph/drone-oss-08", Source: "https://github.com/laszlocph/woodpecker",
Version: version.Version.String(), Version: version.Version.String(),
}) })
} }

View file

@ -19,7 +19,7 @@ import (
"os" "os"
"time" "time"
"github.com/laszlocph/drone-oss-08/version" "github.com/laszlocph/woodpecker/version"
_ "github.com/joho/godotenv/autoload" _ "github.com/joho/godotenv/autoload"
"github.com/urfave/cli" "github.com/urfave/cli"

View file

@ -18,7 +18,7 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/laszlocph/drone-oss-08/version" "github.com/laszlocph/woodpecker/version"
_ "github.com/joho/godotenv/autoload" _ "github.com/joho/godotenv/autoload"
"github.com/urfave/cli" "github.com/urfave/cli"

View file

@ -33,15 +33,15 @@ import (
"golang.org/x/crypto/acme/autocert" "golang.org/x/crypto/acme/autocert"
"golang.org/x/sync/errgroup" "golang.org/x/sync/errgroup"
"github.com/laszlocph/drone-oss-08/cncd/logging" "github.com/laszlocph/woodpecker/cncd/logging"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc/proto" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc/proto"
"github.com/laszlocph/drone-oss-08/cncd/pubsub" "github.com/laszlocph/woodpecker/cncd/pubsub"
"github.com/laszlocph/drone-oss-08/plugins/sender" "github.com/laszlocph/woodpecker/plugins/sender"
"github.com/laszlocph/drone-oss-08/remote" "github.com/laszlocph/woodpecker/remote"
"github.com/laszlocph/drone-oss-08/router" "github.com/laszlocph/woodpecker/router"
"github.com/laszlocph/drone-oss-08/router/middleware" "github.com/laszlocph/woodpecker/router/middleware"
droneserver "github.com/laszlocph/drone-oss-08/server" droneserver "github.com/laszlocph/woodpecker/server"
"github.com/laszlocph/drone-oss-08/store" "github.com/laszlocph/woodpecker/store"
"github.com/Sirupsen/logrus" "github.com/Sirupsen/logrus"
"github.com/gin-gonic/contrib/ginrus" "github.com/gin-gonic/contrib/ginrus"

View file

@ -19,23 +19,23 @@ import (
"time" "time"
"github.com/dimfeld/httptreemux" "github.com/dimfeld/httptreemux"
"github.com/laszlocph/drone-oss-08/cncd/queue" "github.com/laszlocph/woodpecker/cncd/queue"
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/drone-oss-08/plugins/registry" "github.com/laszlocph/woodpecker/plugins/registry"
"github.com/laszlocph/drone-oss-08/plugins/secrets" "github.com/laszlocph/woodpecker/plugins/secrets"
"github.com/laszlocph/drone-oss-08/remote" "github.com/laszlocph/woodpecker/remote"
"github.com/laszlocph/drone-oss-08/remote/bitbucket" "github.com/laszlocph/woodpecker/remote/bitbucket"
"github.com/laszlocph/drone-oss-08/remote/bitbucketserver" "github.com/laszlocph/woodpecker/remote/bitbucketserver"
"github.com/laszlocph/drone-oss-08/remote/coding" "github.com/laszlocph/woodpecker/remote/coding"
"github.com/laszlocph/drone-oss-08/remote/gitea" "github.com/laszlocph/woodpecker/remote/gitea"
"github.com/laszlocph/drone-oss-08/remote/github" "github.com/laszlocph/woodpecker/remote/github"
"github.com/laszlocph/drone-oss-08/remote/gitlab" "github.com/laszlocph/woodpecker/remote/gitlab"
"github.com/laszlocph/drone-oss-08/remote/gitlab3" "github.com/laszlocph/woodpecker/remote/gitlab3"
"github.com/laszlocph/drone-oss-08/remote/gogs" "github.com/laszlocph/woodpecker/remote/gogs"
droneserver "github.com/laszlocph/drone-oss-08/server" droneserver "github.com/laszlocph/woodpecker/server"
"github.com/laszlocph/drone-oss-08/server/web" "github.com/laszlocph/woodpecker/server/web"
"github.com/laszlocph/drone-oss-08/store" "github.com/laszlocph/woodpecker/store"
"github.com/laszlocph/drone-oss-08/store/datastore" "github.com/laszlocph/woodpecker/store/datastore"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto" "github.com/prometheus/client_golang/prometheus/promauto"
"golang.org/x/sync/errgroup" "golang.org/x/sync/errgroup"

View file

@ -2,5 +2,5 @@ Go package provides a common interface for storing and streaming logs.
Documentation: Documentation:
http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/logging http://godoc.org/github.com/laszlocph/woodpecker/cncd/logging
http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/logging/gcp http://godoc.org/github.com/laszlocph/woodpecker/cncd/logging/gcp

View file

@ -1,15 +1,15 @@
workspace: workspace:
base: /go base: /go
path: src/github.com/laszlocph/drone-oss-08/cncd/pipeline path: src/github.com/laszlocph/woodpecker/cncd/pipeline
pipeline: pipeline:
install: install:
image: golang:1.8 image: golang:1.8
commands: commands:
- go install github.com/laszlocph/drone-oss-08/cncd/pipeline/pipec - go install github.com/laszlocph/woodpecker/cncd/pipeline/pipec
- go install github.com/laszlocph/drone-oss-08/cncd/pipeline/piped - go install github.com/laszlocph/woodpecker/cncd/pipeline/piped
test: test:
image: golang:1.8 image: golang:1.8
commands: commands:
- go test -cover github.com/laszlocph/drone-oss-08/cncd/pipeline/... - go test -cover github.com/laszlocph/woodpecker/cncd/pipeline/...

View file

@ -8,9 +8,9 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/compiler" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/compiler"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -8,12 +8,12 @@ import (
"strconv" "strconv"
"time" "time"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend/docker" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend/kubernetes" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/kubernetes"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/interrupt" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
"github.com/urfave/cli" "github.com/urfave/cli"
) )

View file

@ -3,8 +3,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/linter" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/linter"
"github.com/kr/pretty" "github.com/kr/pretty"
"github.com/urfave/cli" "github.com/urfave/cli"

View file

@ -13,12 +13,12 @@ import (
"sync" "sync"
"time" "time"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend/docker" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/interrupt" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc"
_ "github.com/joho/godotenv/autoload" _ "github.com/joho/godotenv/autoload"
"github.com/tevino/abool" "github.com/tevino/abool"

View file

@ -7,8 +7,8 @@ import (
"net/url" "net/url"
"time" "time"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/interrupt" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc"
_ "github.com/joho/godotenv/autoload" _ "github.com/joho/godotenv/autoload"
"github.com/urfave/cli" "github.com/urfave/cli"

View file

@ -6,7 +6,7 @@ import (
"regexp" "regexp"
"strings" "strings"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/docker/docker/api/types/container" "github.com/docker/docker/api/types/container"
) )

View file

@ -5,7 +5,7 @@ import (
"io" "io"
"os" "os"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/docker/docker/api/types" "github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/network" "github.com/docker/docker/api/types/network"

View file

@ -3,7 +3,7 @@ package docker
// import ( // import (
// "context" // "context"
// //
// "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" // "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
// ) // )
// //
// // Pool manages a pool of Docker clients. // // Pool manages a pool of Docker clients.

View file

@ -4,7 +4,7 @@ import (
"context" "context"
"io" "io"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
) )
type engine struct { type engine struct {

View file

@ -4,7 +4,7 @@ import (
"path" "path"
"strings" "strings"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
libcompose "github.com/docker/libcompose/yaml" libcompose "github.com/docker/libcompose/yaml"
) )

View file

@ -3,9 +3,9 @@ package compiler
import ( import (
"fmt" "fmt"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
) )
// TODO(bradrydzewski) compiler should handle user-defined volumes from YAML // TODO(bradrydzewski) compiler should handle user-defined volumes from YAML

View file

@ -5,8 +5,8 @@ import (
"path" "path"
"strings" "strings"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
) )
func (c *Compiler) createProcess(name string, container *yaml.Container, section string) *backend.Step { func (c *Compiler) createProcess(name string, container *yaml.Container, section string) *backend.Step {

View file

@ -6,7 +6,7 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
) )
// Option configures a compiler option. // Option configures a compiler option.

View file

@ -5,7 +5,7 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
) )
func TestWithWorkspace(t *testing.T) { func TestWithWorkspace(t *testing.T) {

View file

@ -3,8 +3,8 @@ package yaml
import ( import (
"path/filepath" "path/filepath"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/types" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/types"
libcompose "github.com/docker/libcompose/yaml" libcompose "github.com/docker/libcompose/yaml"
) )

View file

@ -3,7 +3,7 @@ package yaml
import ( import (
"testing" "testing"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
"gopkg.in/yaml.v2" "gopkg.in/yaml.v2"
) )

View file

@ -3,7 +3,7 @@ package linter
import ( import (
"fmt" "fmt"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
) )
const ( const (

View file

@ -3,7 +3,7 @@ package linter
import ( import (
"testing" "testing"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
) )
func TestLint(t *testing.T) { func TestLint(t *testing.T) {

View file

@ -1,8 +1,8 @@
package pipeline package pipeline
import ( import (
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
) )
// Logger handles the process logging. // Logger handles the process logging.

View file

@ -3,7 +3,7 @@ package pipeline
import ( import (
"context" "context"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
) )
// Option configures a runtime option. // Option configures a runtime option.

View file

@ -6,7 +6,7 @@ import (
"os" "os"
"strings" "strings"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
) )
// Parse parses the pipeline config from an io.Reader. // Parse parses the pipeline config from an io.Reader.

View file

@ -6,8 +6,8 @@ import (
"golang.org/x/sync/errgroup" "golang.org/x/sync/errgroup"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
) )
type ( type (

View file

@ -6,8 +6,8 @@ import (
"time" "time"
"log" "log"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc/proto" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc/proto"
"google.golang.org/grpc" "google.golang.org/grpc"
"google.golang.org/grpc/codes" "google.golang.org/grpc/codes"

View file

@ -5,8 +5,8 @@ import (
// "encoding/json" // "encoding/json"
"time" "time"
// "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" // "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc/proto" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc/proto"
"google.golang.org/grpc" "google.golang.org/grpc"
"google.golang.org/grpc/codes" "google.golang.org/grpc/codes"

View file

@ -3,7 +3,7 @@ package rpc
import ( import (
"context" "context"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
) )
// ErrCancelled signals the pipeine is cancelled. // ErrCancelled signals the pipeine is cancelled.

View file

@ -23,7 +23,7 @@
"DRONE_WORKSPACE": "/go/src/github.com/drone/envsubst" "DRONE_WORKSPACE": "/go/src/github.com/drone/envsubst"
}, },
"volumes": [ "volumes": [
"/Users/bradrydzewski/code/src/github.com/laszlocph/drone-oss-08/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst" "/Users/bradrydzewski/code/src/github.com/laszlocph/woodpecker/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst"
], ],
"networks": [ "networks": [
{ {
@ -55,7 +55,7 @@
"DRONE_WORKSPACE": "/go/src/github.com/drone/envsubst" "DRONE_WORKSPACE": "/go/src/github.com/drone/envsubst"
}, },
"volumes": [ "volumes": [
"/Users/bradrydzewski/code/src/github.com/laszlocph/drone-oss-08/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst" "/Users/bradrydzewski/code/src/github.com/laszlocph/woodpecker/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst"
], ],
"networks": [ "networks": [
{ {
@ -103,7 +103,7 @@
"echo $CI_SCRIPT | base64 -d | /bin/sh -e" "echo $CI_SCRIPT | base64 -d | /bin/sh -e"
], ],
"volumes": [ "volumes": [
"/Users/bradrydzewski/code/src/github.com/laszlocph/drone-oss-08/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst" "/Users/bradrydzewski/code/src/github.com/laszlocph/woodpecker/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst"
], ],
"networks": [ "networks": [
{ {

View file

@ -2,5 +2,5 @@ Go package provides a common interface for publish-subscriber messaging.
Documentation: Documentation:
http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/pubsub http://godoc.org/github.com/laszlocph/woodpecker/cncd/pubsub
http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/pubsub/gcp http://godoc.org/github.com/laszlocph/woodpecker/cncd/pubsub/gcp

View file

@ -2,5 +2,5 @@ Go package provides a common interface for working with task queues.
Documentation: Documentation:
http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/queue http://godoc.org/github.com/laszlocph/woodpecker/cncd/queue
http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/queue/gcp http://godoc.org/github.com/laszlocph/woodpecker/cncd/queue/gcp

View file

@ -5,7 +5,7 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
image: laszlocloud/drone-oss-08-server:local image: laszlocloud/woodpecker-server:local
ports: ports:
- 8000:8000 - 8000:8000
volumes: volumes:
@ -22,7 +22,7 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile.agent dockerfile: Dockerfile.agent
image: laszlocloud/drone-oss-08-agent:local image: laszlocloud/woodpecker-agent:local
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
environment: environment:

View file

@ -2,7 +2,7 @@
```Go ```Go
import ( import (
"github.com/laszlocph/drone-oss-08/drone-go/drone" "github.com/laszlocph/woodpecker/drone-go/drone"
"golang.org/x/oauth2" "golang.org/x/oauth2"
) )

View file

@ -17,7 +17,7 @@ func Test_QueueInfo(t *testing.T) {
"data": "", "data": "",
"labels": { "labels": {
"platform": "linux/amd64", "platform": "linux/amd64",
"repo": "laszlocph/drone-oss-08" "repo": "laszlocph/woodpecker"
}, },
"Dependencies": [], "Dependencies": [],
"DepStatus": {}, "DepStatus": {},

View file

@ -18,7 +18,7 @@ import (
"context" "context"
"github.com/Sirupsen/logrus" "github.com/Sirupsen/logrus"
"github.com/laszlocph/drone-oss-08/cncd/queue" "github.com/laszlocph/woodpecker/cncd/queue"
) )
// Task defines scheduled pipeline Task. // Task defines scheduled pipeline Task.

View file

@ -1,7 +1,7 @@
package registry package registry
import ( import (
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
) )
type builtin struct { type builtin struct {

View file

@ -1,7 +1,7 @@
package secrets package secrets
import ( import (
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
) )
type builtin struct { type builtin struct {

View file

@ -1,7 +1,7 @@
package sender package sender
import ( import (
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
) )
type builtin struct { type builtin struct {

View file

@ -3,8 +3,8 @@ package sender
import ( import (
"fmt" "fmt"
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/drone-oss-08/plugins/internal" "github.com/laszlocph/woodpecker/plugins/internal"
) )
type plugin struct { type plugin struct {

View file

@ -19,10 +19,10 @@ import (
"net/http" "net/http"
"net/url" "net/url"
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/drone-oss-08/remote" "github.com/laszlocph/woodpecker/remote"
"github.com/laszlocph/drone-oss-08/remote/bitbucket/internal" "github.com/laszlocph/woodpecker/remote/bitbucket/internal"
"github.com/laszlocph/drone-oss-08/shared/httputil" "github.com/laszlocph/woodpecker/shared/httputil"
"golang.org/x/oauth2" "golang.org/x/oauth2"
) )

View file

@ -20,9 +20,9 @@ import (
"net/http/httptest" "net/http/httptest"
"testing" "testing"
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/drone-oss-08/remote/bitbucket/fixtures" "github.com/laszlocph/woodpecker/remote/bitbucket/fixtures"
"github.com/laszlocph/drone-oss-08/remote/bitbucket/internal" "github.com/laszlocph/woodpecker/remote/bitbucket/internal"
"github.com/franela/goblin" "github.com/franela/goblin"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"

View file

@ -20,8 +20,8 @@ import (
"regexp" "regexp"
"strings" "strings"
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/drone-oss-08/remote/bitbucket/internal" "github.com/laszlocph/woodpecker/remote/bitbucket/internal"
"golang.org/x/oauth2" "golang.org/x/oauth2"
) )

View file

@ -18,8 +18,8 @@ import (
"testing" "testing"
"time" "time"
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/drone-oss-08/remote/bitbucket/internal" "github.com/laszlocph/woodpecker/remote/bitbucket/internal"
"github.com/franela/goblin" "github.com/franela/goblin"
"golang.org/x/oauth2" "golang.org/x/oauth2"

View file

@ -19,8 +19,8 @@ import (
"io/ioutil" "io/ioutil"
"net/http" "net/http"
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/drone-oss-08/remote/bitbucket/internal" "github.com/laszlocph/woodpecker/remote/bitbucket/internal"
) )
const ( const (

View file

@ -19,7 +19,7 @@ import (
"net/http" "net/http"
"testing" "testing"
"github.com/laszlocph/drone-oss-08/remote/bitbucket/fixtures" "github.com/laszlocph/woodpecker/remote/bitbucket/fixtures"
"github.com/franela/goblin" "github.com/franela/goblin"
) )

View file

@ -28,9 +28,9 @@ import (
"net/url" "net/url"
"strings" "strings"
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/drone-oss-08/remote" "github.com/laszlocph/woodpecker/remote"
"github.com/laszlocph/drone-oss-08/remote/bitbucketserver/internal" "github.com/laszlocph/woodpecker/remote/bitbucketserver/internal"
"github.com/mrjones/oauth" "github.com/mrjones/oauth"
) )

View file

@ -22,8 +22,8 @@ import (
"strings" "strings"
"time" "time"
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/drone-oss-08/remote/bitbucketserver/internal" "github.com/laszlocph/woodpecker/remote/bitbucketserver/internal"
"github.com/mrjones/oauth" "github.com/mrjones/oauth"
) )

View file

@ -17,8 +17,8 @@ package bitbucketserver
import ( import (
"testing" "testing"
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/drone-oss-08/remote/bitbucketserver/internal" "github.com/laszlocph/woodpecker/remote/bitbucketserver/internal"
"github.com/franela/goblin" "github.com/franela/goblin"
"github.com/mrjones/oauth" "github.com/mrjones/oauth"
) )

View file

@ -26,7 +26,7 @@ import (
"strings" "strings"
log "github.com/Sirupsen/logrus" log "github.com/Sirupsen/logrus"
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
"github.com/mrjones/oauth" "github.com/mrjones/oauth"
) )

View file

@ -17,8 +17,8 @@ package bitbucketserver
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/drone-oss-08/remote/bitbucketserver/internal" "github.com/laszlocph/woodpecker/remote/bitbucketserver/internal"
"net/http" "net/http"
) )

View file

@ -20,10 +20,10 @@ import (
"net/http" "net/http"
"strings" "strings"
"github.com/laszlocph/drone-oss-08/model" "github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/drone-oss-08/remote" "github.com/laszlocph/woodpecker/remote"
"github.com/laszlocph/drone-oss-08/remote/coding/internal" "github.com/laszlocph/woodpecker/remote/coding/internal"
"github.com/laszlocph/drone-oss-08/shared/httputil" "github.com/laszlocph/woodpecker/shared/httputil"
"golang.org/x/net/context" "golang.org/x/net/context"
"golang.org/x/oauth2" "golang.org/x/oauth2"

Some files were not shown because too many files have changed in this diff Show more