@@ -25,6 +25,13 @@ actions:
2525 title : ' [Automation] Bump EDOT versions'
2626
2727sources :
28+ latest-stack-version :
29+ name : Get latest Elastic Stack version
30+ kind : json
31+ spec :
32+ file : https://artifacts.elastic.co/releases/stack.json
33+ key : " releases.version"
34+
2835 latest-edot-android-version :
2936 name : Get latest release version for the apm-agent-android
3037 kind : githubrelease
@@ -48,7 +55,7 @@ sources:
4855 repository : elastic-agent
4956 token : ' {{ requiredEnv "GITHUB_TOKEN" }}'
5057 username : ' {{ requiredEnv "GITHUB_ACTOR" }}'
51- versionFilter :
58+ versionfilter :
5259 kind : regex
5360 pattern : " v9.(\\ d*).(\\ d*)$"
5461
@@ -101,7 +108,7 @@ sources:
101108 repository : elastic-otel-node
102109 token : ' {{ requiredEnv "GITHUB_TOKEN" }}'
103110 username : ' {{ requiredEnv "GITHUB_ACTOR" }}'
104- versionFilter :
111+ versionfilter :
105112 kind : regex
106113 pattern : " ^v(\\ d*).(\\ d*).(\\ d*)$"
107114
@@ -292,198 +299,178 @@ targets:
292299 name : ' Update config/versions.yml edot-android {{ source "latest-edot-android-version" }}'
293300 scmid : githubConfig
294301 sourceid : latest-edot-android-version
295- kind : file
302+ kind : yaml
296303 spec :
297304 file : config/versions.yml
298- matchpattern : ' (edot_android:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
299- replacepattern : ' $1 {{ source "latest-edot-android-version" }}'
305+ key : versioning_systems.edot_android.current
300306
301307 update-docs-docset-collector :
302308 name : ' Update config/versions.yml edot-collector {{ source "latest-edot-collector-version" }}'
303309 scmid : githubConfig
304310 sourceid : latest-edot-collector-version
305- kind : file
311+ kind : yaml
306312 spec :
307313 file : config/versions.yml
308- matchpattern : ' (edot_collector:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
309- replacepattern : ' $1 {{ source "latest-edot-collector-version" }}'
314+ key : versioning_systems.edot_collector.current
310315
311316 update-docs-docset-dotnet :
312317 name : ' Update config/versions.yml edot-dotnet {{ source "latest-edot-dotnet-version" }}'
313318 scmid : githubConfig
314319 sourceid : latest-edot-dotnet-version
315- kind : file
320+ kind : yaml
316321 spec :
317322 file : config/versions.yml
318- matchpattern : ' (edot_dotnet:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
319- replacepattern : ' $1 {{ source "latest-edot-dotnet-version" }}'
323+ key : versioning_systems.edot_dotnet.current
320324
321325 update-docs-docset-ios :
322326 name : ' Update config/versions.yml edot-ios {{ source "latest-edot-ios-version" }}'
323327 scmid : githubConfig
324328 sourceid : latest-edot-ios-version
325- kind : file
329+ kind : yaml
326330 spec :
327331 file : config/versions.yml
328- matchpattern : ' (edot_ios:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
329- replacepattern : ' $1 {{ source "latest-edot-ios-version" }}'
332+ key : versioning_systems.edot_ios.current
330333
331334 update-docs-docset-java :
332335 name : ' Update config/versions.yml edot-java {{ source "latest-edot-java-version" }}'
333336 scmid : githubConfig
334337 sourceid : latest-edot-java-version
335- kind : file
338+ kind : yaml
336339 spec :
337340 file : config/versions.yml
338- matchpattern : ' (edot_java:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
339- replacepattern : ' $1 {{ source "latest-edot-java-version" }}'
341+ key : versioning_systems.edot_java.current
340342
341343 update-docs-docset-node :
342344 name : ' Update config/versions.yml edot-node {{ source "latest-edot-node-version" }}'
343345 scmid : githubConfig
344346 sourceid : latest-edot-node-version
345- kind : file
347+ kind : yaml
346348 spec :
347349 file : config/versions.yml
348- matchpattern : ' (edot_node:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
349- replacepattern : ' $1 {{ source "latest-edot-node-version" }}'
350+ key : versioning_systems.edot_node.current
350351
351352 update-docs-docset-php :
352353 name : ' Update config/versions.yml edot-php {{ source "latest-edot-php-version" }}'
353354 scmid : githubConfig
354355 sourceid : latest-edot-php-version
355- kind : file
356+ kind : yaml
356357 spec :
357358 file : config/versions.yml
358- matchpattern : ' (edot_php:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
359- replacepattern : ' $1 {{ source "latest-edot-php-version" }}'
359+ key : versioning_systems.edot_php.current
360360
361361 update-docs-docset-python :
362362 name : ' Update config/versions.yml edot-python {{ source "latest-edot-python-version" }}'
363363 scmid : githubConfig
364364 sourceid : latest-edot-python-version
365- kind : file
365+ kind : yaml
366366 spec :
367367 file : config/versions.yml
368- matchpattern : ' (edot_python:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
369- replacepattern : ' $1 {{ source "latest-edot-python-version" }}'
368+ key : versioning_systems.edot_python.current
370369
371370 update-docs-docset-ece :
372371 name : ' Update config/versions.yml ece {{ source "latest-ece-version" }}'
373372 scmid : githubConfig
374373 sourceid : latest-ece-version
375- kind : file
374+ kind : yaml
376375 spec :
377376 file : config/versions.yml
378- matchpattern : ' (ece:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
379- replacepattern : ' $1 {{ source "latest-ece-version" }}'
377+ key : versioning_systems.ece.current
380378
381379 update-docs-docset-eck :
382380 name : ' Update config/versions.yml eck {{ source "latest-eck-version" }}'
383381 scmid : githubConfig
384382 sourceid : latest-eck-version
385- kind : file
383+ kind : yaml
386384 spec :
387385 file : config/versions.yml
388- matchpattern : ' (eck:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
389- replacepattern : ' $1 {{ source "latest-eck-version" }}'
386+ key : versioning_systems.eck.current
390387
391388 update-docs-docset-ecctl :
392389 name : ' Update config/versions.yml ecctl {{ source "latest-ecctl-version" }}'
393390 scmid : githubConfig
394391 sourceid : latest-ecctl-version
395- kind : file
392+ kind : yaml
396393 spec :
397394 file : config/versions.yml
398- matchpattern : ' (ecctl:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
399- replacepattern : ' $1 {{ source "latest-ecctl-version" }}'
395+ key : versioning_systems.ecctl.current
400396
401397 update-docs-docset-curator :
402398 name : ' Update config/versions.yml curator {{ source "latest-curator-version" }}'
403399 scmid : githubConfig
404400 sourceid : latest-curator-version
405- kind : file
401+ kind : yaml
406402 spec :
407403 file : config/versions.yml
408- matchpattern : ' (curator:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
409- replacepattern : ' $1 {{ source "latest-curator-version" }}'
404+ key : versioning_systems.curator.current
410405
411406 update-docs-docset-apm-agent-dotnet :
412407 name : ' Update config/versions.yml apm_agent_dotnet {{ source "latest-apm-agent-dotnet-version" }}'
413408 scmid : githubConfig
414409 sourceid : latest-apm-agent-dotnet-version
415- kind : file
410+ kind : yaml
416411 spec :
417412 file : config/versions.yml
418- matchpattern : ' (apm_agent_dotnet:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
419- replacepattern : ' $1 {{ source "latest-apm-agent-dotnet-version" }}'
413+ key : versioning_systems.apm_agent_dotnet.current
420414
421415 update-docs-docset-apm-agent-go :
422416 name : ' Update config/versions.yml apm_agent_go {{ source "latest-apm-agent-go-version" }}'
423417 scmid : githubConfig
424418 sourceid : latest-apm-agent-go-version
425- kind : file
419+ kind : yaml
426420 spec :
427421 file : config/versions.yml
428- matchpattern : ' (apm_agent_go:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
429- replacepattern : ' $1 {{ source "latest-apm-agent-go-version" }}'
422+ key : versioning_systems.apm_agent_go.current
430423
431424 update-docs-docset-apm-agent-java :
432425 name : ' Update config/versions.yml apm_agent_java {{ source "latest-apm-agent-java-version" }}'
433426 scmid : githubConfig
434427 sourceid : latest-apm-agent-java-version
435- kind : file
428+ kind : yaml
436429 spec :
437430 file : config/versions.yml
438- matchpattern : ' (apm_agent_java:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
439- replacepattern : ' $1 {{ source "latest-apm-agent-java-version" }}'
431+ key : versioning_systems.apm_agent_java.current
440432
441433 update-docs-docset-apm-agent-node :
442434 name : ' Update config/versions.yml apm_agent_node {{ source "latest-apm-agent-node-version" }}'
443435 scmid : githubConfig
444436 sourceid : latest-apm-agent-node-version
445- kind : file
437+ kind : yaml
446438 spec :
447439 file : config/versions.yml
448- matchpattern : ' (apm_agent_node:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
449- replacepattern : ' $1 {{ source "latest-apm-agent-node-version" }}'
440+ key : versioning_systems.apm_agent_node.current
450441
451442 update-docs-docset-apm-agent-php :
452443 name : ' Update config/versions.yml apm_agent_php {{ source "latest-apm-agent-php-version" }}'
453444 scmid : githubConfig
454445 sourceid : latest-apm-agent-php-version
455- kind : file
446+ kind : yaml
456447 spec :
457448 file : config/versions.yml
458- matchpattern : ' (apm_agent_php:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
459- replacepattern : ' $1 {{ source "latest-apm-agent-php-version" }}'
449+ key : versioning_systems.apm_agent_php.current
460450
461451 update-docs-docset-apm-agent-python :
462452 name : ' Update config/versions.yml apm_agent_python {{ source "latest-apm-agent-python-version" }}'
463453 scmid : githubConfig
464454 sourceid : latest-apm-agent-python-version
465- kind : file
455+ kind : yaml
466456 spec :
467457 file : config/versions.yml
468- matchpattern : ' (apm_agent_python:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
469- replacepattern : ' $1 {{ source "latest-apm-agent-python-version" }}'
458+ key : versioning_systems.apm_agent_python.current
470459
471460 update-docs-docset-apm-agent-ruby :
472461 name : ' Update config/versions.yml apm_agent_ruby {{ source "latest-apm-agent-ruby-version" }}'
473462 scmid : githubConfig
474463 sourceid : latest-apm-agent-ruby-version
475- kind : file
464+ kind : yaml
476465 spec :
477466 file : config/versions.yml
478- matchpattern : ' (apm_agent_ruby:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
479- replacepattern : ' $1 {{ source "latest-apm-agent-ruby-version" }}'
467+ key : versioning_systems.apm_agent_ruby.current
480468
481469 update-docs-docset-apm-agent-rum :
482470 name : ' Update config/versions.yml apm_agent_rum {{ source "latest-apm-agent-rum-version" }}'
483471 scmid : githubConfig
484472 sourceid : latest-apm-agent-rum-version
485- kind : file
473+ kind : yaml
486474 spec :
487475 file : config/versions.yml
488- matchpattern : ' (apm_agent_rum:\s+base:\s+[\d\.]+\s+current:)\s+(.+)'
489- replacepattern : ' $1 {{ source "latest-apm-agent-rum-version" }}'
476+ key : versioning_systems.apm_agent_rum.current
0 commit comments