{"id":20913104,"url":"https://github.com/tbe/gitlab-status-resource","last_synced_at":"2025-07-19T10:05:29.838Z","repository":{"id":151439151,"uuid":"204349572","full_name":"tbe/gitlab-status-resource","owner":"tbe","description":"Concocurse Gitlab commit status resource","archived":false,"fork":false,"pushed_at":"2019-08-25T21:04:00.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T22:41:43.492Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tbe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-25T21:03:35.000Z","updated_at":"2019-08-25T21:04:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"54d7159d-c87b-4192-83b6-067c3a28e606","html_url":"https://github.com/tbe/gitlab-status-resource","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tbe/gitlab-status-resource","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbe%2Fgitlab-status-resource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbe%2Fgitlab-status-resource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbe%2Fgitlab-status-resource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbe%2Fgitlab-status-resource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tbe","download_url":"https://codeload.github.com/tbe/gitlab-status-resource/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbe%2Fgitlab-status-resource/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265915128,"owners_count":23848491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T14:34:51.597Z","updated_at":"2025-07-19T10:05:29.810Z","avatar_url":"https://github.com/tbe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gitlab Status Resource\n\nUpdates the status of an gitlab commit\n\n## Source configuration\n\n- `gitlab_url`: *Required.* The URL of the Gitlab Instance\n- `api_key`: *Required.* The API Key for Gitlab. The Key must belong to a user with at least *Developer* privileges\n- `group`: *Required.* The Gitlab group of the repository\n- `project`: *Required.* The Project name of the repository\n- `verify_ssl`: *Optional.* Verify the SSL Certificate of the Gitlab API Endpoint. Defaults to `true`\n\n## Parameters\n\n- `build_status`: *Required.* The desired build status. Must be one of `pending`, `running`, `success`, `canceled`, `failed`\n- `repo`: *Required.* The asset name/ input path of the checked out git repository\n- `status_name`: *Optional.* The name of the status. Defaults to `default`\n\n\n## Example\n\n```yaml\nresource_types:\n- name: gitlab-status\n  type: docker-image\n  source:\n    repository: tbede/gitlab-resource\n    tag: 0.1.0\n\nresources:\n- name: source\n  type: git\n  source:\n    branch: master\n    uri: https://gitlab.something.lan/mygroup/myrepo\n    username: buildbot\n    password: ((gitlabtoken))\n- name: gitlab-status\n  type: gitlab-status\n  source:\n    api_key: ((gitlabtoken))\n    gitlab_url: https://gitlab.something.lan\n    verify_ssl: false\n    group: mygroup\n    project: myrepo\n\njobs:\n- name: build\n  plan:\n  - get: source\n    trigger: true\n  - put: gitlab-status\n    params:\n      build_status: running\n      repo: source\n  - put: ....\n    # your build task is here\n    on_success:\n      put: gitlab-status\n      params:\n        build_status: success\n        repo: source\n    on_failure:\n      put: gitlab-status\n      params:\n        build_status: failed\n        repo: source\n    on_abort:\n      put: gitlab-status\n      params:\n        build_status: canceled\n        repo: source\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftbe%2Fgitlab-status-resource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftbe%2Fgitlab-status-resource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftbe%2Fgitlab-status-resource/lists"}