mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
43 lines
910 B
Plaintext
43 lines
910 B
Plaintext
"""
|
|
This module contains logic for checking if the package.json whats new url matches with the in-flight tag.
|
|
"""
|
|
|
|
load(
|
|
"scripts/drone/steps/lib.star",
|
|
"compile_build_cmd",
|
|
)
|
|
load(
|
|
"scripts/drone/utils/images.star",
|
|
"images",
|
|
)
|
|
load(
|
|
"scripts/drone/utils/utils.star",
|
|
"pipeline",
|
|
)
|
|
|
|
def whats_new_checker_step():
|
|
return {
|
|
"name": "whats-new-checker",
|
|
"image": images["go"],
|
|
"depends_on": [
|
|
"compile-build-cmd",
|
|
],
|
|
"commands": [
|
|
"./bin/build whatsnew-checker",
|
|
],
|
|
}
|
|
|
|
def whats_new_checker_pipeline(trigger):
|
|
environment = {"EDITION": "oss"}
|
|
steps = [
|
|
compile_build_cmd(),
|
|
whats_new_checker_step(),
|
|
]
|
|
return pipeline(
|
|
name = "release-whatsnew-checker",
|
|
trigger = trigger,
|
|
services = [],
|
|
steps = steps,
|
|
environment = environment,
|
|
)
|