Skip to content

Commit 4f0dfd1

Browse files
dependabot[bot]jsorianomergify[bot]
authored
Chore(deps): bump github.com/elastic/package-spec/v3 from 3.3.5 to 3.4.0 (#2616)
* Chore(deps): bump github.com/elastic/package-spec/v3 from 3.3.5 to 3.4.0 Bumps [github.com/elastic/package-spec/v3](https://github.com/elastic/package-spec) from 3.3.5 to 3.4.0. - [Release notes](https://github.com/elastic/package-spec/releases) - [Commits](elastic/package-spec@v3.3.5...v3.4.0) --- updated-dependencies: - dependency-name: github.com/elastic/package-spec/v3 dependency-version: 3.4.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Remove test code for non-GA content packages --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jaime Soriano Pastor <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent fc4de04 commit 4f0dfd1

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require (
1616
github.com/elastic/go-licenser v0.4.2
1717
github.com/elastic/go-resource v0.2.0
1818
github.com/elastic/go-ucfg v0.8.8
19-
github.com/elastic/package-spec/v3 v3.3.5
19+
github.com/elastic/package-spec/v3 v3.4.0
2020
github.com/fatih/color v1.18.0
2121
github.com/go-viper/mapstructure/v2 v2.2.1
2222
github.com/google/go-cmp v0.7.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ github.com/elastic/gojsonschema v1.2.1 h1:cUMbgsz0wyEB4x7xf3zUEvUVDl6WCz2RKcQPul
115115
github.com/elastic/gojsonschema v1.2.1/go.mod h1:biw5eBS2Z4T02wjATMRSfecfjCmwaDPvuaqf844gLrg=
116116
github.com/elastic/kbncontent v0.1.4 h1:GoUkJkqkn2H6iJTnOHcxEqYVVYyjvcebLQVaSR1aSvU=
117117
github.com/elastic/kbncontent v0.1.4/go.mod h1:kOPREITK9gSJsiw/WKe7QWSO+PRiZMyEFQCw+CMLAHI=
118-
github.com/elastic/package-spec/v3 v3.3.5 h1:D0AXRiTNcF8Ue8gLIafF/BLOk7V2yqSFVUy/p0fwArM=
119-
github.com/elastic/package-spec/v3 v3.3.5/go.mod h1:+q7JpjqBFnNVMmh9VAVfZdOxQ3EmdCD+KM8Cg6VhKgg=
118+
github.com/elastic/package-spec/v3 v3.4.0 h1:smilq7r7TNiyXSI9vJs2mqTv9+gGUCrfEmITOYwAdDA=
119+
github.com/elastic/package-spec/v3 v3.4.0/go.mod h1:utJSiN5B7Mr6cxOJoQ3FXUh4YcZqKd26dD/tZ21p8w8=
120120
github.com/emicklei/go-restful/v3 v3.11.0 h1:rAQeMHw1c7zTmncogyy8VvRZwtkmkZ4FxERmMY4rD+g=
121121
github.com/emicklei/go-restful/v3 v3.11.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
122122
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=

internal/packages/archetype/package_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"path/filepath"
99
"testing"
1010

11-
"github.com/Masterminds/semver/v3"
1211
"github.com/stretchr/testify/assert"
1312
"github.com/stretchr/testify/require"
1413

@@ -63,15 +62,6 @@ func createPackageDescriptorForTest(packageType, kibanaVersion string) PackageDe
6362
if err != nil {
6463
panic(err)
6564
}
66-
if packageType == "content" {
67-
minSpecVersion := semver.MustParse("3.4.0")
68-
if !specVersion.LessThan(minSpecVersion) {
69-
panic("this code can be removed")
70-
}
71-
version = "0.1.0"
72-
specVersion = *minSpecVersion
73-
excludeChecks = append(excludeChecks, "PSR00002")
74-
}
7565
return PackageDescriptor{
7666
Manifest: packages.PackageManifest{
7767
SpecVersion: specVersion.String(),

0 commit comments

Comments
 (0)