-
Notifications
You must be signed in to change notification settings - Fork 347
Closed
Description
I am trying to test CML on a locally deployed GitLab server. I setup the token which seems to work. However, the pipeline fails due to an API error on "cml-send-comment"
Running with gitlab-runner 13.10.0 (54944146)
on dev01 XXXXXXX
section_start:1618225417:prepare_executor
Preparing the "docker" executor
Using Docker executor with image dvcorg/cml-py3:latest ...
Using locally found image version due to "if-not-present" pull policy
Using docker image sha256:1ace1dc1b2a0543e4a7a9b34733456f5b69acb9b658d9165f912e7b2c0661dfc for dvcorg/cml-py3:latest with digest dvcorg/cml-py3@sha256:54bc3c205f7d643b83807915a752f2447c0d85790035e5d524290bfbc8966373 ...
section_end:1618225420:prepare_executor
section_start:1618225420:prepare_script
Preparing environment
Running on runner-xfdxembn-project-2-concurrent-0 via a250b8db9876...
section_end:1618225422:prepare_script
section_start:1618225422:get_sources
Getting source from Git repository
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /builds/root/cml-test/.git/
Checking out c121223b as master...
Removing report.md
Skipping Git submodules setup
section_end:1618225424:get_sources
section_start:1618225424:step_script
Executing "step_script" stage of the job script
Using docker image sha256:1ace1dc1b2a0543e4a7a9b34733456f5b69acb9b658d9165f912e7b2c0661dfc for dvcorg/cml-py3:latest with digest dvcorg/cml-py3@sha256:54bc3c205f7d643b83807915a752f2447c0d85790035e5d524290bfbc8966373 ...
$ echo 'Hi from CML!' >> report.md
$ cml-send-comment report.md
Error: GitLab API not found
at Gitlab.repo_base (/cml/src/drivers/gitlab.js:55:37)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Gitlab.project_path (/cml/src/drivers/gitlab.js:25:23)
at async Gitlab.comment_create (/cml/src/drivers/gitlab.js:63:26)
at async CML.comment_create (/cml/src/cml.js:83:12)
at async run (/cml/bin/cml-send-comment.js:20:3)
section_end:1618225426:step_script
section_start:1618225426:cleanup_file_variables
Cleaning up file based variables
section_end:1618225427:cleanup_file_variables
ERROR: Job failed: exit code 1my .gitlab-ci.yml files looks like this
stages:
- cml_run
cml:
stage: cml_run
image: dvcorg/cml-py3:latest
script:
- echo 'Hi from CML!' >> report.md
- cml-send-comment report.mdMetadata
Metadata
Assignees
Labels
No labels