Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Unanswered
**** Solved **** I Used Variables From Here -

**** solved ****
i used variables from here - None

os.environ['CLEARML_AGENT_GIT_USER'] = 'myuser'
os.environ['CLEARML_AGENT_GIT_PASS'] = 'mypass'

Hi, I'm following the tutorial for launching a worker via google colab - None
i am having some issues with cloning my gitlab (private) repository when queuing a task to that worker.
i added some os environment variables to set my git (and aws) credentials for that worker in the following manner:

import os
os.environ['AWS_ACCESS_KEY_ID'] = 'mykey'
os.environ['AWS_SECRET_ACCESS_KEY'] = 'mykey'
os.environ['GITLAB_TOKEN'] = 'mytoken'

the error from the console:

cloning: 

fatal: could not read Username for '
': terminal prompts disabled
Repository cloning failed: Command '['clone', '
', '/root/.clearml/vcs-cache/CorrAlgo.git.5463ffcec7c449976e00811eaafb4793/CorrAlgo.git', '--quiet', '--recursive']' returned non-zero exit status 128.
clearml_agent: ERROR: Failed cloning repository. 
1) Make sure you pushed the requested commit:
(repository='
', branch='tmp', commit_id='75be96c2e6f52ac4dfe3920d8969f8ac49ff2c3b', tag='', docker_cmd=None, entry_point='ts-tcc_train.py', working_dir='Scripts/deep_learning')
2) Check if remote-worker has valid credentials [see worker configuration file]

How can i set my gitlab token properly? (i can see that the aws credentials have been set properly but can't find the place to check the git token) thanks!

  
  
Posted 8 months ago
Votes Newest

Answers