Skip to content

Commit b25a220

Browse files
CR11315 (#27)
* keep the CF_ prefix Co-authored-by: saffi <[email protected]>
1 parent 944cbb7 commit b25a220

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
VERSION:
55
description: specify client version
66
required: false
7-
default: 0.0.31
7+
default: 0.0.32
88
CF_API_KEY:
99
description: "Codefresh API KEY"
1010
required: true

service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
name: csdp-report-image
2-
version: 0.0.31
2+
version: 0.0.32

src/__tests__/request-builder.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import { buildUrlHeaders } from '../request-builder'
22

33

44
describe('request builder test', () => {
5-
it('clean CF_', async () => {
5+
it('not clean CF_', async () => {
66
const
77
{ url, headers } = buildUrlHeaders({
88
'CF_API_KEY': 'the-token',
99
'CF_HOST': 'g.codefresh.io',
1010
'CF_IMAGE': 'testImage'
1111
})
12-
expect(url).toEqual('g.codefresh.io/api/image-report?IMAGE=testImage')
12+
expect(url).toEqual('g.codefresh.io/api/image-report?CF_IMAGE=testImage')
1313
expect(headers).toEqual({ 'authorization': 'the-token' })
1414
})
1515

0 commit comments

Comments
 (0)