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

Script to parse github action workflows #582

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

floweisshardt
Copy link

@floweisshardt floweisshardt commented Jan 18, 2021

This PR introduces a script that parses a github action workflow from .github/workflows/industrial_ci_action.yml and then calls run_ci with this configuration.
The script is the equivalent to run_travis and has the same terminal usage and arguments.

Should be documented together with #574.

@gavanderhoorn
Copy link
Member

I haven't had time to test it yet, but ever since I've come across nektos/act I've wanted to test it with industrial_ci.

@agutenkunst
Copy link
Contributor

@gavanderhoorn I tried it a while ago but had problems mounting the right folders.
See nektos/act#410

But I think it is worth a second maybe more educated shot.

@mathias-luedtke
Copy link
Member

run_gitlab_actions is a copy of run_travis. I would prefer to write a proper python module.
This could be used as well for Gitlab CI.

@@ -305,8 +305,12 @@ function ici_parse_jobs {
_ici_parse_jobs_res="$3";;
"true")
_ici_parse_jobs_res="0";;
"True")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use true and false everywhere else.
Instead of accepting the Python syntax, it should be converted in the calling script.

@mathias-luedtke
Copy link
Member

I would prefer to write a proper python module.

I migrated run_travis in #717

@fmessmer
Copy link
Contributor

fmessmer commented Oct 7, 2021

PR #749 tries to pick this up and make use of #717

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants