Test renovate presets component
Setup
- Set registry to clean all images after use
Usage
This pipeline tests the renovate presets and provide proper versioning for the renovate presets.
The test configuration maps the literal $CI_SERVER_FQDN dependency host to the active GitLab host so presets can validate component references without adding test-only registry aliases.
The component rewrites references to presets in the current project to the local presets.test.com service before building the test container. It maps gitlab>$CI_PROJECT_PATH:preset to preset.json and gitlab>$CI_PROJECT_PATH to default.json in every top-level JSON file. Projects do not need to override build:presets for these replacements.
- Create GitLab pipeline file
.gitlab-ci.yml:
include:
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/common@stable
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/workflow@stable
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/semantic-release@stable
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/test-renovate-presets@stable
Inputs
| Name | Description | Default | Type |
| --- | --- | --- | --- |
| path | The path to the configuration file to test. | . | string |
| stage | The stage to run the renovate job in. | test | string |