Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Sync CI configuration with main branch
  • Loading branch information
mrodm committed Sep 9, 2026
commit ffaafb40f67f4696b842998a1fcbfbdaec7bf3c1
2 changes: 1 addition & 1 deletion .buildkite/pipeline.backport-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ steps:
- ".backports.yml"
- ".buildkite/scripts/run_dev_scripts_tests.sh"
- "dev/scripts/**.sh"
- "dev/backports/**"
- "cmd/backport/**"
if: |
build.env('BUILDKITE_PULL_REQUEST') == "false" && build.branch == "main"

Expand Down
2 changes: 2 additions & 0 deletions .buildkite/pipeline.serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ env:
ELASTIC_PACKAGE_DISABLE_ELASTIC_AGENT_WOLFI: "${ELASTIC_PACKAGE_DISABLE_ELASTIC_AGENT_WOLFI:-false}"
# Disable checking for newer versions
ELASTIC_PACKAGE_CHECK_UPDATE_DISABLED: "true"
# Required to install packages via API even if they are already present in EPR (only available in QA)
ELASTIC_PACKAGE_SERVERLESS_KIBANA_SKIP_UPLOAD_PACKAGE_VALIDATION: "true"

steps:
- input: "Input values for the variables"
Expand Down
18 changes: 17 additions & 1 deletion .buildkite/scripts/backport_branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,20 @@ updateBackportBranchContents() {
# it with sed, which rewrites only that line and leaves blank lines intact — yq -i
# rewrites the whole file and strips empty lines as a side effect.
local pipeline_yml="${BUILDKITE_FOLDER_PATH}/pipeline.yml"
local pipeline_serverless_yml="${BUILDKITE_FOLDER_PATH}/pipeline.serverless.yml"
local k8s_version_line=""
local kind_version_line=""
local serverless_k8s_version_line=""
local serverless_kind_version_line=""
if [ -f "${pipeline_yml}" ]; then
k8s_version_line=$(grep -E '^\s*K8S_VERSION:' "${pipeline_yml}" || true)
kind_version_line=$(grep -E '^\s*KIND_VERSION:' "${pipeline_yml}" || true)
echo "Preserving from backport branch: ${k8s_version_line}, ${kind_version_line}"
echo "Preserving from backport branch (pipeline.yml): ${k8s_version_line}, ${kind_version_line}"
fi
Comment on lines 159 to +163
if [ -f "${pipeline_serverless_yml}" ]; then
serverless_k8s_version_line=$(grep -E '^\s*K8S_VERSION:' "${pipeline_serverless_yml}" || true)
serverless_kind_version_line=$(grep -E '^\s*KIND_VERSION:' "${pipeline_serverless_yml}" || true)
echo "Preserving from backport branch (pipeline.serverless.yml): ${serverless_k8s_version_line}, ${serverless_kind_version_line}"
fi

echo "--- Copying $BUILDKITE_FOLDER_PATH from $SOURCE_BRANCH..."
Expand All @@ -172,6 +180,14 @@ updateBackportBranchContents() {
echo "--- Restoring KIND_VERSION in ${pipeline_yml}..."
sed -i "s|^\s*KIND_VERSION:.*|${kind_version_line}|" "${pipeline_yml}"
fi
if [ -n "${serverless_k8s_version_line}" ]; then
echo "--- Restoring K8S_VERSION in ${pipeline_serverless_yml}..."
sed -i "s|^\s*K8S_VERSION:.*|${serverless_k8s_version_line}|" "${pipeline_serverless_yml}"
fi
if [ -n "${serverless_kind_version_line}" ]; then
echo "--- Restoring KIND_VERSION in ${pipeline_serverless_yml}..."
sed -i "s|^\s*KIND_VERSION:.*|${serverless_kind_version_line}|" "${pipeline_serverless_yml}"
fi

git add $BUILDKITE_FOLDER_PATH

Expand Down
16 changes: 13 additions & 3 deletions .buildkite/scripts/test_integrations_with_serverless.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,19 @@ if [[ "${FORCE_CHECK_ALL}" == "true" ]] || echo "${changed_files}" | pr_has_pack
else
PACKAGE_LIST=$(
{
echo "${changed_files}" | grep -oE '^packages/[^/]+' | sort -u || true
echo "${changed_files}" | grep -oE '^\.buildkite/scripts/packages/[^/]+\.sh' \
| sed 's|^\.buildkite/scripts/||; s|\.sh$||' || true
# Use list_all_directories (mage listPackages) instead of grepping ^packages/[^/]+
# directly from the diff output: the regex would only capture the first path segment
# and break for nested packages (e.g. packages/technology/foo → packages/technology,
# which has no manifest.yml). mage listPackages discovers valid package roots at any
# depth via WalkDir, so we cross-reference its output against the changed files.
all_pkgs=$(list_all_directories)
while IFS= read -r pkg_path; do
if echo "${changed_files}" | grep -q "^${pkg_path}/"; then
echo "${pkg_path}"
elif echo "${changed_files}" | grep -q "^\.buildkite/scripts/${pkg_path}\.sh$"; then
echo "${pkg_path}"
fi
done <<< "${all_pkgs}"
} | sort -u | grep -v '^$' || true
)
echo "Packages affected by diff: $(echo "${PACKAGE_LIST}" | tr '\n' ' ')"
Expand Down
16 changes: 13 additions & 3 deletions .buildkite/scripts/trigger_integrations_in_parallel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,19 @@ if [[ "${FORCE_CHECK_ALL}" == "true" ]] || echo "${changed_files}" | pr_has_pack
else
PACKAGE_LIST=$(
{
echo "${changed_files}" | grep -oE '^packages/[^/]+' | sort -u || true
echo "${changed_files}" | grep -oE '^\.buildkite/scripts/packages/[^/]+\.sh' \
| sed 's|^\.buildkite/scripts/||; s|\.sh$||' || true
# Use list_all_directories (mage listPackages) instead of grepping ^packages/[^/]+
# directly from the diff output: the regex would only capture the first path segment
# and break for nested packages (e.g. packages/technology/foo → packages/technology,
# which has no manifest.yml). mage listPackages discovers valid package roots at any
# depth via WalkDir, so we cross-reference its output against the changed files.
all_pkgs=$(list_all_directories)
while IFS= read -r pkg_path; do
if echo "${changed_files}" | grep -q "^${pkg_path}/"; then
echo "${pkg_path}"
elif echo "${changed_files}" | grep -q "^\.buildkite/scripts/${pkg_path}\.sh$"; then
echo "${pkg_path}"
fi
done <<< "${all_pkgs}"
} | sort -u | grep -v '^$' || true
)
echo "Packages affected by diff: $(echo "${PACKAGE_LIST}" | tr '\n' ' ')"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ jobs:
run: |
PERMISSION=$(gh api "repos/$REPOSITORY/collaborators/$ACTOR/permission" \
--jq '.permission' 2>/dev/null || echo "none")
if [[ "$PERMISSION" == "write" || "$PERMISSION" == "admin" ]]; then
if [[ "$PERMISSION" == "write" || "$PERMISSION" == "maintain" || "$PERMISSION" == "admin" ]]; then
echo "permitted=true" >> "$GITHUB_OUTPUT"
else
echo "Actor $ACTOR lacks write/admin permission ($PERMISSION) — skipping"
echo "Actor $ACTOR lacks write/maintain/admin permission ($PERMISSION) — skipping"
fi

- name: Resolve merge SHA and PR metadata
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-backport-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ jobs:
run: |
PERMISSION=$(gh api "repos/$REPOSITORY/collaborators/$ACTOR/permission" \
--jq '.permission' 2>/dev/null || echo "none")
if [[ "$PERMISSION" == "write" || "$PERMISSION" == "admin" ]]; then
if [[ "$PERMISSION" == "write" || "$PERMISSION" == "maintain" || "$PERMISSION" == "admin" ]]; then
echo "permitted=true" >> "$GITHUB_OUTPUT"
else
echo "Actor $ACTOR lacks write/admin permission ($PERMISSION) — skipping"
echo "Actor $ACTOR lacks write/maintain/admin permission ($PERMISSION) — skipping"
fi

- name: Resolve PR metadata
Expand Down
2 changes: 1 addition & 1 deletion cmd/backport/backports/apply/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type Result struct {
OwnerSyncWarning string `json:"owner_sync_warning,omitempty"` // non-empty when owner sync was skipped
}

// branchRE matches valid backport branch names (mirrors dev/backports/inventory.go).
// branchRE matches valid backport branch names (mirrors cmd/backport/backports/inventory.go).
var branchRE = regexp.MustCompile(`^backport-[a-zA-Z0-9_]+-[0-9][0-9.]*x?$`)

// applier holds the shared git context used by the apply pipeline steps.
Expand Down
2 changes: 1 addition & 1 deletion cmd/backport/backports/apply/apply_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ func TestSetManifestOwner(t *testing.T) {
}

// The CODEOWNERS-rewriting logic itself is tested directly in
// dev/backports/owners (owners.ApplyUpdates) — writeOwnerSyncPlan is a thin
// cmd/backport/backports/owners (owners.ApplyUpdates) — writeOwnerSyncPlan is a thin
// file-I/O wrapper around it plus setManifestOwner, tested here.
func TestWriteOwnerSyncPlan(t *testing.T) {
workDir := t.TempDir()
Expand Down
2 changes: 1 addition & 1 deletion cmd/backport/backports/owners/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type Mismatch struct {

// CheckPackages reports owner mismatches for each named package against
// remoteRef (e.g. "origin/main"). pkgDirs maps package name to its directory
// relative to workDir (e.g. from dev/backports/changelog.BuildPackageIndex);
// relative to workDir (e.g. from cmd/backport/backports/changelog.BuildPackageIndex);
// a name absent from pkgDirs (the package was removed in this PR) is
// silently skipped, same as a package Compare reports as not found on
// remoteRef.
Expand Down
4 changes: 2 additions & 2 deletions cmd/backport/backports/packages/detect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func TestDetectPackages(t *testing.T) {

result, err := DetectPackages([]string{
".buildkite/scripts/common.sh",
"dev/backports/inventory.go",
"cmd/backport/backports/inventory.go",
}, pkgs)
require.NoError(t, err)
assert.Empty(t, result)
Expand Down Expand Up @@ -129,7 +129,7 @@ func TestDetectPackages(t *testing.T) {
result, err := DetectPackages([]string{
".github/workflows/test.yml",
filepath.Join(pkgs, "aws", "changelog.yml"),
"dev/backports/inventory.go",
"cmd/backport/backports/inventory.go",
}, pkgs)
require.NoError(t, err)
assert.Equal(t, []string{"aws"}, result)
Expand Down
4 changes: 2 additions & 2 deletions cmd/backport/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.26.0

require (
github.com/Masterminds/semver/v3 v3.5.0
github.com/cli/go-gh/v2 v2.13.0
github.com/cli/go-gh/v2 v2.16.0
github.com/elastic/go-licenser v0.4.2
github.com/elastic/go-ucfg v0.9.1
github.com/magefile/mage v1.17.2
Expand All @@ -14,7 +14,7 @@ require (
)

require (
github.com/cli/safeexec v1.0.0 // indirect
github.com/cli/safeexec v1.0.1 // indirect
github.com/kr/text v0.2.0 // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
golang.org/x/mod v0.39.0 // indirect
Expand Down
36 changes: 20 additions & 16 deletions cmd/backport/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,24 @@ github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiE
github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8=
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc h1:4pZI35227imm7yK2bGPcfpFEmuY1gc2YSTShr4iJBfs=
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc/go.mod h1:X4/0JoqgTIPSFcRA/P6INZzIuyqdFY5rm8tb41s9okk=
github.com/charmbracelet/lipgloss v1.1.1-0.20250319133953-166f707985bc h1:nFRtCfZu/zkltd2lsLUPlVNv3ej/Atod9hcdbRZtlys=
github.com/charmbracelet/lipgloss v1.1.1-0.20250319133953-166f707985bc/go.mod h1:aKC/t2arECF6rNOnaKaVU6y4t4ZeHQzqfxedE/VkVhA=
github.com/charmbracelet/lipgloss v1.1.1-0.20250404203927-76690c660834 h1:ZR7e0ro+SZZiIZD7msJyA+NjkCNNavuiPBLgerbOziE=
github.com/charmbracelet/lipgloss v1.1.1-0.20250404203927-76690c660834/go.mod h1:aKC/t2arECF6rNOnaKaVU6y4t4ZeHQzqfxedE/VkVhA=
github.com/charmbracelet/x/ansi v0.8.0 h1:9GTq3xq9caJW8ZrBTe0LIe2fvfLR/bYXKTx2llXn7xE=
github.com/charmbracelet/x/ansi v0.8.0/go.mod h1:wdYl/ONOLHLIVmQaxbIYEC/cRKOQyjTkowiI4blgS9Q=
github.com/charmbracelet/x/cellbuf v0.0.13 h1:/KBBKHuVRbq1lYx5BzEHBAFBP8VcQzJejZ/IA3iR28k=
github.com/charmbracelet/x/cellbuf v0.0.13/go.mod h1:xe0nKWGd3eJgtqZRaN9RjMtK7xUYchjzPr7q6kcvCCs=
github.com/charmbracelet/x/term v0.2.1 h1:AQeHeLZ1OqSXhrAWpYUtZyX1T3zVxfpZuEQMIQaGIAQ=
github.com/charmbracelet/x/term v0.2.1/go.mod h1:oQ4enTYFV7QN4m0i9mzHrViD7TQKvNEEkHUMCmsxdUg=
github.com/cli/go-gh/v2 v2.13.0 h1:jEHZu/VPVoIJkciK3pzZd3rbT8J90swsK5Ui4ewH1ys=
github.com/cli/go-gh/v2 v2.13.0/go.mod h1:Us/NbQ8VNM0fdaILgoXSz6PKkV5PWaEzkJdc9vR2geM=
github.com/cli/safeexec v1.0.0 h1:0VngyaIyqACHdcMNWfo6+KdUYnqEr2Sg+bSP1pdF+dI=
github.com/cli/safeexec v1.0.0/go.mod h1:Z/D4tTN8Vs5gXYHDCbaM1S/anmEDnJb1iW0+EJ5zx3Q=
github.com/cli/go-gh/v2 v2.16.0 h1:xaePUubgeuj4wKz87NIo+zFQtuB6566K8cAGTh0Ctjc=
github.com/cli/go-gh/v2 v2.16.0/go.mod h1:OaJTFtHJapQq670h/3L0vqm4NwZGoJmSAVctWiY+3pQ=
github.com/cli/safeexec v1.0.1 h1:e/C79PbXF4yYTN/wauC4tviMxEV13BwljGj0N9j+N00=
github.com/cli/safeexec v1.0.1/go.mod h1:Z/D4tTN8Vs5gXYHDCbaM1S/anmEDnJb1iW0+EJ5zx3Q=
github.com/cli/shurcooL-graphql v0.0.4 h1:6MogPnQJLjKkaXPyGqPRXOI2qCsQdqNfUY1QSJu2GuY=
github.com/cli/shurcooL-graphql v0.0.4/go.mod h1:3waN4u02FiZivIV+p1y4d0Jo1jc6BViMA73C+sZo2fk=
github.com/clipperhouse/stringish v0.1.1 h1:+NSqMOr3GR6k1FdRhhnXrLfztGzuG+VuFDfatpWHKCs=
github.com/clipperhouse/stringish v0.1.1/go.mod h1:v/WhFtE1q0ovMta2+m+UbpZ+2/HEXNWYXQgCt4hdOzA=
github.com/clipperhouse/uax29/v2 v2.3.0 h1:SNdx9DVUqMoBuBoW3iLOj4FQv3dN5mDtuqwuhIGpJy4=
github.com/clipperhouse/uax29/v2 v2.3.0/go.mod h1:Wn1g7MK6OoeDT0vL+Q0SQLDz/KpfsVRgg6W7ihQeh4g=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand All @@ -27,8 +31,8 @@ github.com/elastic/go-ucfg v0.9.1 h1:OwbVLC9pAmHqlBDq5owRC7HbfldsLuqPqrwg23n17BQ
github.com/elastic/go-ucfg v0.9.1/go.mod h1:6Z66LNkFK5xAlWg3Ny7qgtrvBUadaAcor+kYxw2pXBk=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/henvic/httpretty v0.0.6 h1:JdzGzKZBajBfnvlMALXXMVQWxWMF/ofTy8C3/OSUTxs=
github.com/henvic/httpretty v0.0.6/go.mod h1:X38wLjWXHkXT7r2+uK8LjCMne9rsuNaBLJ+5cU2/Pmo=
github.com/henvic/httpretty v0.2.0 h1:U4pKgF9SV4uRrE/7PF85TVnCJxXA91zKFpYU0iFwFOw=
github.com/henvic/httpretty v0.2.0/go.mod h1:4LSlqxtJoYd+gt1lsqh9omUUziIVwoVsxdW15hZHTcI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
Expand All @@ -37,8 +41,8 @@ github.com/magefile/mage v1.17.2 h1:fyXVu1eadI8Ap1HCCNgEhJ5McIWiYhLR8uol64ZZc40=
github.com/magefile/mage v1.17.2/go.mod h1:Yj51kqllmsgFpvvSzgrZPK9WtluG3kUhFaBUVLo4feA=
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc=
github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
github.com/mattn/go-runewidth v0.0.19 h1:v++JhqYnZuu5jSKrk9RbgF5v4CGUjqRfBm05byFGLdw=
github.com/mattn/go-runewidth v0.0.19/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs=
github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s=
github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8=
github.com/muesli/termenv v0.16.0 h1:S5AlUN9dENB57rsbnkPyfdGuWIlkmzJjbFf0Tf5FWUc=
Expand All @@ -49,8 +53,8 @@ github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE=
github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg=
github.com/thlib/go-timezone-local v0.0.0-20210907160436-ef149e42d28e h1:BuzhfgfWQbX0dWzYzT1zsORLnHRv3bcRcsaUk0VmXA8=
github.com/thlib/go-timezone-local v0.0.0-20210907160436-ef149e42d28e/go.mod h1:/Tnicc6m/lsJE0irFMA0LfIwTBo4QP7A8IfyIv4zZKI=
github.com/thlib/go-timezone-local v0.0.8 h1:wPh1JtBHBqAKmYjHD4j6GbQMGGbOOOnB6YRMQUTzYAY=
github.com/thlib/go-timezone-local v0.0.8/go.mod h1:/Tnicc6m/lsJE0irFMA0LfIwTBo4QP7A8IfyIv4zZKI=
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavMF/ppJZNG9ZpyihvCd0w101no=
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM=
go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw=
Expand All @@ -63,10 +67,10 @@ golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs=
golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5 h1:ZUSxONxc981v7AW7QUg+I9WwZzSTTJ019ENBYr5pV/Q=
golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5/go.mod h1:LVehoXe41cL5SCVQilsV7Gg6BNG+Js6P9PhSbYTIUkQ=
golang.org/x/term v0.30.0 h1:PQ39fJZ+mfadBm0y5WlL4vlM7Sx1Hgf13sMIY2+QS9Y=
golang.org/x/term v0.30.0/go.mod h1:NYYFdzHoI5wRh/h5tDMdMqCqPJZEuNqVR5xJLd/n67g=
golang.org/x/text v0.23.0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY=
golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4=
golang.org/x/term v0.45.0 h1:NwWyBmoJCbfTHpxrWoZ9C6/VxOf7ic219I8xZZFdrf0=
golang.org/x/term v0.45.0/go.mod h1:9aqxs0blBcrm/n0L9QW0aRVD+ktan8ssZromtqJC43w=
golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8=
golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M=
golang.org/x/tools v0.49.0 h1:3NI7VXzL9+1WZD52Dx2ttoPwD5DWrFGpl9mFZDlmisI=
golang.org/x/tools v0.49.0/go.mod h1:SJNXV9DBKT0UbdttsQjbfJlAE/q+y36++zo3uL3N0Oo=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand Down
2 changes: 1 addition & 1 deletion dev/citools/kibana_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestKibanaConstraintPackage(t *testing.T) {
expected *semver.Constraints
}{
{
title: "kibana constrasint defined",
title: "kibana constraint defined",
contents: `name: "version"
conditions:
kibana:
Expand Down
4 changes: 1 addition & 3 deletions dev/citools/logsdb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestIsVersionLessThanLogsDBGA(t *testing.T) {
expected: true,
},
{
title: "greater or equal than LogsSB GA",
title: "greater or equal than LogsDB GA",
version: semver.MustParse("8.17.0"),
expected: false,
},
Expand All @@ -38,7 +38,6 @@ func TestIsVersionLessThanLogsDBGA(t *testing.T) {
assert.Equal(t, c.expected, value)
})
}

}

func TestIsLogsDBSupportedInPackage(t *testing.T) {
Expand Down Expand Up @@ -100,5 +99,4 @@ conditions:
}
})
}

}
Loading