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
Answered
Hello Everyone, Is There A Way To

Hello Everyone,

Is there a way to disable git cloning in remote execution while using docker image. My docker image already have the source code required to run the pipeline so I want to disable git pull and cloning.

my agent configuration looks as follows

agent {
    docker_force_pull: true # pulling image everytime
    force_git_ssh_protocol: false  # Can be left out if you don't want to enforce SSH
    vcs_cache {
        enabled: false  # Disable VCS caching
    }
    vcs_cache_path: null
}

sdk: {
    development: {
        store_code_diff_from_remote: false  # Disable syncing code diffs from remote
        store_uncommitted_code_diff: false

    }
}

task {
    force_git: false
    # vcs_diff: ""
}

And the machine I'm triggering the pipeline from, I am only using docker and docker_args not passing repo and repo_branch . Just wondering then why the agent is trying to pull the git repo and cloning it.

Does anyone have any idea what might be happening?

  
  
Posted 5 days ago
Votes Newest

Answers


Hi @<1731483438642368512:profile|LoosePigeon2> , I think what you're looking for is this env variable - CLEARML_AGENT_FORCE_CODE_DIR - None

You can simply point to the local repo and skip the cloning process.

  
  
Posted 5 days ago
15 Views
1 Answer
5 days ago
5 days ago
Tags