tripleo scripts should be kept as portable as possible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Confirmed
|
Low
|
Unassigned |
Bug Description
Bash scripts used by tripleo like quickstart.sh or reproducer.sh should limit their use of new bash syntax and keep using old but portable ways, which work on most platforms.
Example of less portable code:
* &>> is bash4 only, use old 2>&1 >> instead.
* avoid using `-v VAR` to test if a variable exists, use old [[ -z "${FOO:-}" ]] - see https:/
BSD tools (non GNU) like bash, sed can have a slightly different option across platform. For example MacOS has a bash version 3.4 even on 10.14. Running reproducer from a BSD machine should be possible as long deployment takes place on a remote VIRSHOST or an openstack cloud.
Changed in tripleo: | |
assignee: | nobody → Sorin Sbarnea (ssbarnea) |
status: | New → In Progress |
Changed in tripleo: | |
milestone: | none → rocky-rc1 |
importance: | Undecided → Medium |
Changed in tripleo: | |
milestone: | rocky-rc1 → stein-1 |
Changed in tripleo: | |
milestone: | stein-1 → stein-2 |
Changed in tripleo: | |
milestone: | stein-2 → stein-3 |
Changed in tripleo: | |
milestone: | stein-3 → train-1 |
Changed in tripleo: | |
milestone: | train-1 → train-2 |
Changed in tripleo: | |
milestone: | train-2 → train-3 |
Changed in tripleo: | |
milestone: | train-3 → ussuri-1 |
Changed in tripleo: | |
assignee: | Sorin Sbarnea (ssbarnea) → nobody |
importance: | Medium → Low |
status: | In Progress → Confirmed |
Changed in tripleo: | |
milestone: | ussuri-1 → ussuri-2 |
Changed in tripleo: | |
milestone: | ussuri-2 → ussuri-3 |
Changed in tripleo: | |
milestone: | ussuri-3 → ussuri-rc3 |
Changed in tripleo: | |
milestone: | ussuri-rc3 → victoria-1 |
Changed in tripleo: | |
milestone: | victoria-1 → victoria-3 |
Change abandoned by Sorin Sbarnea (<email address hidden>) on branch: master /review. openstack. org/581012
Review: https:/
Reason: life-too-short to chaise this one