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

forgejo support #194

Open
yarikoptic opened this issue Sep 6, 2024 · 0 comments
Open

forgejo support #194

yarikoptic opened this issue Sep 6, 2024 · 0 comments

Comments

@yarikoptic
Copy link
Member

@mih has deployed https://codeberg.org/matrss/forgejo-aneksajo on https://hub.datalad.org/ and I expect us to get even more CI actions being done on such deployments. Samples of action runs could be

Here is some docs on API: https://forgejo.org/docs/latest/user/api-usage/ which point to then https://hub.datalad.org/api/swagger and seems have quite a rich API on /actions/ e.g.

❯ curl --silent -X 'GET' 'https://hub.datalad.org/api/v1/repos/forgejo/datalad-clone-action/actions/tasks?limit=4' -H 'accept: application/json' | jq . | head -n 20
{
  "workflow_runs": [
    {
      "id": 254,
      "name": "clone-get-deep-content",
      "head_branch": "main",
      "head_sha": "eee0779214a28f769d89907c11fb608d60dfad73",
      "run_number": 62,
      "event": "push",
      "display_title": "Add more usage examples",
      "status": "success",
      "workflow_id": "test-action-live.yml",
      "url": "https://hub.datalad.org/forgejo/datalad-clone-action/actions/runs/62",
      "created_at": "2024-08-30T10:50:56Z",
      "updated_at": "2024-08-30T10:51:29Z",
      "run_started_at": "2024-08-30T10:50:56Z"
    },
    {
      "id": 253,
      "name": "clone-recursive-no-data",

although I have not yet found on where/how to fetch artifacts (logs) upon a quick look... might be that is under different component/API since iirc it is a different component which actually provides CI jobs execution. May be @mih knows.

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

No branches or pull requests

1 participant