-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support to check subpackage naming standard
Signed-off-by: Dentrax <[email protected]>
- Loading branch information
Showing
3 changed files
with
51 additions
and
0 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
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
24 changes: 24 additions & 0 deletions
24
pkg/lint/testdata/files/version-stream-wrong-subpackage-naming-1.2.yaml
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,24 @@ | ||
package: | ||
name: version-stream-wrong-subpackage-naming-1.2 | ||
version: 1.2.3 | ||
epoch: 0 | ||
description: "a version-streamed package with no dependencies.provides" | ||
|
||
pipeline: | ||
- uses: fetch | ||
with: | ||
uri: https://test.com/version-stream-missing-provides/${{package.version}}.tar.gz | ||
expected-sha256: ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269 | ||
|
||
subpackages: | ||
- name: this-is-subpackage-of-version-stream-wrong-subpackage-naming-1.2 | ||
description: "a package with incorrect subpackage prefix" | ||
pipeline: | ||
- runs: exit 0 | ||
|
||
test: | ||
pipeline: | ||
- runs: "echo 'test'" | ||
|
||
update: | ||
enabled: true |