Compare commits

...

58 Commits
v3.0.2 ... main

Author SHA1 Message Date
Robert Kaussow b0a5eb3cfb
add deprecation notice 2023-08-29 21:37:13 +02:00
renovate[bot] 7c04e02a19 chore(deps): update dependency golangci/golangci-lint to v1.54.2 2023-08-28 04:39:13 +00:00
renovate[bot] 598aaefe37 chore(docker): update golang:1.20 docker digest to 741d6f9 2023-08-17 14:40:31 +00:00
renovate[bot] ac8cbcf43b chore(docker): update golang:1.20 docker digest to ee18a70 2023-08-17 04:41:06 +00:00
renovate[bot] 6f82fbf1a6 chore(docker): update golang:1.20 docker digest to 2db0b25 2023-08-16 16:49:55 +00:00
renovate[bot] ee27a13d13 chore(deps): update dependency golangci/golangci-lint to v1.54.1 2023-08-14 03:07:19 +00:00
renovate[bot] f2e3686917 chore(docker): update golang:1.20 docker digest to 37c7d85 2023-08-10 08:09:42 +00:00
renovate[bot] 15ea5ff95d chore(docker): update alpine:3.18 docker digest to 7144f7b 2023-08-08 00:12:51 +00:00
renovate[bot] 504b283b4f chore(docker): update golang:1.20 docker digest to bc5f0b5 2023-08-02 04:04:07 +00:00
renovate[bot] f3bf86afdd chore(docker): update golang:1.20 docker digest to 010a0ff 2023-07-30 00:18:56 +00:00
renovate[bot] d01d2d0fe8 chore(docker): update golang:1.20 docker digest to 3952625 2023-07-29 07:20:42 +00:00
renovate[bot] 5fa1fa506f chore(docker): update golang:1.20 docker digest to cfc9d1b 2023-07-14 01:10:20 +00:00
renovate[bot] 96a91376d7 chore(docker): update golang:1.20 docker digest to 8e5a006 2023-07-12 00:24:29 +00:00
renovate[bot] 986e86cee5 chore(docker): update golang:1.20 docker digest to fd9306e 2023-07-06 04:32:34 +00:00
renovate[bot] ecc6dda490 chore(docker): update golang:1.20 docker digest to 20ee7c8 2023-07-05 13:18:24 +00:00
renovate[bot] 78df1a4ce4 chore(docker): update golang:1.20 docker digest to ff2cca5 2023-07-05 06:34:03 +00:00
renovate[bot] 18b82c9804 chore(docker): update golang:1.20 docker digest to 7954299 2023-07-05 00:30:38 +00:00
renovate[bot] 0fe87a4729 chore(docker): update golang:1.20 docker digest to 344193a 2023-06-24 06:40:40 +00:00
renovate[bot] c81d1c44f2 chore(docker): update golang:1.20 docker digest to 8f958bf 2023-06-22 13:09:46 +00:00
renovate[bot] 1ca8198b59 chore(docker): update golang:1.20 docker digest to 9d0422f 2023-06-22 07:11:57 +00:00
renovate[bot] ebfc9f11de chore(deps): update dependency golangci/golangci-lint to v1.53.3 2023-06-19 04:52:59 +00:00
renovate[bot] 1145757f42 chore(docker): update docker digests 2023-06-18 09:31:49 +00:00
renovate[bot] a55ac2050b chore(docker): update golang:1.20 docker digest to e7bb4d1 2023-06-14 17:45:01 +00:00
renovate[bot] c8783227c4 chore(docker): update golang:1.20 docker digest to f28300f 2023-06-14 06:25:40 +00:00
renovate[bot] 9b065af36f chore(docker): update golang:1.20 docker digest to 02d4d88 2023-06-14 00:29:20 +00:00
renovate[bot] bf048f2a5a chore(docker): update golang:1.20 docker digest to 4b1fc02 2023-06-07 01:36:58 +00:00
renovate[bot] 03b2f49618
chore(deps): update dependency golangci/golangci-lint to v1.53.2 (#99)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2023-06-05 09:54:50 +02:00
renovate[bot] 3379b5ccd3
chore(deps): update alpine docker tag to v3.18 (#95)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 15:27:19 +02:00
renovate[bot] c319b82cae chore(docker): update golang:1.20 docker digest to 690e413 2023-05-24 10:10:15 +00:00
renovate[bot] 978ebb76a2 chore(docker): update golang:1.20 docker digest to 3f1f050 2023-05-24 02:21:48 +00:00
renovate[bot] 29384cc52d chore(docker): update golang:1.20 docker digest to 685a22e 2023-05-10 06:17:39 +00:00
renovate[bot] 28e1df0957 chore(docker): update golang:1.20 docker digest to 31a8f92 2023-05-05 05:37:04 +00:00
renovate[bot] b6a8d2c928 chore(docker): update golang:1.20 docker digest to 4dd688d 2023-05-04 22:22:17 +00:00
renovate[bot] 8df21d3626 chore(docker): update golang:1.20 docker digest to 3b2c96d 2023-05-04 14:40:33 +00:00
Robert Kaussow 19635f6632
fix bare url in contribution file (#92) 2023-05-03 11:51:10 +02:00
renovate[bot] 833840583c chore(docker): update golang:1.20 docker digest to 403f486 2023-04-13 11:08:49 +00:00
renovate[bot] 07901e9cc0 chore(deps): update dependency mvdan/gofumpt to v0.5.0 2023-04-10 03:30:44 +00:00
renovate[bot] c839f0a7a6 chore(docker): update golang:1.20 docker digest to 23050c2 2023-04-04 23:49:21 +00:00
renovate[bot] 3709ad0d7a chore(docker): update alpine:3.17 docker digest to 124c7d2 2023-03-30 00:14:50 +00:00
renovate[bot] 9733fd36b0 chore(docker): update golang:1.20 docker digest to f709934 2023-03-28 03:52:16 +00:00
renovate[bot] 1d64536029 chore(deps): update dependency golangci/golangci-lint to v1.52.2 2023-03-27 06:11:39 +00:00
renovate[bot] 34a1934b80 chore(docker): update golang:1.20 docker digest to 1724dc3 2023-03-25 16:20:24 +00:00
renovate[bot] 52ae1c4213 chore(docker): update golang:1.20 docker digest to 80950aa 2023-03-24 08:27:32 +00:00
renovate[bot] cab01fd26c chore(docker): update golang:1.20 docker digest to 41a6cb5 2023-03-24 05:09:38 +00:00
renovate[bot] 9ee03bad29 chore(docker): update golang:1.20 docker digest to 8114f4a 2023-03-24 01:48:02 +00:00
renovate[bot] ba6db81342 chore(docker): update golang:1.20 docker digest to a13b5e3 2023-03-23 20:21:29 +00:00
renovate[bot] b6c1f75962
chore(deps): update dependency golangci/golangci-lint to v1.52.0 (#79) 2023-03-20 09:38:05 +01:00
renovate[bot] 7b56824286 chore(docker): update golang:1.20 docker digest to 5990c4f 2023-03-16 05:57:58 +00:00
renovate[bot] c45094d386 chore(docker): update alpine:3.17 docker digest to ff6bdca 2023-03-14 02:00:37 +00:00
renovate[bot] 09506cb399
fix(deps): update module github.com/alecthomas/kingpin/v2 to v2.3.2 (#75) 2023-03-09 20:48:05 +01:00
renovate[bot] 4a75f56246 chore(docker): update golang:1.20 docker digest to 74a3829 2023-03-08 07:31:01 +00:00
renovate[bot] 64fe3a8527 chore(docker): update golang:1.20 docker digest to 52921e6 2023-03-02 12:45:55 +00:00
renovate[bot] 539b8f1c6f chore(deps): update dependency golangci/golangci-lint to v1.51.2 2023-02-27 06:12:31 +00:00
renovate[bot] 2eeddf7736 chore(docker): update golang:1.20 docker digest to 2edf6aa 2023-02-16 07:03:00 +00:00
renovate[bot] 690445b801 chore(docker): update golang:1.20 docker digest to 9911e93 2023-02-15 09:36:14 +00:00
renovate[bot] d3d4c80762 chore(docker): update docker digests 2023-02-11 12:35:04 +00:00
renovate[bot] c325f59327 chore(docker): update golang:1.20 docker digest to 53b7958 2023-02-10 05:25:23 +00:00
Robert Kaussow 714851521e
ci: bump container build plugin to drone-docker-buildx:23 (#67) 2023-02-09 08:54:18 +01:00
10 changed files with 17 additions and 319 deletions

View File

@ -1,297 +0,0 @@
---
kind: pipeline
name: test
platform:
os: linux
arch: amd64
steps:
- name: deps
image: golang:1.20
commands:
- make deps
volumes:
- name: godeps
path: /go
- name: lint
image: golang:1.20
commands:
- make lint
volumes:
- name: godeps
path: /go
- name: test
image: golang:1.20
commands:
- make test
volumes:
- name: godeps
path: /go
volumes:
- name: godeps
temp: {}
trigger:
ref:
- refs/heads/main
- refs/tags/**
- refs/pull/**
---
kind: pipeline
name: build-binaries
platform:
os: linux
arch: amd64
steps:
- name: build
image: techknowlogick/xgo:go-1.20.x
commands:
- ln -s /drone/src /source
- make release
- name: executable
image: alpine
commands:
- $(find dist/ -executable -type f -iname ${DRONE_REPO_NAME}-linux-amd64) --help
- name: changelog-generate
image: thegeeklab/git-chglog
commands:
- git fetch -tq
- git-chglog --no-color --no-emoji -o CHANGELOG.md ${DRONE_TAG:---next-tag unreleased unreleased}
- name: changelog-format
image: thegeeklab/alpine-tools
commands:
- prettier CHANGELOG.md
- prettier -w CHANGELOG.md
- name: publish
image: plugins/github-release
settings:
api_key:
from_secret: github_token
files:
- dist/*
note: CHANGELOG.md
overwrite: true
title: ${DRONE_TAG}
when:
ref:
- refs/tags/**
trigger:
ref:
- refs/heads/main
- refs/tags/**
- refs/pull/**
depends_on:
- test
---
kind: pipeline
name: build-container
platform:
os: linux
arch: amd64
steps:
- name: dryrun
image: thegeeklab/drone-docker-buildx:20
settings:
dockerfile: Dockerfile.multiarch
dry_run: true
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
- linux/arm/v6
provenance: false
repo: thegeeklab/${DRONE_REPO_NAME}
when:
ref:
- refs/pull/**
- name: publish-dockerhub
image: thegeeklab/drone-docker-buildx:20
settings:
auto_tag: true
dockerfile: Dockerfile.multiarch
password:
from_secret: docker_password
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
- linux/arm/v6
provenance: false
repo: thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: docker_username
when:
ref:
- refs/heads/main
- refs/tags/**
depends_on:
- dryrun
- name: publish-quay
image: thegeeklab/drone-docker-buildx:20
settings:
auto_tag: true
dockerfile: Dockerfile.multiarch
password:
from_secret: quay_password
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
- linux/arm/v6
provenance: false
registry: quay.io
repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: quay_username
when:
ref:
- refs/heads/main
- refs/tags/**
depends_on:
- dryrun
trigger:
ref:
- refs/heads/main
- refs/tags/**
- refs/pull/**
depends_on:
- test
---
kind: pipeline
name: docs
platform:
os: linux
arch: amd64
concurrency:
limit: 1
steps:
- name: markdownlint
image: thegeeklab/markdownlint-cli
commands:
- markdownlint 'docs/content/**/*.md' 'README.md' 'CONTRIBUTING.md'
- name: spellcheck
image: thegeeklab/alpine-tools
commands:
- spellchecker --files '_docs/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions
environment:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error
- name: publish
image: thegeeklab/drone-git-action
settings:
action:
- pages
author_email: bot@thegeeklab.de
author_name: thegeeklab-bot
branch: docs
message: auto-update documentation
netrc_password:
from_secret: github_token
pages_directory: _docs/
when:
ref:
- refs/heads/main
trigger:
ref:
- refs/heads/main
- refs/tags/**
- refs/pull/**
depends_on:
- build-binaries
- build-container
---
kind: pipeline
name: notifications
platform:
os: linux
arch: amd64
steps:
- name: pushrm-dockerhub
image: chko/docker-pushrm:1
environment:
DOCKER_PASS:
from_secret: docker_password
DOCKER_USER:
from_secret: docker_username
PUSHRM_FILE: README.md
PUSHRM_SHORT: Custom Drone YAML formatter
PUSHRM_TARGET: thegeeklab/${DRONE_REPO_NAME}
when:
status:
- success
- name: pushrm-quay
image: chko/docker-pushrm:1
environment:
APIKEY__QUAY_IO:
from_secret: quay_token
PUSHRM_FILE: README.md
PUSHRM_TARGET: quay.io/thegeeklab/${DRONE_REPO_NAME}
when:
status:
- success
- name: matrix
image: thegeeklab/drone-matrix
settings:
homeserver:
from_secret: matrix_homeserver
password:
from_secret: matrix_password
roomid:
from_secret: matrix_roomid
template: "Status: **{{ .Build.Status }}**<br/> Build: [{{ .Repo.Owner }}/{{ .Repo.Name }}]({{ .Build.Link }}){{ if .Build.Branch }} ({{ .Build.Branch }}){{ end }} by {{ .Commit.Author }}<br/> Message: {{ .Commit.Message.Title }}"
username:
from_secret: matrix_username
when:
status:
- success
- failure
trigger:
ref:
- refs/heads/main
- refs/tags/**
status:
- success
- failure
depends_on:
- docs
---
kind: signature
hmac: 389d186257e2dbf4bcbcb9d6123842b0943ae91365094da8e7addcfabcba2e2b
...

View File

@ -16,7 +16,6 @@ linters:
- containedctx
- contextcheck
- decorder
- depguard
- dogsled
- dupl
- dupword

View File

@ -3,7 +3,7 @@
## Security
If you think you have found a **security issue**, please do not mention it in this repository.
Instead, send an email to security@thegeeklab.de with as many details as possible so it can be handled confidential.
Instead, send an email to `security@thegeeklab.de` with as many details as possible so it can be handled confidential.
## Bug Reports and Feature Requests

View File

@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.20@sha256:9be8859445523843084e09747a6f25aee06ce92d23ae320e28d7f101dd6a39e2 as build
FROM --platform=$BUILDPLATFORM golang:1.20@sha256:741d6f9bcab778441efe05c8e4369d4f8ff56c9a635a97d77f55d8b0ec62f907 as build
ARG TARGETOS
ARG TARGETARCH
@ -8,7 +8,7 @@ WORKDIR /src
RUN make build
FROM alpine:3.17@sha256:f271e74b17ced29b915d351685fd4644785c6d1559dd1f2d4189a5e851ef753a
FROM alpine:3.18@sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"

View File

@ -1,7 +1,7 @@
# renovate: datasource=github-releases depName=mvdan/gofumpt
GOFUMPT_PACKAGE_VERSION := v0.4.0
GOFUMPT_PACKAGE_VERSION := v0.5.0
# renovate: datasource=github-releases depName=golangci/golangci-lint
GOLANGCI_LINT_PACKAGE_VERSION := v1.51.1
GOLANGCI_LINT_PACKAGE_VERSION := v1.54.2
EXECUTABLE := drone-yaml

View File

@ -1,6 +1,6 @@
# drone-yaml
Custom Drone YAML formatter
DISCONTINUED: Custom Drone YAML formatter
[![Build Status](https://img.shields.io/drone/build/thegeeklab/drone-yaml?logo=drone&server=https%3A%2F%2Fdrone.thegeeklab.de)](https://drone.thegeeklab.de/thegeeklab/drone-yaml)
[![Docker Hub](https://img.shields.io/badge/dockerhub-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/thegeeklab/drone-yaml)
@ -10,6 +10,8 @@ Custom Drone YAML formatter
[![Source: GitHub](https://img.shields.io/badge/source-github-blue.svg?logo=github&logoColor=white)](https://github.com/thegeeklab/drone-yaml)
[![License: Apache-2.0](https://img.shields.io/github/license/thegeeklab/drone-yaml)](https://github.com/thegeeklab/drone-yaml/blob/main/LICENSE)
> **DISCONTINUED:** As I don't use Drone CI anymore, this project is unmaintained. If you are interested in a free and open source CI system check out [Woodpecker CI](https://woodpecker-ci.org/).
Custom linter and formatter for the [Drone](https://github.com/drone/drone) YAML configuration file format. You can find the full documentation at [https://drone-plugin-index.geekdocs.de](https://drone-plugin-index.geekdocs.de/tools/drone-yaml).
## Contributors

4
go.mod
View File

@ -3,7 +3,7 @@ module github.com/drone/drone-yaml
go 1.20
require (
github.com/alecthomas/kingpin/v2 v2.3.1
github.com/alecthomas/kingpin/v2 v2.3.2
github.com/bmatcuk/doublestar/v4 v4.6.0
github.com/docker/go-units v0.5.0
github.com/google/go-cmp v0.5.9
@ -13,6 +13,6 @@ require (
require (
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
github.com/kr/pretty v0.1.0 // indirect
github.com/xhit/go-str2duration v1.2.0 // indirect
github.com/xhit/go-str2duration/v2 v2.1.0 // indirect
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
)

14
go.sum
View File

@ -1,13 +1,11 @@
github.com/alecthomas/kingpin/v2 v2.3.1 h1:ANLJcKmQm4nIaog7xdr/id6FM6zm5hHnfZrvtKPxqGg=
github.com/alecthomas/kingpin/v2 v2.3.1/go.mod h1:oYL5vtsvEHZGHxU7DMp32Dvx+qL+ptGn6lWaot2vCNE=
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
github.com/alecthomas/kingpin/v2 v2.3.2 h1:H0aULhgmSzN8xQ3nX1uxtdlTHYoPLu5AhHxWrKI6ocU=
github.com/alecthomas/kingpin/v2 v2.3.2/go.mod h1:0gyi0zQnjuFk8xrkNKamJoyUo382HRL7ATRpFZCw6tE=
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 h1:s6gZFSlWYmbqAuRjVTiNNhvNRfY2Wxp9nhfyel4rklc=
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE=
github.com/bmatcuk/doublestar/v4 v4.6.0 h1:HTuxyug8GyFbRkrffIpzNCSK4luc0TY3wzXvzIZhEXc=
github.com/bmatcuk/doublestar/v4 v4.6.0/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTSPVIjEY1Wr7jzc=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4=
github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
@ -20,14 +18,14 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/xhit/go-str2duration v1.2.0 h1:BcV5u025cITWxEQKGWr1URRzrcXtu7uk8+luz3Yuhwc=
github.com/xhit/go-str2duration v1.2.0/go.mod h1:3cPSlfZlUHVlneIVfePFWcJZsuwf+P1v2SRTV4cUmp4=
github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc=
github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

View File

@ -1,4 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>thegeeklab/renovate-presets:golang"]
}

View File

@ -27,7 +27,7 @@ var ErrCyclicalPipelineDependency = errors.New("linter: cyclical pipeline depend
var ErrPipelineSelfDependency = errors.New("linter: pipeline cannot have a dependency on itself")
// Manifest performs lint operations for a manifest.
func Manifest(manifest *yaml.Manifest, trusted bool) error {
func Manifest(manifest *yaml.Manifest) error {
return checkPipelines(manifest)
}