Shell - CI/CD用語集の定義
shell は、コマンドを読み取り、変数や glob を展開し、process を起動するコマンドインタプリタです。一般的な shell には bash、sh(dash)、zsh、そして Windows の PowerShell があります。
CI での扱い
GitHub Actions は Linux と macOS では bash、Windows では PowerShell をデフォルトにします。デフォルトの bash は set -eo pipefail で実行されるため、失敗したコマンドや pipeline はステップを中断します。step ごとに shell: キーで上書きできます。
関連ガイド
Subshell - CI/CD Glossary DefinitionSubshell: A subshell is a child shell process created by wrapping commands in `( ... )`, by a pipeline, or by…
Login Shell - CI/CD Glossary DefinitionLogin Shell: A login shell is the first shell started when a user authenticates; it reads profile files like…
Shebang - CI/CD Glossary DefinitionShebang: A shebang is the `#!` line at the top of a script that tells the kernel which interpreter to run it…