{"id":14968671,"url":"https://github.com/mogtofu33/gitlab-ci-drupal","last_synced_at":"2025-10-26T05:30:38.033Z","repository":{"id":39570024,"uuid":"138092722","full_name":"mogtofu33/gitlab-ci-drupal","owner":"mogtofu33","description":"MIRROR for https://gitlab.com/mog33/gitlab-ci-drupal","archived":false,"fork":false,"pushed_at":"2024-10-03T10:52:02.000Z","size":1383,"stargazers_count":25,"open_issues_count":4,"forks_count":4,"subscribers_count":4,"default_branch":"4.x-dev","last_synced_at":"2025-01-31T15:11:37.862Z","etag":null,"topics":["drupal","drupal-8","drupal8","gitlab-ci","php-qa","sass-lint"],"latest_commit_sha":null,"homepage":"https://gitlab.com/mog33/gitlab-ci-drupal","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mogtofu33.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"docs/support.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-20T22:31:39.000Z","updated_at":"2024-05-14T10:27:00.000Z","dependencies_parsed_at":"2024-01-09T22:38:09.708Z","dependency_job_id":"c0984399-8d51-4966-a2ef-a47b11eadf62","html_url":"https://github.com/mogtofu33/gitlab-ci-drupal","commit_stats":{"total_commits":630,"total_committers":7,"mean_commits":90.0,"dds":0.09047619047619049,"last_synced_commit":"5562937daf406f3aec382a6634af893a5626085e"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogtofu33%2Fgitlab-ci-drupal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogtofu33%2Fgitlab-ci-drupal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogtofu33%2Fgitlab-ci-drupal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogtofu33%2Fgitlab-ci-drupal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mogtofu33","download_url":"https://codeload.github.com/mogtofu33/gitlab-ci-drupal/tar.gz/refs/heads/4.x-dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238264672,"owners_count":19443388,"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":["drupal","drupal-8","drupal8","gitlab-ci","php-qa","sass-lint"],"created_at":"2024-09-24T13:40:23.008Z","updated_at":"2025-10-26T05:30:37.616Z","avatar_url":"https://github.com/mogtofu33.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gitlab CI for Drupal 9 / 10\n\n\u003cimg src=\"https://www.drupal.org/files/druplicon-small.png\" width=\"175\" style=\"margin-right:10%;\"\u003e\n\u003cimg src=\"https://about.gitlab.com/images/ci/gitlab-ci-cd-logo_2x.png\" width=\"175\"\u003e\n\n[Gitlab CI](https://docs.gitlab.com/ee/ci/README.html) for a\n[Drupal](https://www.drupal.org) module / theme or full project.\n\nInclude **Build**, **Testing**, **Code quality**, **Metrics** and more...\n\nFor any **issue**, please use the [Gitlab-CI project page](https://gitlab.com/mog33/gitlab-ci-drupal/-/issues)\n\nBased on an include behavior, ie you don't have to copy all files from this project.\n\n## Prerequisites\n\n- Gitlab CI with a [runner that support docker](https://docs.gitlab.com/runner/)\n- Minimal understanding of [Gitlab CI](https://about.gitlab.com/stages-devops-lifecycle/continuous-integration/)\nand [Gitlab CI Yaml](https://docs.gitlab.com/ee/ci/yaml)\n\n## Documentation\n\n- [Documentation for GitLab CI Drupal](https://mog33.gitlab.io/gitlab-ci-drupal)\n\n## Quick setup\n\n### Quick setup for a Drupal module / theme\n\nPush your module / theme to a Gitlab with CI and runners enabled.\n\n[Gitlab.com](https://gitlab.com) offer some CI pipeline minutes/month on free accounts.\n\n- Copy [starter.gitlab-ci.yml](https://gitlab.com/mog33/gitlab-ci-drupal/-/raw/4.x-dev/starter.gitlab-ci.yml)\nfile as a `.gitlab-ci.yml` at the root of your Drupal module or theme\n(same level as `my_module_or_theme.info.yml` file).\n- If your project is not on [Gitlab.com](https://gitlab.com), edit the `include` section et the beginning.\n- Edit the `variables` and uncomment the section under `Override default variables for a module`\n- Create and push your branch, see the pipeline running for basic code standard and lint.\n\nExternal [module demo](https://gitlab.com/gitlab-ci-drupal/demo-gitlab-ci-drupal-module), real module example [Content moderation edit notify](https://gitlab.com/mog33/content_moderation_edit_notify)\n\nFor more option and details see the [full documentation](https://mog33.gitlab.io/gitlab-ci-drupal).\n\n### Quick setup for a full Drupal project\n\nPush your project to a Gitlab with CI and runners enabled.\n\n[Gitlab.com](https://gitlab.com) offer some CI pipeline minutes/month on free accounts.\n\nAssuming your project include a `composer.json` file from the\n[Drupal project](https://www.drupal.org/docs/develop/using-composer/using-composer-to-install-drupal-and-manage-dependencies).\n\n- Copy [starter.gitlab-ci.yml](https://gitlab.com/mog33/gitlab-ci-drupal/-/raw/4.x-dev/starter.gitlab-ci.yml) file as a `.gitlab-ci.yml` in your project\n- If you are using _Behat_ you must add your tests in a `behat_tests` folders at the root of your Drupal project (same level as `composer.json` file).\n  - As a starting point you can look in the [behat_tests](./behat_tests) folder of this project.\n- Put your custom code in the `web/modules/custom` and `web/themes/custom` folders of your project.\n- Create and push your branch, see the pipeline running for basic code standard, lint, tests and metrics.\n\nExternal [project demo](https://gitlab.com/gitlab-ci-drupal/demo-gitlab-ci-drupal-project).\n\nAs an example you can check my project on a Drupal template:\n[Drupal project advanced template](https://gitlab.com/mog33/drupal-composer-advanced-template)\n\nFor more option and details see the [full documentation](https://mog33.gitlab.io/gitlab-ci-drupal).\n\n----\n\nWant some help implementing this on your project? I provide Drupal expertise\nas a freelance, just [contact me](https://developpeur-drupal.com/en).\n\nIf you want to support this project, you can:\n\n- [\u003cimg src=\"https://www.drupal.org/files/images/buy_me_a_coffee.png\"\u003e](https://bit.ly/34jPKcE)\n- Hire me as a freelance for any Drupal related work\n- Promote me to any company looking for any Drupal related work\n- Help me with testing / documentation / grammar fixes / use cases\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmogtofu33%2Fgitlab-ci-drupal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmogtofu33%2Fgitlab-ci-drupal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmogtofu33%2Fgitlab-ci-drupal/lists"}