Skip to content
Snippets Groups Projects
Unverified Commit 9499ba64 authored by Varac's avatar Varac
Browse files

Use bash with pipefail to catch errors in scripts

Otherwise such errors like https://open.greenhost.net/openappstack/openappstack/-/jobs/89464
are not catched:

    $ sh ./install/install-openappstack.sh
    ✚ generating manifests
    :heavy_check_mark: 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
    :heavy_check_mark: GitRepository source created
    ◎ waiting for GitRepository source reconciliation
    :heavy_check_mark: GitRepository source reconciliation completed
    :heavy_check_mark: fetched revision: master/fe6c3302
    ✚ generating Kustomization
    ► applying Kustomization
    :heavy_check_mark: Kustomization created
    ◎ waiting for Kustomization reconciliation
    :heavy_check_mark: Kustomization openappstack is ready
    :heavy_check_mark: applied revision master/fe6c3302
parent 36e77a06
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment