{"id":17145009,"url":"https://github.com/andreax79/airflow-gitlab-webhook","last_synced_at":"2025-04-13T11:12:41.535Z","repository":{"id":57409299,"uuid":"178202796","full_name":"andreax79/airflow-gitlab-webhook","owner":"andreax79","description":"Commit on Gitlab and run an Apache Airflow DAG","archived":false,"fork":false,"pushed_at":"2020-07-22T20:06:28.000Z","size":23,"stargazers_count":16,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T11:12:36.490Z","etag":null,"topics":["airflow","apache-airflow","gitlab"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreax79.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.txt","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-28T12:51:20.000Z","updated_at":"2024-07-22T17:25:59.000Z","dependencies_parsed_at":"2022-09-14T05:11:09.511Z","dependency_job_id":null,"html_url":"https://github.com/andreax79/airflow-gitlab-webhook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreax79%2Fairflow-gitlab-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreax79%2Fairflow-gitlab-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreax79%2Fairflow-gitlab-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreax79%2Fairflow-gitlab-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreax79","download_url":"https://codeload.github.com/andreax79/airflow-gitlab-webhook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248703198,"owners_count":21148118,"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":["airflow","apache-airflow","gitlab"],"created_at":"2024-10-14T21:04:08.162Z","updated_at":"2025-04-13T11:12:41.516Z","avatar_url":"https://github.com/andreax79.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Airflow Gitlab Webhook Plugin\n\n### Description\n\nA plugin for [Apache Airflow](https://github.com/apache/airflow) that exposes REST endpoint for [Gitlab Webhooks](https://docs.gitlab.com/ee/user/project/integrations/webhooks.html).\n\n### System Requirements\n\n* Airflow Versions\n    * 1.10.2 or newer\n\n### Deployment Instructions\n\n1. Install the plugin\n\n    pip install airflow-gitlab-webhook\n\n2. Update the airflow.cfg configuration file adding the *gitlab_plugin* section\n\n        [gitlab_plugin]\n        \n        repository_url = http://example.com/mike/diaspora.git\n        token = 62b32508-b1ad-44d2-97d1-80021a8d7576\n        dag = tutorial\n        \n        (Optional) Configure other repositories\n        repository_url1 = http://example.com/bla.git\n        token1 = my-secret\n        dag1 = git_update\n\n    * repository_url = Gitlab repository URL\n    * token = Optional Secure Token\n    * dag = DAG to be run when the push even is received\n \n3. Configure Gitlab Webook (push event) for the repository\n\n    * https://docs.gitlab.com/ee/user/project/integrations/webhooks.html\n \n4. Restart the Airflow Web Server\n\n#### Endpoints\n\n##### push\n\n  * Gitlab Push Event\n  \n    POST - https://{HOST}:{PORT}/webhooks/gitlab/push\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreax79%2Fairflow-gitlab-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreax79%2Fairflow-gitlab-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreax79%2Fairflow-gitlab-webhook/lists"}