ログインシェル - CI/CD用語集の定義
ログインシェルは、ユーザーが認証したときに最初に起動されるシェルであり、/etc/profile や ~/.bash_profile などのプロファイルファイルを読み込みます。ログインシェルではないシェル(ほとんどのCIステップ)はそれらをスキップします。
CIでは
シェルのプロファイルにインストールされたツール(nvm、rbenv、conda)は、ステップが ~/.bashrc を読み込まない非ログイン・非対話のシェルで実行されるため、CIでは見つからないことがあります。workflow内でツールを明示的にセットアップするか、意図的に bash -l を使ってください。
関連ガイド
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…