@@ -4,22 +4,28 @@ inputs:
4
4
VERSION :
5
5
description : specify client version
6
6
required : false
7
- default : 0.0.26
8
- CF_IMAGE :
9
- description : image reported, quay.io/codefresh/newly-built-image:0.0.1
7
+ default : 0.0.27
8
+ CF_API_KEY :
9
+ description : " Codefresh API KEY "
10
10
required : true
11
11
CF_HOST :
12
12
description : " CSDP app-proxy exposed in cluster address: https://your.clusters.ci-cd.com/app-proxy"
13
13
required : true
14
14
CF_VERBOSE :
15
15
description : " verbose output"
16
16
required : false
17
+ CF_IMAGE :
18
+ description : image reported, quay.io/codefresh/newly-built-image:0.0.1
19
+ required : true
17
20
CF_CONTAINER_REGISTRY_INTEGRATION :
18
21
required : false
19
22
description : " list of container integration"
20
- CF_ENRICHERS :
23
+ CF_DOCKER_USERNAME :
21
24
required : false
22
- description : " list of integrations separated by commas: jira, github"
25
+ description : " Dockerhub username"
26
+ CF_DOCKER_PASSWORD :
27
+ required : false
28
+ description : " Dockerhub password"
23
29
CF_INSECURE :
24
30
required : false
25
31
description : " security flag for standard registry protocol, when set to true it enables http protocol"
@@ -29,18 +35,46 @@ inputs:
29
35
CF_LOGS_URL :
30
36
required : false
31
37
description : " external url for the logs"
38
+ # Enrichers
39
+ CF_ENRICHERS :
40
+ required : false
41
+ description : " list of integrations separated by commas: jira, github"
42
+ # GIT
43
+ CF_GIT_PROVIDER :
44
+ required : false
45
+ description : " Git provider"
46
+ CF_GIT_REPO :
47
+ required : false
48
+ description : " The GitHub repo to use to enrich"
32
49
CF_GIT_BRANCH :
33
50
required : false
34
51
description : " The git branch to use to enrich"
35
52
CF_GIT_SHA :
36
53
required : false
37
54
description : " The git SHA to use to enrich"
38
- CF_GIT_REPO :
39
- required : false
40
- description : " The GitHub repo to use to enrich"
41
55
CF_GIT_INTEGRATION :
42
56
required : false
43
57
description : " The integration key"
58
+ # # Github
59
+ CF_GITHUB_TOKEN :
60
+ required : false
61
+ description : " Github api key"
62
+ CF_GITHUB_API_HOST_URL :
63
+ required : false
64
+ description : " Github api host url"
65
+ CF_GITHUB_CONTEXT :
66
+ required : false
67
+ description : " Github context from Codefresh Classic platform"
68
+ # JIRA
69
+ CF_JIRA_API_TOKEN :
70
+ required : false
71
+ description : " Jira user api key"
72
+ CF_JIRA_EMAIL :
73
+ required : false
74
+ description : " Jira user email"
75
+ CF_JIRA_HOST_URL :
76
+ required : false
77
+ description : " Jira account host url"
44
78
CF_JIRA_PROJECT_PREFIX :
45
79
required : false
46
80
description : " Jira project prefix"
@@ -53,32 +87,44 @@ inputs:
53
87
CF_JIRA_FAIL_ON_NOT_FOUND :
54
88
required : false
55
89
description : " fail in case of ticket not found"
56
- CF_API_KEY :
57
- description : " Codefresh API KEY"
58
- required : true
59
90
runs :
60
91
using : " composite"
61
92
steps :
62
93
- shell : bash
63
94
env :
64
95
VERSION : ${{ inputs.VERSION }}
65
- CF_IMAGE : ${{ inputs.CF_IMAGE }}
66
96
CF_HOST : ${{ inputs.CF_HOST }}
97
+ CF_API_KEY : ${{ inputs.CF_API_KEY }}
98
+
99
+ CF_IMAGE : ${{ inputs.CF_IMAGE }}
67
100
CF_VERBOSE : ${{ inputs.CF_VERBOSE }}
68
101
CF_CONTAINER_REGISTRY_INTEGRATION : ${{ inputs.CF_CONTAINER_REGISTRY_INTEGRATION }}
69
- CF_ENRICHERS : ${{ inputs.CF_ENRICHERS }}
102
+ CF_DOCKER_USERNAME : ${{ inputs.CF_DOCKER_USERNAME }}
103
+ CF_DOCKER_PASSWORD : ${{ inputs.CF_DOCKER_PASSWORD }}
70
104
CF_INSECURE : ${{ inputs.CF_INSECURE }}
71
105
CF_WORKFLOW_URL : ${{ inputs.CF_WORKFLOW_URL }}
72
106
CF_LOGS_URL : ${{ inputs.CF_LOGS_URL }}
107
+
108
+ CF_ENRICHERS : ${{ inputs.CF_ENRICHERS }}
109
+ # GIT
110
+ CF_GIT_PROVIDER : ${{ inputs.CF_GIT_PROVIDER }}
111
+ CF_GIT_REPO : ${{ inputs.CF_GIT_REPO }}
73
112
CF_GIT_BRANCH : ${{ inputs.CF_GIT_BRANCH }}
74
113
CF_GIT_SHA : ${{ inputs.CF_GIT_SHA }}
75
- CF_GIT_REPO : ${{ inputs.CF_GIT_REPO }}
76
114
CF_GIT_INTEGRATION : ${{ inputs.CF_GIT_INTEGRATION }}
115
+ # # Github
116
+ CF_GITHUB_TOKEN : ${{ inputs.CF_GITHUB_TOKEN }}
117
+ CF_GITHUB_API_HOST_URL : ${{ inputs.CF_GITHUB_API_HOST_URL }}
118
+ CF_GITHUB_API_PATH_PREFIX : ${{ inputs.CF_GITHUB_API_PATH_PREFIX }}
119
+ CF_GITHUB_CONTEXT : ${{ inputs.CF_GITHUB_CONTEXT }}
120
+ # JIRA
121
+ CF_JIRA_API_TOKEN : ${{ inputs.CF_JIRA_API_TOKEN }}
122
+ CF_JIRA_EMAIL : ${{ inputs.CF_JIRA_EMAIL }}
123
+ CF_JIRA_HOST_URL : ${{ inputs.CF_JIRA_HOST_URL }}
77
124
CF_JIRA_PROJECT_PREFIX : ${{ inputs.CF_JIRA_PROJECT_PREFIX }}
78
125
CF_JIRA_MESSAGE : ${{ inputs.CF_JIRA_MESSAGE }}
79
126
CF_JIRA_INTEGRATION : ${{ inputs.CF_JIRA_INTEGRATION }}
80
127
CF_JIRA_FAIL_ON_NOT_FOUND : ${{ inputs.CF_JIRA_FAIL_ON_NOT_FOUND }}
81
- CF_API_KEY : ${{ inputs.CF_API_KEY }}
82
128
run : |
83
129
env>cf_env
84
130
echo 'CF_CI_TYPE="github-actions"' >> cf_env
0 commit comments