Skip to content

Commit 183924e

Browse files
Cr 13687 (#497)
* add support for CF_RUNTIME_NAME * add support for CF_RUNTIME_NAME * add support for CF_PLATFORM_URL & CF_ISSUE_TRACKING_INTEGRATION * add support for CF_PLATFORM_URL & CF_ISSUE_TRACKING_INTEGRATION * wip * wip * wip
1 parent e4129d3 commit 183924e

File tree

1 file changed

+27
-20
lines changed

1 file changed

+27
-20
lines changed

incubating/codefresh-report-image/step.yaml

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ kind: step-type
22
version: '1.0'
33
metadata:
44
name: codefresh-report-image
5-
version: 1.0.3
5+
version: 1.0.4
66
isPublic: true
77
description: Report Docker Image Metadata to Codefresh CD
88
sources:
@@ -40,7 +40,7 @@ metadata:
4040
CF_API_KEY: codefresh-cd-api-token
4141
CF_IMAGE: docker.io/${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}:${{CF_REVISION}}
4242
CF_RUNTIME_NAME: codefresh-hosted
43-
CF_ENRICHERS: ${{CF_ENRICHERS}}
43+
CF_CONTAINER_REGISTRY_INTEGRATION: docker-integration
4444
CF_GITHUB_TOKEN: ${{GITHUB_TOKEN}}
4545
CF_GIT_PROVIDER: github
4646
CF_GIT_REPO: ${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}
@@ -65,11 +65,31 @@ spec:
6565
"properties": {
6666
"CF_API_KEY": {
6767
"type": "string",
68-
"description": "API Key from Codefresh CD platform."
68+
"description": "Codefresh API KEY"
69+
},
70+
"CF_HOST": {
71+
"type": "string",
72+
"description": "*deprecated* Codefresh Runtime Ingress URL. (ie. https://codefresh.mycompany.com)"
73+
},
74+
"CF_PLATFORM_URL": {
75+
"type": "string",
76+
"description": "Required for integrations in on-premises environments only. The root URL of the codefresh application. If not specified, uses the default value of https://g.codefresh.io."
77+
},
78+
"CF_RUNTIME_NAME": {
79+
"type": "string",
80+
"description": "Name of runtime to implement the enrichment"
81+
},
82+
"CF_IMAGE": {
83+
"type": "string",
84+
"description": "Fully qualified image name to be reported to Codefresh CD. (i.e. docker.io/codefresh/example-app:1.0.0)"
6985
},
7086
"CF_CONTAINER_REGISTRY_INTEGRATION": {
7187
"type": "string",
72-
"description": "Codefresh Gitops Registry integration name."
88+
"description": "Codefresh CD Gitops Registry integration name."
89+
},
90+
"CF_ISSUE_TRACKING_INTEGRATION": {
91+
"type": "string",
92+
"description": "The issue tracking integration name."
7393
},
7494
"CF_DOCKERHUB_PASSWORD": {
7595
"type": "string",
@@ -81,45 +101,32 @@ spec:
81101
},
82102
"CF_ENRICHERS": {
83103
"type": "string",
84-
"description": "Comma delimited list of integrations for collecting metadata on the build image/"
104+
"description": "*deprecated* list of integrations separated by commas: Acceptable values are git, jira. ex: 'jira, git'"
85105
},
86106
"CF_GIT_BRANCH": {
87107
"type": "string",
88108
"description": "The git branch which is related for the commit."
89109
},
90110
"CF_GIT_PROVIDER": {
91111
"type": "string",
92-
"description": "The git integration type use (i.e. github)"
112+
"description": "The Git provider: Acceptable values are github, gitlab, bitbucket, or bitbucket-server. In case this not provided git credentials will be taken form your runtime git context"
93113
},
94114
"CF_GIT_REPO": {
95115
"type": "string",
96116
"description": "The the git repository used for building the image."
97117
},
98118
"CF_GITHUB_API_URL": {
99119
"type": "string",
100-
"description": "Specify github host api url.",
101-
"default": "https://api.github.com"
120+
"description": "Specify github host api url."
102121
},
103122
"CF_GITHUB_TOKEN": {
104123
"type": "string",
105124
"description": "Github personal access token. Scope: repo."
106125
},
107-
"CF_HOST": {
108-
"type": "string",
109-
"description": "Codefresh Runtime Ingress URL. (ie. https://codefresh.mycompany.com)"
110-
},
111-
"CF_RUNTIME_NAME": {
112-
"type": "string",
113-
"description": "Name of runtime to implement the enrichment"
114-
},
115126
"CF_JIRA_API_TOKEN": {
116127
"type": "string",
117128
"description": "When no jira integration is specified: Jira token for authenticating."
118129
},
119-
"CF_IMAGE": {
120-
"type": "string",
121-
"description": "Fully qualified image name to be reported to Codefresh CD. (i.e. docker.io/codefresh/example-app:1.0.0)"
122-
},
123130
"CF_JIRA_EMAIL": {
124131
"type": "string",
125132
"description": "When no jira integration is specified: user email for authenticating with jira."

0 commit comments

Comments
 (0)