Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple import-results from the Github workflow #47

Merged
merged 5 commits into from
Oct 11, 2024

Conversation

r-c-n
Copy link

@r-c-n r-c-n commented Oct 11, 2024

Allow the tool to run on the usual github workflow by default, but add config and command line options to run it standalone.

Ricardo Cañuelo added 5 commits October 1, 2024 11:51
Refactor the tool so it can be still be used as part of the Github
workflow but also as a standalone command-line tool.

Add support for command-line arguments to select the run mode:
  *) --gh-workflow <envvar>
  *) --result <file>

Add a config file (config.toml) to pass certain parameters that were
hardcoded (work in progress).

Signed-off-by: Ricardo Cañuelo <ricardo.canuelo@collabora.com>
Signed-off-by: Ricardo Cañuelo <ricardo.canuelo@collabora.com>
Signed-off-by: Ricardo Cañuelo <ricardo.canuelo@collabora.com>
Don't specify the Github context environment variable name as a command
line parameter, assume a default name for it.

Signed-off-by: Ricardo Cañuelo <ricardo.canuelo@collabora.com>
Let the tool run for GH workflows with sane defaults when called without
arguments.

Make the config file optional and allow the user to specify the database
dir with the -d (--database-dir) option with the usual default name.

Signed-off-by: Ricardo Cañuelo <ricardo.canuelo@collabora.com>
@r-c-n r-c-n self-assigned this Oct 11, 2024
@r-c-n r-c-n added this pull request to the merge queue Oct 11, 2024
Merged via the queue into main with commit b7f7869 Oct 11, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant