-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mtojek
committed
May 23, 2022
1 parent
f057be5
commit 6223fff
Showing
13 changed files
with
69 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,3 +47,4 @@ func TestNewPackage(t *testing.T) { | |
}) | ||
} | ||
} | ||
|
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
3 changes: 3 additions & 0 deletions
3
code/go/internal/validator/testdata/fakespec/1/fake/beta/spec.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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
spec: | ||
additionalContents: true | ||
release: beta |
2 changes: 2 additions & 0 deletions
2
code/go/internal/validator/testdata/fakespec/1/fake/ga/spec.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
spec: | ||
additionalContents: true |
12 changes: 12 additions & 0 deletions
12
code/go/internal/validator/testdata/fakespec/1/fake/spec.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
spec: | ||
additionalContents: true | ||
contents: | ||
- description: Folder containing beta features | ||
type: folder | ||
name: beta | ||
$ref: "./beta/spec.yml" | ||
- description: Folder containing GA features | ||
type: folder | ||
name: ga | ||
required: true | ||
$ref: "./ga/spec.yml" |
Empty file.
6 changes: 6 additions & 0 deletions
6
code/go/internal/validator/testdata/packages/features_beta/changelog.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# newer versions go on top | ||
- version: "2.3.4" | ||
changes: | ||
- description: Initial draft of the package | ||
type: enhancement | ||
link: https://github.com/elastic/package-spec/pull/341 |
Empty file.
4 changes: 4 additions & 0 deletions
4
code/go/internal/validator/testdata/packages/features_beta/manifest.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
format_version: 1.0.0 | ||
name: features_beta | ||
version: 2.3.4 | ||
type: fake |
6 changes: 6 additions & 0 deletions
6
code/go/internal/validator/testdata/packages/features_ga/changelog.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# newer versions go on top | ||
- version: "1.2.3" | ||
changes: | ||
- description: Initial draft of the package | ||
type: enhancement | ||
link: https://github.com/elastic/package-spec/pull/341 |
Empty file.
4 changes: 4 additions & 0 deletions
4
code/go/internal/validator/testdata/packages/features_ga/manifest.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
format_version: 1.0.0 | ||
name: features_ga | ||
version: 1.2.3 | ||
type: fake |