Skip to content

Commit 716e4e2

Browse files
chore(release): 5.2.0
1 parent fadf66b commit 716e4e2

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codecov-circleci-orb",
3-
"version": "5.1.0",
3+
"version": "5.2.0",
44
"description": "Codecov CircleCI Orb",
55
"main": "index.js",
66
"devDependencies": {

src/commands/upload.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ description: |
99
`gnupg` in order to validate.
1010
1111
parameters:
12+
base_sha:
13+
description: The base SHA to select. This is only used in the "pr-base-picking" run command
14+
type: string
15+
default: ""
1216
binary:
1317
description: The file location of a pre-downloaded version of the CLI. If specified, integrity checking will be bypassed.
1418
type: string
@@ -73,6 +77,10 @@ parameters:
7377
description: Comma-separated list of flags to upload to group coverage metrics.
7478
type: string
7579
default: ""
80+
force:
81+
description: Only used for empty-upload run command
82+
type: boolean
83+
default: false
7684
git_service:
7785
description: One of [github|gitlab|bitbucket|github_enterprise|gitlab_enterprise|bitbucket_server]
7886
type: string
@@ -121,6 +129,10 @@ parameters:
121129
description: The type of file to upload, coverage by default. Possible values are "test_results", "coverage".
122130
type: string
123131
default: "coverage"
132+
run_command:
133+
description: Choose which CLI command to run. Options are "upload-coverage", "empty-upload", "pr-base-picking", "send-notifications". "upload-coverage" is run by default.
134+
type: string
135+
default: "upload-coverage"
124136
sha:
125137
description: Commit SHA (with 40 chars)
126138
type: string
@@ -142,6 +154,10 @@ parameters:
142154
description: Custom defined name of the upload. Visible in the Codecov UI
143155
type: string
144156
default: ""
157+
use_pypi:
158+
description: Use the pypi version of the CLI instead of from cli.codecov.io
159+
type: boolean
160+
default: false
145161
verbose:
146162
description: Use verbose logging in the CLI
147163
type: boolean
@@ -161,6 +177,7 @@ steps:
161177
command: <<include(scripts/dist/codecov.sh)>>
162178
when: << parameters.when >>
163179
environment:
180+
CC_BASE_SHA: << parameters.base_sha >>
164181
CC_BINARY: << parameters.binary >>
165182
CC_BRANCH: << parameters.branch >>
166183
CC_BUILD: << parameters.build >>
@@ -177,6 +194,7 @@ steps:
177194
CC_FAIL_ON_ERROR: << parameters.fail_on_error >>
178195
CC_FILES: << parameters.files >>
179196
CC_FLAGS: << parameters.flags >>
197+
CC_FORCE: << parameters.force >>
180198
CC_GIT_SERVICE: << parameters.git_service >>
181199
CC_HANDLE_NO_REPORTS_FOUND: << parameters.handle_no_reports_found >>
182200
CC_JOB_CODE: << parameters.job_code >>
@@ -190,9 +208,12 @@ steps:
190208
CC_PLUGINS: << parameters.plugins >>
191209
CC_PR: << parameters.pr >>
192210
CC_REPORT_TYPE: << parameters.report_type >>
211+
CC_RUN_COMMAND: << parameters.run_command >>
212+
CC_SERVICE: << parameters.git_service >>
193213
CC_SHA: << parameters.sha >>
194214
CC_SKIP_VALIDATION: << parameters.skip_validation >>
195215
CC_SLUG: << parameters.slug >>
196216
CC_TOKEN_VAR: << parameters.token >>
217+
CC_USE_PYPI: << parameters.use_pypi >>
197218
CC_VERBOSE: << parameters.verbose >>
198219
CC_VERSION: << parameters.version >>

0 commit comments

Comments
 (0)