Before submitting a topic, please confirm the following
I have searched for similar issues before creating this topic.
I have verified that my repository is using the Codecov GitHub app, if using GitHub
I have validated my codecov.yaml
configuration file.
I have filled out the below sections to the best of my ability.
Description
Hi there, I am trying to setup codecov for a private repo hosted on gitlab. I logged into codecov using my gitlab account (nick.wittland
), added upload script to existing gitlab pipeline, setup codecov token in gitlab ci variables, updated global yaml on codecov account to contain bot info. The pipeline is succeeding and uploading report to codecov, but I am unable to get the report in merge request working When taking a look into reports on codecov it always says “Team bot is missing”
CI/CD URL
You will probably have no access to this as the repo is private…
https://gitlab.com/corifyteam/application/corify-frontend/-/jobs/3310371427
Codecov Output
Please provide the full output of running the uploader on your CI/CD. This will typically have the Codecov logo as ASCII.
$ curl -Os https://uploader.codecov.io/latest/linux/codecov
$ chmod +x codecov
$ ./codecov
[2022-11-11T13:22:50.418Z] ['info']
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Codecov report uploader 0.3.2
[2022-11-11T13:22:50.426Z] ['info'] => Project root located at: /builds/corifyteam/application/corify-frontend
[2022-11-11T13:22:50.427Z] ['info'] -> Token found by environment variables
[2022-11-11T13:22:50.482Z] ['info'] Searching for coverage files...
[2022-11-11T13:22:51.429Z] ['info'] Warning: Some files located via search were excluded from upload.
[2022-11-11T13:22:51.430Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
[2022-11-11T13:22:51.431Z] ['info'] => Found 2 possible coverage files:
coverage/clover.xml
coverage/coverage-final.json
[2022-11-11T13:22:51.431Z] ['info'] Processing /builds/corifyteam/application/corify-frontend/coverage/clover.xml...
[2022-11-11T13:22:51.434Z] ['info'] Processing /builds/corifyteam/application/corify-frontend/coverage/coverage-final.json...
[2022-11-11T13:22:51.457Z] ['info'] Detected GitLab CI as the CI provider.
[2022-11-11T13:22:51.458Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.3.2&token=*******&branch=codecov-setup&build=3310371427&build_url=&commit=93bdc775195643625abb578066400f5d52d494db&job=&pr=&service=gitlab&slug=corifyteam%2Fapplication%2Fcorify-frontend&name=&tag=&flags=&parent=
[2022-11-11T13:22:51.721Z] ['info'] https://app.codecov.io/gitlab/corifyteam:application/corify-frontend/commit/93bdc775195643625abb578066400f5d52d494db
https://storage.googleapis.com/codecov/v4/raw/2022-11-11/3B3CF070E38B21D97A247D430A08958E/93bdc775195643625abb578066400f5d52d494db/346955bd-d0e5-4bf3-b9b0-f802c9f34b6f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221111T132251Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3209cc830de9bbca80629eb9229db68c224579a696f2b7f9410af14b8a4184f
[2022-11-11T13:22:51.722Z] ['info'] Uploading...
[2022-11-11T13:22:51.927Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/gitlab/corifyteam:application/corify-frontend/commit/93bdc775195643625abb578066400f5d52d494db"}
Expected Results
Please provide what you expect to have happened (e.g. a file that has missing coverage on a particular line).
Codecov should add report to existing merge request (like describe in GL-2 - Getting a Codecov account and uploading coverage)
Actual Results
Codecov reports are not added to existing merge request
Additional Information
Here is what my current Global YAML looks like in my codecov account:
codecov:
bot: nick.wittland