{"id":15055421,"url":"https://github.com/marcelotsvaz/gitlab","last_synced_at":"2026-02-08T06:32:00.113Z","repository":{"id":252130911,"uuid":"839494685","full_name":"Marcelotsvaz/gitlab","owner":"Marcelotsvaz","description":"Different types of reusable components used across all my projects on GitLab.","archived":false,"fork":false,"pushed_at":"2024-12-24T18:57:34.000Z","size":223,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T23:26:19.244Z","etag":null,"topics":["gitlab"],"latest_commit_sha":null,"homepage":"","language":"YAML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Marcelotsvaz.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","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":"2024-08-07T18:13:31.000Z","updated_at":"2024-12-24T18:57:37.000Z","dependencies_parsed_at":"2025-01-20T23:35:34.634Z","dependency_job_id":null,"html_url":"https://github.com/Marcelotsvaz/gitlab","commit_stats":null,"previous_names":["marcelotsvaz/gitlab"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcelotsvaz%2Fgitlab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcelotsvaz%2Fgitlab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcelotsvaz%2Fgitlab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marcelotsvaz%2Fgitlab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Marcelotsvaz","download_url":"https://codeload.github.com/Marcelotsvaz/gitlab/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243523199,"owners_count":20304555,"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":["gitlab"],"created_at":"2024-09-24T21:41:59.856Z","updated_at":"2026-02-08T06:32:00.062Z","avatar_url":"https://github.com/Marcelotsvaz.png","language":"YAML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitLab Utils\nThis repository holds several resources used by my other repositories on GitLab.\n\n\n## CI/CD Components\nReusable [components](https://docs.gitlab.com/ee/ci/components/) for GitLab CI/CD pipelines.\n\n- `sane-workflow` - Prevent duplicated pipelines.\n- `stages` - Default stages used in all my projects.\n\nHow to use:\n```yaml\ninclude:\n  - component: gitlab.com/vaz-projects/gitlab/stages@1.0.0\n```\n\n### Conventions\nAll components in this repository use the following conventions.\n\n1. Include the `stages` component. Most other components depend on it.\n    ``` yaml\n    include:\n      - component: gitlab.com/vaz-projects/gitlab/stages@1.0.0\n    ```\n\n1. Don't use `stage` directly. Use the provided base jobs instead. They properly define the rules for each stage (and have ✨pretty✨ names).\n    ``` yaml\n    job:\n        extends: .buildStage\n    ```\n\n1. When using `extends` and `rules`: Include a reference to the base job's rules. Otherwise, all other rules would be overwritten.\n    ``` yaml\n    job:\n        extends: .baseJob\n        \n        rules:\n          - $VAR == 'VALUE'\n          - !reference [ .baseJob, rules ]\n    ```\n\n\n### Deployment Styles\nThe `stages` component support two different deployment styles:\n\n1. Deploy on tag pipelines. Default branch is used pro development. Good for versioned releases.\n    - `feature-branch/without-mr`: Build \u0026 Test\n    - `feature-branch/with-mr`: Build \u0026 Test -\u003e Deploy to review app\n    - `default-branch`: Build \u0026 Test\n    - `tag`: Build \u0026 Test -\u003e Deploy to staging -\u003e Deploy to production\n    \n1. Deploy on default branch pipelines. Default branch is used for staging and production. Good for continuous delivery/deployment.\n    - `feature-branch/without-mr`: Build \u0026 Test\n    - `feature-branch/with-mr`: Build \u0026 Test -\u003e Deploy to review app\n    - `default-branch`: Build \u0026 Test -\u003e Deploy to staging -\u003e Deploy to production\n    - `tag`: Build \u0026 Test\n\n``` yaml\ninclude:\n    - component: gitlab.com/vaz-projects/gitlab/stages@1.0.0\n      inputs:\n        deployOn: defaultBranch\n```\n\n\n## GitLab Runners\nTODO\n\n\n## Renovate Presets\nTODO\n\n\n## GitLab Project Configuration as Code\nTODO","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcelotsvaz%2Fgitlab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcelotsvaz%2Fgitlab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcelotsvaz%2Fgitlab/lists"}