Relaced laszlocph/woodpecker with woodpecker-ci/woodpecker

This commit is contained in:
Laszlo Fogas 2021-05-25 14:08:27 +02:00
parent 5604ff2a43
commit c7ebd68232
197 changed files with 433 additions and 433 deletions

10
.cli.sh
View file

@ -6,11 +6,11 @@ set -x
export CGO_ENABLED=0
# compile for all architectures
GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/amd64/woodpecker github.com/laszlocph/woodpecker/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/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/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/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/drone
GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/amd64/woodpecker github.com/woodpecker-ci/woodpecker/cli/drone
GOOS=linux GOARCH=arm64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm64/woodpecker github.com/woodpecker-ci/woodpecker/cli/drone
GOOS=linux GOARCH=arm go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm/woodpecker github.com/woodpecker-ci/woodpecker/cli/drone
GOOS=windows GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/windows/amd64/woodpecker github.com/woodpecker-ci/woodpecker/cli/drone
GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/darwin/amd64/woodpecker github.com/woodpecker-ci/woodpecker/cli/drone
# tar binary files prior to upload
tar -cvzf cli/release/woodpecker_linux_amd64.tar.gz -C cli/release/linux/amd64 woodpecker

View file

@ -11,5 +11,5 @@ fi
echo "Building $VERSION"
go build -ldflags '-extldflags "-static" -X github.com/laszlocph/woodpecker/version.Version='${VERSION} -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/woodpecker/version.Version='${VERSION} -o release/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent
go build -ldflags '-extldflags "-static" -X github.com/woodpecker-ci/woodpecker/version.Version='${VERSION} -o release/drone-server github.com/woodpecker-ci/woodpecker/cmd/drone-server
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-X github.com/woodpecker-ci/woodpecker/version.Version='${VERSION} -o release/drone-agent github.com/woodpecker-ci/woodpecker/cmd/drone-agent

View file

@ -26,7 +26,7 @@ pipeline:
- DATABASE_DRIVER=postgres
- DATABASE_CONFIG=host=postgres user=postgres dbname=postgres sslmode=disable
commands:
- go test -timeout 30s github.com/laszlocph/woodpecker/store/datastore
- go test -timeout 30s github.com/woodpecker-ci/woodpecker/store/datastore
test-mysql:
image: golang:1.16
@ -35,7 +35,7 @@ pipeline:
- DATABASE_DRIVER=mysql
- DATABASE_CONFIG=root@tcp(mysql:3306)/test?parseTime=true
commands:
- go test -timeout 30s github.com/laszlocph/woodpecker/store/datastore
- go test -timeout 30s github.com/woodpecker-ci/woodpecker/store/datastore
build-frontend:
image: node:10.17.0-stretch

View file

@ -22,28 +22,28 @@ format:
@gofmt -w ${GOFILES_NOVENDOR}
test-agent:
$(DOCKER_RUN) go test -race -timeout 30s github.com/laszlocph/woodpecker/cmd/drone-agent $(go list ./... | grep -v /vendor/)
$(DOCKER_RUN) go test -race -timeout 30s github.com/woodpecker-ci/woodpecker/cmd/drone-agent $(go list ./... | grep -v /vendor/)
test-server:
$(DOCKER_RUN) go test -race -timeout 30s github.com/laszlocph/woodpecker/cmd/drone-server
$(DOCKER_RUN) go test -race -timeout 30s github.com/woodpecker-ci/woodpecker/cmd/drone-server
test-frontend:
(cd web/; yarn run test)
test-lib:
go get github.com/laszlocph/woodpecker/cncd/pipeline/pipec
go get github.com/laszlocph/woodpecker/remote/mock
go get github.com/laszlocph/woodpecker/cli/drone/internal
go get -t github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml
go get github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipec
go get github.com/woodpecker-ci/woodpecker/remote/mock
go get github.com/woodpecker-ci/woodpecker/cli/drone/internal
go get -t github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml
$(DOCKER_RUN) go test -race -timeout 30s $(shell go list ./... | grep -v '/cmd/')
test: test-lib test-agent test-server
build-agent:
$(DOCKER_RUN) go build -o build/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent
$(DOCKER_RUN) go build -o build/drone-agent github.com/woodpecker-ci/woodpecker/cmd/drone-agent
build-server:
$(DOCKER_RUN) go build -o build/drone-server github.com/laszlocph/woodpecker/cmd/drone-server
$(DOCKER_RUN) go build -o build/drone-server github.com/woodpecker-ci/woodpecker/cmd/drone-server
build-frontend:
(cd web/; yarn run build)
@ -52,5 +52,5 @@ build-frontend:
build: build-agent build-server
install:
go install github.com/laszlocph/woodpecker/cmd/drone-agent
go install github.com/laszlocph/woodpecker/cmd/drone-server
go install github.com/woodpecker-ci/woodpecker/cmd/drone-agent
go install github.com/woodpecker-ci/woodpecker/cmd/drone-server

View file

@ -5,7 +5,7 @@ A fork of the Drone CI system.
- Based on the v0.8 code tree
- Fully Apache 2.0, no tiers
[![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) [![https://discord.gg/fcMQqSMXJy](https://img.shields.io/discord/838698813463724034.svg)](https://discord.gg/fcMQqSMXJy)
[![Go Report Card](https://goreportcard.com/badge/github.com/woodpecker-ci/woodpecker)](https://goreportcard.com/report/github.com/woodpecker-ci/woodpecker) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![https://discord.gg/fcMQqSMXJy](https://img.shields.io/discord/838698813463724034.svg)](https://discord.gg/fcMQqSMXJy)
![woodpecker](docs/docs/images/woodpecker.png)
@ -95,7 +95,7 @@ https://woodpecker.laszlo.cloud
Currently, I know of one organization using this fork. With 50+ users, 130+ repos and more than 1100 builds a week.
Leave a note here if you are using it: https://github.com/laszlocph/woodpecker/issues/122
Leave a note here if you are using it: https://github.com/woodpecker-ci/woodpecker/issues/122
## License

View file

@ -11,7 +11,7 @@ keywords:
- docker
- go
sources:
- https://github.com/laszlocph/woodpecker
- https://github.com/woodpecker-ci/woodpecker
maintainers:
- name: Laszlo Fogas
email: laszlo@laszlo.cloud

View file

@ -11,7 +11,7 @@ keywords:
- docker
- go
sources:
- https://github.com/laszlocph/woodpecker
- https://github.com/woodpecker-ci/woodpecker
maintainers:
- name: Laszlo Fogas
email: laszlo@laszlo.cloud

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -14,16 +14,16 @@ import (
"time"
"github.com/drone/envsubst"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/compiler"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/linter"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/matrix"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline"
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend/docker"
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend"
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml/compiler"
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml/linter"
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml/matrix"
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/interrupt"
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/multipart"
"github.com/urfave/cli"
)

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -18,7 +18,7 @@ import (
"fmt"
"os"
"github.com/laszlocph/woodpecker/version"
"github.com/woodpecker-ci/woodpecker/version"
"github.com/joho/godotenv"
_ "github.com/joho/godotenv/autoload"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -7,7 +7,7 @@ import (
"regexp"
"strings"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
)
// returns a container configuration.

View file

@ -8,7 +8,7 @@ import (
"io"
"os"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
"docker.io/go-docker"
"docker.io/go-docker/api/types"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -5,8 +5,8 @@ import (
"path/filepath"
libcompose "github.com/docker/libcompose/yaml"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/types"
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend"
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml/types"
"gopkg.in/yaml.v3"
)

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -37,12 +37,12 @@ List of prometheus metrics specific to Woodpecker:
```
# HELP drone_build_count Build count.
# TYPE drone_build_count counter
drone_build_count{branch="master",pipeline="total",repo="laszlocph/woodpecker",status="success"} 3
drone_build_count{branch="mkdocs",pipeline="total",repo="laszlocph/woodpecker",status="success"} 3
drone_build_count{branch="master",pipeline="total",repo="woodpecker-ci/woodpecker",status="success"} 3
drone_build_count{branch="mkdocs",pipeline="total",repo="woodpecker-ci/woodpecker",status="success"} 3
# HELP drone_build_time Build time.
# TYPE drone_build_time gauge
drone_build_time{branch="master",pipeline="total",repo="laszlocph/woodpecker",status="success"} 116
drone_build_time{branch="mkdocs",pipeline="total",repo="laszlocph/woodpecker",status="success"} 155
drone_build_time{branch="master",pipeline="total",repo="woodpecker-ci/woodpecker",status="success"} 116
drone_build_time{branch="mkdocs",pipeline="total",repo="woodpecker-ci/woodpecker",status="success"} 155
# HELP drone_build_total_count Total number of builds.
# TYPE drone_build_total_count gauge
drone_build_total_count 1025

View file

@ -1,7 +1,7 @@
# Multi-pipeline builds
**NOTE: Feature is only available for Github repositories. Follow [this](https://github.com/laszlocph/woodpecker/issues/131) issue to support further development.**
**NOTE: Feature is only available for Github repositories. Follow [this](https://github.com/woodpecker-ci/woodpecker/issues/131) issue to support further development.**
By default, Woodpecker looks for the pipeline definition in `.drone.yml` in the project root.

View file

@ -1,6 +1,6 @@
site_name: Woodpecker
repo_name: 'laszlocph/woodpecker'
repo_url: 'https://github.com/laszlocph/woodpecker'
repo_name: 'woodpecker-ci/woodpecker'
repo_url: 'https://github.com/woodpecker-ci/woodpecker'
edit_uri: 'blob/master/docs/docs/'
copyright: 'Creative Commons Attribution-ShareAlike 4.0 International Public License.<br />It is a derivative work of the https://github.com/drone/docs git repository'
nav:

View file

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

View file

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

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/laszlocph/woodpecker
module github.com/woodpecker-ci/woodpecker
go 1.16

View file

@ -17,7 +17,7 @@ package model
import (
"context"
"github.com/laszlocph/woodpecker/cncd/queue"
"github.com/woodpecker-ci/woodpecker/cncd/queue"
"github.com/sirupsen/logrus"
)

View file

@ -1,7 +1,7 @@
package environments
import (
"github.com/laszlocph/woodpecker/model"
"github.com/woodpecker-ci/woodpecker/model"
"strings"
)

View file

@ -1,7 +1,7 @@
package registry
import (
"github.com/laszlocph/woodpecker/model"
"github.com/woodpecker-ci/woodpecker/model"
)
type combined struct {

View file

@ -1,7 +1,7 @@
package registry
import (
"github.com/laszlocph/woodpecker/model"
"github.com/woodpecker-ci/woodpecker/model"
)
type db struct {

View file

@ -6,7 +6,7 @@ import (
"fmt"
"github.com/docker/cli/cli/config/configfile"
"github.com/docker/cli/cli/config/types"
"github.com/laszlocph/woodpecker/model"
"github.com/woodpecker-ci/woodpecker/model"
"os"
"strings"
)

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

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