G
ist/gitlab/gitlab-cicd-components
gitlab-cicd-components
0.4.0
CI/CD components to make use of various Gitlab-specific resources.
trigger-pipeline
include:
- component: $CI_SERVER_FQDN/ist/gitlab/gitlab-cicd-components/trigger-pipeline@0.4.0
Name | Mandatory | Type | Description | Default |
---|---|---|---|---|
name | false | string | $CI_COMMIT_REF_NAME | |
image | false | string | badouralix/curl-jq | |
rules | false | array | [{"if"=>"$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"}] | |
stage | false | string | deploy | |
trigger-ref | false | string | main | |
trigger-token | false | string | $CI_TRIGGER_TOKEN | |
trigger-variables | false | array | [] | |
trigger-api-v4-url | false | string | $CI_API_V4_URL | |
trigger-project-id | true | number |
release
include:
- component: $CI_SERVER_FQDN/ist/gitlab/gitlab-cicd-components/release@0.4.0
Name | Mandatory | Type | Description | Default |
---|---|---|---|---|
image | false | string | registry.gitlab.com/gitlab-org/release-cli:latest | |
rules | false | array | [{"if"=>"$CI_PIPELINE_SOURCE == \"schedule\"", "when"=>"never"}, {"if"=>"$CI_COMMIT_TAG =~ /^\\d+\\.\\d+\\.\\d+$/"}] | |
stage | false | string | publish | |
release-tag | false | string | $CI_COMMIT_TAG | |
release-name | false | string | Release $TAG | |
release-assets-url | false | string | $CI_PROJECT_URL/assets/1 | |
release-description | false | string | [$TAG] - $CI_COMMIT_TAG_MESSAGE |