Skip to content
Snippets Groups Projects
Forked from stackspin / stackspin
Source project has a limited visibility.
  • Varac's avatar
    Use bash with pipefail to catch errors in scripts · 9499ba64
    Varac authored
    Otherwise such errors like https://open.greenhost.net/openappstack/openappstack/-/jobs/89464
    are not catched:
    
        $ sh ./install/install-openappstack.sh
        ✚ generating manifests
         manifests build completed
        ► installing components in flux-system namespace
        ✗ install failed: exec: "kubectl": executable file not found in $PATH
        ✚ generating GitRepository source
        ► applying GitRepository source
         GitRepository source created
        ◎ waiting for GitRepository source reconciliation
         GitRepository source reconciliation completed
         fetched revision: master/fe6c3302
        ✚ generating Kustomization
        ► applying Kustomization
         Kustomization created
        ◎ waiting for Kustomization reconciliation
         Kustomization openappstack is ready
         applied revision master/fe6c3302
    9499ba64