Chore: Add bash to dagger env and fix rgm tag step (#108349)

baldm0mma/ add bash and fix rgm tag step
This commit is contained in:
Jev Forsberg
2025-07-18 14:18:43 -06:00
committed by GitHub
parent 1fdeca1015
commit ccd7b6ce7e
3 changed files with 47 additions and 12 deletions
+1 -1
View File
@@ -5,5 +5,5 @@ Utilities / functions for working with dagger pipelines
def with_dagger_install(commands = [], dagger_version = ""):
return [
"wget -qO- https://github.com/dagger/dagger/releases/download/{}/dagger_{}_linux_amd64.tar.gz | tar zx -C /bin".format(dagger_version, dagger_version),
"apk add docker",
"apk add docker bash",
] + commands
+16 -2
View File
@@ -210,11 +210,25 @@ def rgm_main():
)
def rgm_tag():
# Runs a package / build process (with all distros) when a tag is made
"""Tag release pipeline that builds and packages all distributions.
Returns:
Drone pipeline.
"""
generate_token_step = github_app_generate_token_step()
build_steps = rgm_run("rgm-build", "drone_build_tag_grafana.sh")
# Add dependency on token generation step
for step in build_steps:
step["depends_on"] = [generate_token_step["name"]]
steps = [generate_token_step] + build_steps
return pipeline(
name = "rgm-tag-prerelease",
trigger = tag_trigger,
steps = rgm_run("rgm-build", "drone_build_tag_grafana.sh"),
steps = steps,
volumes = github_app_step_volumes() + github_app_pipeline_volumes(),
)
def rgm_version_branch():