nathanchance · GitHub

Approved, but is there any way to place command line options like these in a single place so that you don't have to perform all of these changes?

I am not sure I understand the comment. Do you mean the --patch options in the GitHub workflow and TuxSuite files or another place where we process command line options?

I'm just using this change as an example, but it could apply to other places. You remove the --patch-series flag here, but if you need to add it back again, you'll have to re-add this.

tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git --git-ref for-next/fixes --job-name defconfigs --json-out builds.json --patch-series patches/arm64-fixes tuxsuite/arm64-fixes-clang-11.tux.yml || true

It seems like needless churn. In a shell script, one would create variables that held all of the pertinent flags, so that it only needs a change in one place:

ARM64_PATCH_FLAGS='--patch-series patches/arm64-fixes'
tuxsuite plan ${GIT_REPO} ... ${ARM64_PATCH_FLAGS} ...

Is something like this at all possible with YAML?

Read the original on github.com ↗