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.
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?
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.