-
-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #1834 --------- Co-authored-by: 6543 <[email protected]> Co-authored-by: Anbraten <[email protected]> Co-authored-by: Lauris BH <[email protected]>
- Loading branch information
1 parent
9e0e62a
commit 1bc4415
Showing
35 changed files
with
152 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
depends_on: | ||
- test | ||
- web | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
when: | ||
- event: [pull_request, tag] | ||
- event: push | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
when: | ||
- event: tag | ||
- event: pull_request | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
steps: | ||
release-helper: | ||
image: woodpeckerci/plugin-ready-release-go:0.7.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
when: | ||
- event: [pull_request, cron] | ||
- event: push | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
when: | ||
- event: [pull_request, tag] | ||
- event: push | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
when: | ||
- event: [pull_request, tag] | ||
- event: push | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
version: 1 | ||
steps: | ||
demo: | ||
image: 'alpine' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
version: 1 | ||
steps: | ||
test_1: | ||
image: 'alpine' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-branches-array.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
branches: [main, pages] | ||
|
||
steps: | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-branches-exclude-include.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
branches: | ||
include: main | ||
exclude: [develop, feature/*] | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-branches.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
branches: main | ||
|
||
steps: | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-broken.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
branches: main | ||
|
||
matri: | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-clone-skip.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
steps: | ||
test: | ||
image: alpine | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-clone.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
clone: | ||
git: | ||
image: plugins/git:next | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-labels.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
labels: | ||
location: europe | ||
weather: sun | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-matrix.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
steps: | ||
test: | ||
image: golang:${GO_VERSION} | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-merge-map-and-sequence.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
variables: | ||
step_template: &base-step | ||
image: golang:1.19 | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-multi.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
steps: | ||
deploy: | ||
image: golang | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-pipeline-when.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
when: | ||
- branch: [main, deploy] | ||
event: push | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-platform.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
platform: linux/amd64 | ||
|
||
steps: | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-plugin.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
steps: | ||
build: | ||
image: golang | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-run-on.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
steps: | ||
build: | ||
image: golang | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-service.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
steps: | ||
build: | ||
image: golang | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-step.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
steps: | ||
image: | ||
image: golang | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-when.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
steps: | ||
when-branch: | ||
image: alpine | ||
|
2 changes: 2 additions & 0 deletions
2
pipeline/frontend/yaml/linter/schema/.woodpecker/test-workspace.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
|
||
workspace: | ||
base: /go | ||
path: src/github.com/octocat/hello-world | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright 2023 Woodpecker Authors | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package yaml | ||
|
||
// Version of this package and it's subpackages | ||
const Version = 1 |
Oops, something went wrong.