Login Shell - Definição do Glossário de CI/CD
Um login shell é o primeiro shell iniciado quando um usuário se autentica; ele lê arquivos de perfil como /etc/profile e ~/.bash_profile. Um shell que não é de login (a maioria dos steps de CI) os ignora.
Em CI
Ferramentas instaladas em um perfil de shell (nvm, rbenv, conda) podem estar ausentes em CI porque os steps rodam um shell que não é de login nem interativo e que nunca carrega o ~/.bashrc. Configure a ferramenta explicitamente no workflow ou use bash -l deliberadamente.
Guias relacionados
Shell - CI/CD Glossary DefinitionShell: A shell is the command interpreter that reads commands, expands variables and globs, and launches proc…
Environment Variable - CI/CD Glossary DefinitionEnvironment Variable: An environment variable is a named value held in a process environment and inherited by…
PATH - CI/CD Glossary DefinitionPATH: PATH is the environment variable holding a colon-separated list of directories the shell searches, in o…