package component
Usage Example
include:
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/common@stable
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/package@stable
inputs:
image: <value>
remote-registry-token: <value>
remote-registry-url: <value>
remote-registry-user: <value>
Inputs
| Name | Description | Default | Type |
| --- | --- | --- | --- |
| image | Builder image to use for the build package jobs. Like a S2I Image from the Red Hat Catalog. | string | |
| name | Name for the package/project. | ${CI_PROJECT_NAME} | string |
| needs | The jobs that this job depends on. | [] | array |
| path | Should the pipeline fail if the test fails? | . | string |
| registry | Selects the registry to use for the package. | project | string |
| remote-registry-token | The authentication token for the remote registry. | string | |
| remote-registry-url | The URL of the remote registry to use for the package. | string | |
| remote-registry-user | The username for the remote registry. | string | |
| rules | The jobs that this job depends on. | [{"if":"$CI_PIPELINE_SOURCE == \"schedule\"","when":"never"},{"if":"$CI_PIPELINE_SOURCE == \"merge_request_event\"","when":"never"},{"when":"on_success"}] | array |
| scanning-allow-failure | Should the pipeline fail if scanning the built package fails? | true | boolean |
| scanning-enabled | Should the package be scanned? | true | boolean |
| scanning-severity | What level of severity should cause scanning of the built package to fail? | CRITICAL | string |
| stage | The pipeline stage that the job will belong to. | build | string |
| tags | The runners that this job depends on. | [] | array |
| type | auto | string |