mirror of
				https://github.com/clearml/clearml-agent
				synced 2025-06-26 18:16:15 +00:00 
			
		
		
		
	Add env var in case we're running a service task
This commit is contained in:
		
							parent
							
								
									9ad49a0d21
								
							
						
					
					
						commit
						996bb797c3
					
				@ -4102,6 +4102,9 @@ class Worker(ServiceCommandSection):
 | 
			
		||||
        if skip_pip_venv_install:
 | 
			
		||||
            base_cmd += ['-e', '{}={}'.format(ENV_AGENT_SKIP_PIP_VENV_INSTALL.vars[0], skip_pip_venv_install)]
 | 
			
		||||
 | 
			
		||||
        if self._services_mode:
 | 
			
		||||
            base_cmd += ['-e', 'CLEARML_AGENT_SERVICE_TASK=1']
 | 
			
		||||
 | 
			
		||||
        # if we are running a RC version, install the same version in the docker
 | 
			
		||||
        # because the default latest, will be a release version (not RC)
 | 
			
		||||
        specify_version = ''
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user