Skip to content

Commit 3811fb9

Browse files
authored
[CI] Set 7.17 28 in test-stack-command-7x step pipeline (#2433)
Set Elastic stack version 7.17.28 for pipeline step test-stack-command-7x
1 parent 091c663 commit 3811fb9

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/updatecli/updatecli.d/bump-latest-7x-version.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@ scms:
2727
sources:
2828
latest7xSnapshot:
2929
name: Get latest 7.x snapshot
30-
kind: json
30+
kind: file
3131
spec:
32-
file: https://storage.googleapis.com/artifacts-api/snapshots/7.17.json
33-
key: .version
32+
file: https://storage.googleapis.com/artifacts-api/releases/current/7.17
33+
transformers:
34+
# Get only the version to avoid spaces and newlines.
35+
- findsubmatch:
36+
pattern: '([0-9\.]+)'
37+
captureindex: 1
3438

3539
targets:
3640
update-7x-version:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ test-stack-command-oldest:
6666
./scripts/test-stack-command.sh 7.14.2
6767

6868
test-stack-command-7x:
69-
./scripts/test-stack-command.sh 7.17.28-SNAPSHOT
69+
./scripts/test-stack-command.sh 7.17.28
7070

7171
# Keeping a test for 8.6 because it has an specific configuration file.
7272
test-stack-command-86:

0 commit comments

Comments
 (0)