Skip to content

Commit 8ee8070

Browse files
jsorianomrodm
andauthored
Release content packages as GA (#841)
Remove the beta tag for content packages and update tests accordingly. Co-authored-by: Mario Rodriguez Molins <marrodmo@gmail.com>
1 parent 6cad88c commit 8ee8070

7 files changed

Lines changed: 24 additions & 7 deletions

File tree

.buildkite/pipeline.trigger.compliance.tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ steps:
2828
EOF
2929

3030
# Generate each test we want to do.
31-
compliance_test 8.16.0-SNAPSHOT 3.3.0
32-
compliance_test 8.15.0 3.2.3
31+
compliance_test 8.17.0-SNAPSHOT 3.3.1
32+
compliance_test 8.16.0 3.3.0
3333
compliance_test 8.14.0 3.1.5
3434
compliance_test 8.9.0 2.7.0
3535

compliance/features/basic.feature

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ Feature: Basic package types support
1212
Given the "basic_input" package is installed
1313
And a policy is created with "basic_input" package, "test" template, "test" input, "logfile" input type and dataset "spec.input_test"
1414
Then there is an index template "logs-spec.input_test" with pattern "logs-spec.input_test-*"
15+
16+
@3.3.0
17+
Scenario: Content package can be installed
18+
Given the "good_content" package is installed
19+
#Then there are no errors.

spec/changelog.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
- description: Expand support to internal and external configuration_links defined in kibana manifest.
2525
type: enhancement
2626
link: https://github.com/elastic/package-spec/pull/844
27+
- description: Release content packages as GA.
28+
type: enhancement
29+
link: https://github.com/elastic/package-spec/pull/841
2730
- version: 3.3.0
2831
changes:
2932
- description: Add support for content packages.

spec/content/spec.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ spec:
1111
sizeLimit: 150MB
1212
configurationSizeLimit: 5MB
1313
relativePathSizeLimit: 3MB
14-
release: beta
1514
contents:
1615
- description: The main package manifest file
1716
type: file
@@ -54,6 +53,11 @@ spec:
5453
$ref: "../integration/validation.spec.yml"
5554

5655
versions:
56+
- before: 3.3.1
57+
patch:
58+
- op: add
59+
path: "/release"
60+
value: "beta"
5761
- before: 3.3.0
5862
patch:
5963
- op: remove

test/packages/good_content/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
- version: 1.0.0
2+
changes:
3+
- description: GA release
4+
type: enhancement
5+
link: https://github.com/elastic/package-spec/pull/841
16
- version: 0.1.0
27
changes:
38
- description: Initial release

test/packages/good_content/manifest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
format_version: 3.4.0
1+
format_version: 3.3.1
22
name: good_content
33
title: Good content package
44
description: >
55
This package is a dummy example for packages with the content type.
66
These packages contain resources that are useful with data ingested by other integrations.
77
They are not used to configure data sources.
8-
version: 0.1.0
8+
version: 1.0.0
99
type: content
1010
source:
1111
license: "Apache-2.0"
1212
conditions:
1313
kibana:
14-
version: '^8.16.0' #TBD
14+
version: '^8.16.0'
1515
elastic:
1616
subscription: 'basic'
1717
discovery:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
errors:
22
exclude_checks:
3-
- PSR00002 # Allow to use non-GA features.
3+
- PSR00001 # Allow to release GA package version with non-GA spec version.

0 commit comments

Comments
 (0)