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
Hello Everyone, I Want To Run A Github Action On Each Repo Pull Request To Create A Task In Clearml To Basically Do Check Of Current Pr Code With Some Scenarios. Clearml Task Gets Repo And Commit Id As Follows (From Console):

Hello everyone,
I want to run a GitHub action on each repo pull request to create a task in ClearML to basically do check of current PR code with some scenarios. ClearML task gets repo and commit ID as follows (from console):

Executing task id [322c9418867b43dfb6b641b9457f1d1b]:
repository = 

branch = HEAD
version_num = some_hash
tag = 
docker_cmd = docker_command_with_params
entry_point = some_command
working_dir = .
::: Using Cached environment /root/.clearml/venvs-cache/... :::
error: could not write config file /root/.gitconfig: Device or resource busy

and on the step of clone it throws an error:

fatal: reference is not a tree: some_hash
Repository cloning failed: Command '['git', 'checkout', 'some_hash', '--force']' returned non-zero exit status 128.
clearml_agent: ERROR: Failed cloning repository. 

The problem is that commit ID is not belongs to any branch in the repo yet. I’ve tested this task with commit ID belonging to a repo branch and it works fine. So my question is how to checkout a PR commit or may be fetch origin refs before checkout with ClearML? Any other solutions in this case?

Posted 2 months ago
Votes Newest


Hi @<1693795212020682752:profile|ClumsyChimpanzee88> ! Not sure I understand the question. If the commit ID does not exist remotely, then it can't be pulled. How would you pull the commit to another machine otherwise, is this possible using your current workflow?

Posted one month ago