Skip to content

massflash-generate-persist can download specific runs #1003

@sarcasticadmin

Description

@sarcasticadmin

Description

relates to: #1002

Currently massflash-generate-persist only downloads the latest build:

"gh",
"run",
"list",
"--repo=socallinuxexpo/scale-network",
"--workflow=openwrt-build",
"--status=completed",
"--json",
",".join(GhActionRun.model_fields.keys()),
"--limit=1",
"--jq=.[0]",

There are times were the latest build wont actually be the one we want to use for massflash. Scenarios like our weekly build might supersede a release build as latest come to mind

AC

  • massflash-generate-persist is able to download specific runs from GHA

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions