-
Notifications
You must be signed in to change notification settings - Fork 4
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
Separate out "badges" for different stages #9
Comments
most likely it is the way to go: so we just need to split the workflow,
|
NB not yet 100% sure it is the desired way to proceed, since might need more orchestration/tracking of action builds to possibly support PRs for git-annex code itself (e.g. like now I wish we had it setup so I could quickly try out possible solutions to https://git-annex.branchable.com/bugs/Buggy_external_special_remote_stalls_after_7245a9e/) |
One other idea which came to my mind is to
@jwodder do you think above could be possible or see any better way to have this issue addressed? |
Workflows don't have steps; they have jobs, and jobs have steps. A step can be added to a job that runs even if previous steps fail, but you can't make a job run after a failed job. Even if a step is added to the end of each job that reports the job's status, we would run into race conditions/concurrency issues due to multiple test-annex and test-datalad jobs running at once and thus potentially pushing to the workflow's status branch at once. We could create separate status branches for each job in each workflow, which would lead to one badge per job, which may be too many badges. The only other way I can think of to do this is to have a scheduled action periodically check the statuses of the jobs in the latest workflow runs and update either the README or a badges folder/branch. |
In general I am not afraid of branches, more scared of the tags ATM ! ;)
just make it upload of badges on CRON jobs off the master branch. Should not be colliding AFAIK. If we were to be real fancy, could add re branches -- I thought we might be able to (ab)use refs directly. So I created a temp branch with image and pushed it into a "refs" which aren't "heads" (branches) ( |
ATM, for each OS we have a single badge which summarizes
master, maint, release
) tested ok using this git-annexIt would have been nice to have at least 3 separate badges for each. That would be also of help for @joeyh since he would likely care mostly about only first 2.
But I am not sure how/if this could be accomplished.
Could we e.g. split into multiple workflows and somehow trigger one from another?
Or may be github is working on providing per step badges? (have not researched yet)
Any ideas @datalad/developers?
The text was updated successfully, but these errors were encountered: