mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
commit
b48b8013df
199 changed files with 446 additions and 444 deletions
10
.cli.sh
10
.cli.sh
|
@ -6,11 +6,11 @@ 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/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/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/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/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/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/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/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/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/woodpecker-ci/woodpecker/cli/drone
|
||||||
|
|
||||||
# tar binary files prior to upload
|
# tar binary files prior to upload
|
||||||
tar -cvzf cli/release/woodpecker_linux_amd64.tar.gz -C cli/release/linux/amd64 woodpecker
|
tar -cvzf cli/release/woodpecker_linux_amd64.tar.gz -C cli/release/linux/amd64 woodpecker
|
||||||
|
|
|
@ -11,5 +11,5 @@ fi
|
||||||
|
|
||||||
echo "Building $VERSION"
|
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
|
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/laszlocph/woodpecker/version.Version='${VERSION} -o release/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent
|
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
|
||||||
|
|
22
.drone.yml
22
.drone.yml
|
@ -26,7 +26,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 -timeout 30s github.com/laszlocph/woodpecker/store/datastore
|
- go test -timeout 30s github.com/woodpecker-ci/woodpecker/store/datastore
|
||||||
|
|
||||||
test-mysql:
|
test-mysql:
|
||||||
image: golang:1.16
|
image: golang:1.16
|
||||||
|
@ -35,7 +35,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 -timeout 30s github.com/laszlocph/woodpecker/store/datastore
|
- go test -timeout 30s github.com/woodpecker-ci/woodpecker/store/datastore
|
||||||
|
|
||||||
build-frontend:
|
build-frontend:
|
||||||
image: node:10.17.0-stretch
|
image: node:10.17.0-stretch
|
||||||
|
@ -45,7 +45,7 @@ pipeline:
|
||||||
build:
|
build:
|
||||||
image: golang:1.16
|
image: golang:1.16
|
||||||
commands:
|
commands:
|
||||||
- go get github.com/laszlocph/togo
|
- go get github.com/woodpecker-ci/togo
|
||||||
- (cd web/; go generate ./...)
|
- (cd web/; go generate ./...)
|
||||||
- ./.drone.sh
|
- ./.drone.sh
|
||||||
when:
|
when:
|
||||||
|
@ -53,7 +53,7 @@ pipeline:
|
||||||
|
|
||||||
# publish-server-alpine:
|
# publish-server-alpine:
|
||||||
# image: plugins/docker
|
# image: plugins/docker
|
||||||
# repo: laszlocloud/woodpecker-server
|
# repo: woodpeckerci/woodpecker-server
|
||||||
# dockerfile: Dockerfile.alpine
|
# dockerfile: Dockerfile.alpine
|
||||||
# secrets: [ docker_username, docker_password ]
|
# secrets: [ docker_username, docker_password ]
|
||||||
# tag: [ alpine ]
|
# tag: [ alpine ]
|
||||||
|
@ -67,7 +67,7 @@ pipeline:
|
||||||
|
|
||||||
publish-server:
|
publish-server:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: laszlocloud/woodpecker-server
|
repo: woodpeckerci/woodpecker-server
|
||||||
secrets: [ docker_username, docker_password ]
|
secrets: [ docker_username, docker_password ]
|
||||||
tag: [ latest ]
|
tag: [ latest ]
|
||||||
when:
|
when:
|
||||||
|
@ -76,7 +76,7 @@ pipeline:
|
||||||
|
|
||||||
publish-agent:
|
publish-agent:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: laszlocloud/woodpecker-agent
|
repo: woodpeckerci/woodpecker-agent
|
||||||
dockerfile: Dockerfile.agent
|
dockerfile: Dockerfile.agent
|
||||||
secrets: [ docker_username, docker_password ]
|
secrets: [ docker_username, docker_password ]
|
||||||
tag: [ latest ]
|
tag: [ latest ]
|
||||||
|
@ -86,7 +86,7 @@ pipeline:
|
||||||
|
|
||||||
# publish-agent-alpine:
|
# publish-agent-alpine:
|
||||||
# image: plugins/docker
|
# image: plugins/docker
|
||||||
# repo: laszlocloud/woodpecker-agent
|
# repo: woodpeckerci/woodpecker-agent
|
||||||
# dockerfile: Dockerfile.agent.alpine
|
# dockerfile: Dockerfile.agent.alpine
|
||||||
# secrets: [ docker_username, docker_password ]
|
# secrets: [ docker_username, docker_password ]
|
||||||
# tag: [ alpine ]
|
# tag: [ alpine ]
|
||||||
|
@ -96,7 +96,7 @@ pipeline:
|
||||||
|
|
||||||
# release-server-alpine:
|
# release-server-alpine:
|
||||||
# image: plugins/docker
|
# image: plugins/docker
|
||||||
# repo: laszlocloud/woodpecker-server
|
# repo: woodpeckerci/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"
|
||||||
|
@ -105,7 +105,7 @@ pipeline:
|
||||||
#
|
#
|
||||||
# release-agent-alpine:
|
# release-agent-alpine:
|
||||||
# image: plugins/docker
|
# image: plugins/docker
|
||||||
# repo: laszlocloud/woodpecker-agent
|
# repo: woodpeckerci/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"
|
||||||
|
@ -114,7 +114,7 @@ pipeline:
|
||||||
|
|
||||||
release-server:
|
release-server:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: laszlocloud/woodpecker-server
|
repo: woodpeckerci/woodpecker-server
|
||||||
secrets: [ docker_username, docker_password ]
|
secrets: [ docker_username, docker_password ]
|
||||||
tag: ${DRONE_TAG}
|
tag: ${DRONE_TAG}
|
||||||
when:
|
when:
|
||||||
|
@ -122,7 +122,7 @@ pipeline:
|
||||||
|
|
||||||
release-agent:
|
release-agent:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: laszlocloud/woodpecker-agent
|
repo: woodpeckerci/woodpecker-agent
|
||||||
dockerfile: Dockerfile.agent
|
dockerfile: Dockerfile.agent
|
||||||
secrets: [ docker_username, docker_password ]
|
secrets: [ docker_username, docker_password ]
|
||||||
tag: ${DRONE_TAG}
|
tag: ${DRONE_TAG}
|
||||||
|
|
2
BUILDING
2
BUILDING
|
@ -14,7 +14,7 @@ curl -o swagger -L'#' "$download_url"
|
||||||
chmod +x swagger
|
chmod +x swagger
|
||||||
sudo mv swagger /usr/local/bin
|
sudo mv swagger /usr/local/bin
|
||||||
|
|
||||||
go get github.com/laszlocph/togo
|
go get github.com/woodpecker-ci/togo
|
||||||
|
|
||||||
go generate
|
go generate
|
||||||
|
|
||||||
|
|
20
Makefile
20
Makefile
|
@ -22,28 +22,28 @@ format:
|
||||||
@gofmt -w ${GOFILES_NOVENDOR}
|
@gofmt -w ${GOFILES_NOVENDOR}
|
||||||
|
|
||||||
test-agent:
|
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:
|
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:
|
test-frontend:
|
||||||
(cd web/; yarn run test)
|
(cd web/; yarn run test)
|
||||||
|
|
||||||
test-lib:
|
test-lib:
|
||||||
go get github.com/laszlocph/woodpecker/cncd/pipeline/pipec
|
go get github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipec
|
||||||
go get github.com/laszlocph/woodpecker/remote/mock
|
go get github.com/woodpecker-ci/woodpecker/remote/mock
|
||||||
go get github.com/laszlocph/woodpecker/cli/drone/internal
|
go get github.com/woodpecker-ci/woodpecker/cli/drone/internal
|
||||||
go get -t github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml
|
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/')
|
$(DOCKER_RUN) go test -race -timeout 30s $(shell go list ./... | grep -v '/cmd/')
|
||||||
|
|
||||||
test: test-lib test-agent test-server
|
test: test-lib test-agent test-server
|
||||||
|
|
||||||
build-agent:
|
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:
|
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:
|
build-frontend:
|
||||||
(cd web/; yarn run build)
|
(cd web/; yarn run build)
|
||||||
|
@ -52,5 +52,5 @@ build-frontend:
|
||||||
build: build-agent build-server
|
build: build-agent build-server
|
||||||
|
|
||||||
install:
|
install:
|
||||||
go install github.com/laszlocph/woodpecker/cmd/drone-agent
|
go install github.com/woodpecker-ci/woodpecker/cmd/drone-agent
|
||||||
go install github.com/laszlocph/woodpecker/cmd/drone-server
|
go install github.com/woodpecker-ci/woodpecker/cmd/drone-server
|
|
@ -5,7 +5,7 @@ A fork of the Drone CI system.
|
||||||
- Based on the v0.8 code tree
|
- Based on the v0.8 code tree
|
||||||
- Fully Apache 2.0, no tiers
|
- 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)
|
![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.
|
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
|
## License
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ keywords:
|
||||||
- docker
|
- docker
|
||||||
- go
|
- go
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/laszlocph/woodpecker
|
- https://github.com/woodpecker-ci/woodpecker
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Laszlo Fogas
|
- name: Laszlo Fogas
|
||||||
email: laszlo@laszlo.cloud
|
email: laszlo@laszlo.cloud
|
||||||
|
|
|
@ -11,7 +11,7 @@ keywords:
|
||||||
- docker
|
- docker
|
||||||
- go
|
- go
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/laszlocph/woodpecker
|
- https://github.com/woodpecker-ci/woodpecker
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Laszlo Fogas
|
- name: Laszlo Fogas
|
||||||
email: laszlo@laszlo.cloud
|
email: laszlo@laszlo.cloud
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/laszlocph/woodpecker/drone-go/drone"
|
"github.com/woodpecker-ci/woodpecker/drone-go/drone"
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
|
@ -14,16 +14,16 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/drone/envsubst"
|
"github.com/drone/envsubst"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend/docker"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
|
"github.com/woodpecker-ci/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/yaml/compiler"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/linter"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml/linter"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/matrix"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml/matrix"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/interrupt"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/multipart"
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Command exports the info command.
|
// Command exports the info command.
|
||||||
|
|
|
@ -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/woodpecker/drone-go/drone"
|
"github.com/woodpecker-ci/woodpecker/drone-go/drone"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NewClient returns a new client from the CLI context.
|
// NewClient returns a new client from the CLI context.
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,15 +4,15 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/build"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/build"
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/deploy"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/deploy"
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/exec"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/exec"
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/info"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/info"
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/log"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/log"
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/registry"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/registry"
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/repo"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/repo"
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/secret"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/secret"
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/user"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/user"
|
||||||
|
|
||||||
_ "github.com/joho/godotenv/autoload"
|
_ "github.com/joho/godotenv/autoload"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/laszlocph/woodpecker/drone-go/drone"
|
"github.com/woodpecker-ci/woodpecker/drone-go/drone"
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"html/template"
|
"html/template"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
var registryListCmd = cli.Command{
|
var registryListCmd = cli.Command{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package registry
|
package registry
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/laszlocph/woodpecker/drone-go/drone"
|
"github.com/woodpecker-ci/woodpecker/drone-go/drone"
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,7 +3,7 @@ package repo
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ package repo
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package repo
|
package repo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ package repo
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/laszlocph/woodpecker/drone-go/drone"
|
"github.com/woodpecker-ci/woodpecker/drone-go/drone"
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/laszlocph/woodpecker/drone-go/drone"
|
"github.com/woodpecker-ci/woodpecker/drone-go/drone"
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
var secretInfoCmd = cli.Command{
|
var secretInfoCmd = cli.Command{
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
var secretListCmd = cli.Command{
|
var secretListCmd = cli.Command{
|
||||||
|
|
|
@ -3,7 +3,7 @@ package secret
|
||||||
import (
|
import (
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
var secretDeleteCmd = cli.Command{
|
var secretDeleteCmd = cli.Command{
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
"github.com/laszlocph/woodpecker/drone-go/drone"
|
"github.com/woodpecker-ci/woodpecker/drone-go/drone"
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,10 +3,10 @@ package user
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/drone-go/drone"
|
"github.com/woodpecker-ci/woodpecker/drone-go/drone"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
var userAddCmd = cli.Command{
|
var userAddCmd = cli.Command{
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
var userInfoCmd = cli.Command{
|
var userInfoCmd = cli.Command{
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
var userListCmd = cli.Command{
|
var userListCmd = cli.Command{
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cli/drone/internal"
|
"github.com/woodpecker-ci/woodpecker/cli/drone/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
var userRemoveCmd = cli.Command{
|
var userRemoveCmd = cli.Command{
|
||||||
|
|
|
@ -31,11 +31,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/woodpecker/cncd/pipeline/pipeline"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend/docker"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/multipart"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/rpc"
|
||||||
|
|
||||||
"github.com/drone/signal"
|
"github.com/drone/signal"
|
||||||
"github.com/rs/zerolog"
|
"github.com/rs/zerolog"
|
||||||
|
|
|
@ -22,7 +22,7 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/version"
|
"github.com/woodpecker-ci/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/woodpecker",
|
Source: "https://github.com/woodpecker-ci/woodpecker",
|
||||||
Version: version.String(),
|
Version: version.String(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/version"
|
"github.com/woodpecker-ci/woodpecker/version"
|
||||||
|
|
||||||
_ "github.com/joho/godotenv/autoload"
|
_ "github.com/joho/godotenv/autoload"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
|
|
|
@ -18,7 +18,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/version"
|
"github.com/woodpecker-ci/woodpecker/version"
|
||||||
|
|
||||||
"github.com/joho/godotenv"
|
"github.com/joho/godotenv"
|
||||||
_ "github.com/joho/godotenv/autoload"
|
_ "github.com/joho/godotenv/autoload"
|
||||||
|
|
|
@ -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/woodpecker/cncd/logging"
|
"github.com/woodpecker-ci/woodpecker/cncd/logging"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc/proto"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/rpc/proto"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pubsub"
|
"github.com/woodpecker-ci/woodpecker/cncd/pubsub"
|
||||||
"github.com/laszlocph/woodpecker/plugins/sender"
|
"github.com/woodpecker-ci/woodpecker/plugins/sender"
|
||||||
"github.com/laszlocph/woodpecker/remote"
|
"github.com/woodpecker-ci/woodpecker/remote"
|
||||||
"github.com/laszlocph/woodpecker/router"
|
"github.com/woodpecker-ci/woodpecker/router"
|
||||||
"github.com/laszlocph/woodpecker/router/middleware"
|
"github.com/woodpecker-ci/woodpecker/router/middleware"
|
||||||
droneserver "github.com/laszlocph/woodpecker/server"
|
droneserver "github.com/woodpecker-ci/woodpecker/server"
|
||||||
"github.com/laszlocph/woodpecker/store"
|
"github.com/woodpecker-ci/woodpecker/store"
|
||||||
|
|
||||||
"github.com/gin-gonic/contrib/ginrus"
|
"github.com/gin-gonic/contrib/ginrus"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
|
|
|
@ -19,24 +19,24 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/dimfeld/httptreemux"
|
"github.com/dimfeld/httptreemux"
|
||||||
"github.com/laszlocph/woodpecker/cncd/queue"
|
"github.com/woodpecker-ci/woodpecker/cncd/queue"
|
||||||
"github.com/laszlocph/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
"github.com/laszlocph/woodpecker/plugins/environments"
|
"github.com/woodpecker-ci/woodpecker/plugins/environments"
|
||||||
"github.com/laszlocph/woodpecker/plugins/registry"
|
"github.com/woodpecker-ci/woodpecker/plugins/registry"
|
||||||
"github.com/laszlocph/woodpecker/plugins/secrets"
|
"github.com/woodpecker-ci/woodpecker/plugins/secrets"
|
||||||
"github.com/laszlocph/woodpecker/remote"
|
"github.com/woodpecker-ci/woodpecker/remote"
|
||||||
"github.com/laszlocph/woodpecker/remote/bitbucket"
|
"github.com/woodpecker-ci/woodpecker/remote/bitbucket"
|
||||||
"github.com/laszlocph/woodpecker/remote/bitbucketserver"
|
"github.com/woodpecker-ci/woodpecker/remote/bitbucketserver"
|
||||||
"github.com/laszlocph/woodpecker/remote/coding"
|
"github.com/woodpecker-ci/woodpecker/remote/coding"
|
||||||
"github.com/laszlocph/woodpecker/remote/gitea"
|
"github.com/woodpecker-ci/woodpecker/remote/gitea"
|
||||||
"github.com/laszlocph/woodpecker/remote/github"
|
"github.com/woodpecker-ci/woodpecker/remote/github"
|
||||||
"github.com/laszlocph/woodpecker/remote/gitlab"
|
"github.com/woodpecker-ci/woodpecker/remote/gitlab"
|
||||||
"github.com/laszlocph/woodpecker/remote/gitlab3"
|
"github.com/woodpecker-ci/woodpecker/remote/gitlab3"
|
||||||
"github.com/laszlocph/woodpecker/remote/gogs"
|
"github.com/woodpecker-ci/woodpecker/remote/gogs"
|
||||||
droneserver "github.com/laszlocph/woodpecker/server"
|
droneserver "github.com/woodpecker-ci/woodpecker/server"
|
||||||
"github.com/laszlocph/woodpecker/server/web"
|
"github.com/woodpecker-ci/woodpecker/server/web"
|
||||||
"github.com/laszlocph/woodpecker/store"
|
"github.com/woodpecker-ci/woodpecker/store"
|
||||||
"github.com/laszlocph/woodpecker/store/datastore"
|
"github.com/woodpecker-ci/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"
|
||||||
|
|
|
@ -2,5 +2,5 @@ Go package provides a common interface for storing and streaming logs.
|
||||||
|
|
||||||
Documentation:
|
Documentation:
|
||||||
|
|
||||||
http://godoc.org/github.com/laszlocph/woodpecker/cncd/logging
|
http://godoc.org/github.com/woodpecker-ci/woodpecker/cncd/logging
|
||||||
http://godoc.org/github.com/laszlocph/woodpecker/cncd/logging/gcp
|
http://godoc.org/github.com/woodpecker-ci/woodpecker/cncd/logging/gcp
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
workspace:
|
workspace:
|
||||||
base: /go
|
base: /go
|
||||||
path: src/github.com/laszlocph/woodpecker/cncd/pipeline
|
path: src/github.com/woodpecker-ci/woodpecker/cncd/pipeline
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
install:
|
install:
|
||||||
image: golang:1.8
|
image: golang:1.8
|
||||||
commands:
|
commands:
|
||||||
- go install github.com/laszlocph/woodpecker/cncd/pipeline/pipec
|
- go install github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipec
|
||||||
- go install github.com/laszlocph/woodpecker/cncd/pipeline/piped
|
- go install github.com/woodpecker-ci/woodpecker/cncd/pipeline/piped
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: golang:1.8
|
image: golang:1.8
|
||||||
commands:
|
commands:
|
||||||
- go test -cover -timeout 30s github.com/laszlocph/woodpecker/cncd/pipeline/...
|
- go test -cover -timeout 30s github.com/woodpecker-ci/woodpecker/cncd/pipeline/...
|
||||||
|
|
|
@ -8,9 +8,9 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
|
"github.com/woodpecker-ci/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/yaml/compiler"
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
|
@ -8,12 +8,12 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend/docker"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/kubernetes"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend/kubernetes"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/interrupt"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/multipart"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ package main
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
|
"github.com/woodpecker-ci/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/linter"
|
||||||
|
|
||||||
"github.com/kr/pretty"
|
"github.com/kr/pretty"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
|
|
|
@ -13,12 +13,12 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend/docker"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/interrupt"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/multipart"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/rpc"
|
||||||
|
|
||||||
_ "github.com/joho/godotenv/autoload"
|
_ "github.com/joho/godotenv/autoload"
|
||||||
"github.com/tevino/abool"
|
"github.com/tevino/abool"
|
||||||
|
|
|
@ -7,8 +7,8 @@ import (
|
||||||
"net/url"
|
"net/url"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/interrupt"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/rpc"
|
||||||
|
|
||||||
_ "github.com/joho/godotenv/autoload"
|
_ "github.com/joho/godotenv/autoload"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
|
||||||
)
|
)
|
||||||
|
|
||||||
// returns a container configuration.
|
// returns a container configuration.
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"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"
|
||||||
"docker.io/go-docker/api/types"
|
"docker.io/go-docker/api/types"
|
||||||
|
|
|
@ -3,7 +3,7 @@ package docker
|
||||||
// import (
|
// import (
|
||||||
// "context"
|
// "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.
|
// // Pool manages a pool of Docker clients.
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
|
||||||
)
|
)
|
||||||
|
|
||||||
type engine struct {
|
type engine struct {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"path"
|
"path"
|
||||||
"strings"
|
"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"
|
libcompose "github.com/docker/libcompose/yaml"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,9 +3,9 @@ package compiler
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
|
"github.com/woodpecker-ci/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
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"path"
|
"path"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
|
"github.com/woodpecker-ci/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 {
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Option configures a compiler option.
|
// Option configures a compiler option.
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestWithWorkspace(t *testing.T) {
|
func TestWithWorkspace(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
libcompose "github.com/docker/libcompose/yaml"
|
libcompose "github.com/docker/libcompose/yaml"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/types"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml/types"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ package yaml
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend"
|
||||||
|
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,7 +3,7 @@ package linter
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -3,7 +3,7 @@ package linter
|
||||||
import (
|
import (
|
||||||
"testing"
|
"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) {
|
func TestLint(t *testing.T) {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package pipeline
|
package pipeline
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/multipart"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Logger handles the process logging.
|
// Logger handles the process logging.
|
||||||
|
|
|
@ -3,7 +3,7 @@ package pipeline
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Option configures a runtime option.
|
// Option configures a runtime option.
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"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.
|
// Parse parses the pipeline config from an io.Reader.
|
||||||
|
|
|
@ -6,8 +6,8 @@ import (
|
||||||
|
|
||||||
"golang.org/x/sync/errgroup"
|
"golang.org/x/sync/errgroup"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/multipart"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc/proto"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/rpc/proto"
|
||||||
|
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
"google.golang.org/grpc/codes"
|
"google.golang.org/grpc/codes"
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
// "encoding/json"
|
// "encoding/json"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
// "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
|
// "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc/proto"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/rpc/proto"
|
||||||
|
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
"google.golang.org/grpc/codes"
|
"google.golang.org/grpc/codes"
|
||||||
|
|
|
@ -3,7 +3,7 @@ package rpc
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
|
"github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ErrCancelled signals the pipeine is cancelled.
|
// ErrCancelled signals the pipeine is cancelled.
|
||||||
|
|
|
@ -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/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": [
|
"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/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": [
|
"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/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": [
|
"networks": [
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,5 +2,5 @@ Go package provides a common interface for publish-subscriber messaging.
|
||||||
|
|
||||||
Documentation:
|
Documentation:
|
||||||
|
|
||||||
http://godoc.org/github.com/laszlocph/woodpecker/cncd/pubsub
|
http://godoc.org/github.com/woodpecker-ci/woodpecker/cncd/pubsub
|
||||||
http://godoc.org/github.com/laszlocph/woodpecker/cncd/pubsub/gcp
|
http://godoc.org/github.com/woodpecker-ci/woodpecker/cncd/pubsub/gcp
|
||||||
|
|
|
@ -2,5 +2,5 @@ Go package provides a common interface for working with task queues.
|
||||||
|
|
||||||
Documentation:
|
Documentation:
|
||||||
|
|
||||||
http://godoc.org/github.com/laszlocph/woodpecker/cncd/queue
|
http://godoc.org/github.com/woodpecker-ci/woodpecker/cncd/queue
|
||||||
http://godoc.org/github.com/laszlocph/woodpecker/cncd/queue/gcp
|
http://godoc.org/github.com/woodpecker-ci/woodpecker/cncd/queue/gcp
|
||||||
|
|
|
@ -37,12 +37,12 @@ List of prometheus metrics specific to Woodpecker:
|
||||||
```
|
```
|
||||||
# HELP drone_build_count Build count.
|
# HELP drone_build_count Build count.
|
||||||
# TYPE drone_build_count counter
|
# TYPE drone_build_count counter
|
||||||
drone_build_count{branch="master",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="laszlocph/woodpecker",status="success"} 3
|
drone_build_count{branch="mkdocs",pipeline="total",repo="woodpecker-ci/woodpecker",status="success"} 3
|
||||||
# HELP drone_build_time Build time.
|
# HELP drone_build_time Build time.
|
||||||
# TYPE drone_build_time gauge
|
# TYPE drone_build_time gauge
|
||||||
drone_build_time{branch="master",pipeline="total",repo="laszlocph/woodpecker",status="success"} 116
|
drone_build_time{branch="master",pipeline="total",repo="woodpecker-ci/woodpecker",status="success"} 116
|
||||||
drone_build_time{branch="mkdocs",pipeline="total",repo="laszlocph/woodpecker",status="success"} 155
|
drone_build_time{branch="mkdocs",pipeline="total",repo="woodpecker-ci/woodpecker",status="success"} 155
|
||||||
# HELP drone_build_total_count Total number of builds.
|
# HELP drone_build_total_count Total number of builds.
|
||||||
# TYPE drone_build_total_count gauge
|
# TYPE drone_build_total_count gauge
|
||||||
drone_build_total_count 1025
|
drone_build_total_count 1025
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
# Multi-pipeline builds
|
# 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.
|
By default, Woodpecker looks for the pipeline definition in `.drone.yml` in the project root.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
site_name: Woodpecker
|
site_name: Woodpecker
|
||||||
repo_name: 'laszlocph/woodpecker'
|
repo_name: 'woodpecker-ci/woodpecker'
|
||||||
repo_url: 'https://github.com/laszlocph/woodpecker'
|
repo_url: 'https://github.com/woodpecker-ci/woodpecker'
|
||||||
edit_uri: 'blob/master/docs/docs/'
|
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'
|
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:
|
nav:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
```Go
|
```Go
|
||||||
import (
|
import (
|
||||||
"github.com/laszlocph/woodpecker/drone-go/drone"
|
"github.com/woodpecker-ci/woodpecker/drone-go/drone"
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ func Test_QueueInfo(t *testing.T) {
|
||||||
"data": "",
|
"data": "",
|
||||||
"labels": {
|
"labels": {
|
||||||
"platform": "linux/amd64",
|
"platform": "linux/amd64",
|
||||||
"repo": "laszlocph/woodpecker"
|
"repo": "woodpecker-ci/woodpecker"
|
||||||
},
|
},
|
||||||
"Dependencies": [],
|
"Dependencies": [],
|
||||||
"DepStatus": {},
|
"DepStatus": {},
|
||||||
|
|
4
go.mod
4
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module github.com/laszlocph/woodpecker
|
module github.com/woodpecker-ci/woodpecker
|
||||||
|
|
||||||
go 1.16
|
go 1.16
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ require (
|
||||||
github.com/tevino/abool v0.0.0-20170917061928-9b9efcf221b5
|
github.com/tevino/abool v0.0.0-20170917061928-9b9efcf221b5
|
||||||
github.com/urfave/cli v1.22.4
|
github.com/urfave/cli v1.22.4
|
||||||
golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
|
golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
|
||||||
golang.org/x/net v0.0.0-20210423184538-5f58ad60dda6
|
golang.org/x/net v0.0.0-20210525063256-abc453219eb5
|
||||||
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
|
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
|
||||||
golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
|
golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
|
||||||
google.golang.org/appengine v1.6.6 // indirect
|
google.golang.org/appengine v1.6.6 // indirect
|
||||||
|
|
2
go.sum
2
go.sum
|
@ -248,6 +248,8 @@ golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLL
|
||||||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||||
golang.org/x/net v0.0.0-20210423184538-5f58ad60dda6 h1:0PC75Fz/kyMGhL0e1QnypqK2kQMqKt9csD1GnMJR+Zk=
|
golang.org/x/net v0.0.0-20210423184538-5f58ad60dda6 h1:0PC75Fz/kyMGhL0e1QnypqK2kQMqKt9csD1GnMJR+Zk=
|
||||||
golang.org/x/net v0.0.0-20210423184538-5f58ad60dda6/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk=
|
golang.org/x/net v0.0.0-20210423184538-5f58ad60dda6/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk=
|
||||||
|
golang.org/x/net v0.0.0-20210525063256-abc453219eb5 h1:wjuX4b5yYQnEQHzd+CBcrcC6OVR2J1CN6mUy0oSxIPo=
|
||||||
|
golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||||
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d h1:TzXSXBo42m9gQenoE3b9BGiEpg5IG2JkU5FkPIawgtw=
|
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d h1:TzXSXBo42m9gQenoE3b9BGiEpg5IG2JkU5FkPIawgtw=
|
||||||
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||||
|
|
|
@ -17,7 +17,7 @@ package model
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/cncd/queue"
|
"github.com/woodpecker-ci/woodpecker/cncd/queue"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package environments
|
package environments
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/laszlocph/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package registry
|
package registry
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/laszlocph/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
type combined struct {
|
type combined struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package registry
|
package registry
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/laszlocph/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
type db struct {
|
type db struct {
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/docker/cli/cli/config/configfile"
|
"github.com/docker/cli/cli/config/configfile"
|
||||||
"github.com/docker/cli/cli/config/types"
|
"github.com/docker/cli/cli/config/types"
|
||||||
"github.com/laszlocph/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package secrets
|
package secrets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/laszlocph/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
type builtin struct {
|
type builtin struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package sender
|
package sender
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/laszlocph/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
type builtin struct {
|
type builtin struct {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package sender
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
"github.com/laszlocph/woodpecker/plugins/internal"
|
"github.com/woodpecker-ci/woodpecker/plugins/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
type plugin struct {
|
type plugin struct {
|
||||||
|
|
|
@ -19,10 +19,10 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
"github.com/laszlocph/woodpecker/remote"
|
"github.com/woodpecker-ci/woodpecker/remote"
|
||||||
"github.com/laszlocph/woodpecker/remote/bitbucket/internal"
|
"github.com/woodpecker-ci/woodpecker/remote/bitbucket/internal"
|
||||||
"github.com/laszlocph/woodpecker/shared/httputil"
|
"github.com/woodpecker-ci/woodpecker/shared/httputil"
|
||||||
|
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
)
|
)
|
||||||
|
|
|
@ -20,9 +20,9 @@ import (
|
||||||
"net/http/httptest"
|
"net/http/httptest"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
"github.com/laszlocph/woodpecker/remote/bitbucket/fixtures"
|
"github.com/woodpecker-ci/woodpecker/remote/bitbucket/fixtures"
|
||||||
"github.com/laszlocph/woodpecker/remote/bitbucket/internal"
|
"github.com/woodpecker-ci/woodpecker/remote/bitbucket/internal"
|
||||||
|
|
||||||
"github.com/franela/goblin"
|
"github.com/franela/goblin"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
|
|
|
@ -20,8 +20,8 @@ import (
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/laszlocph/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
"github.com/laszlocph/woodpecker/remote/bitbucket/internal"
|
"github.com/woodpecker-ci/woodpecker/remote/bitbucket/internal"
|
||||||
|
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
)
|
)
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue