test/regression: fix if formatting
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
2e1f6ead4e
commit
47551ffc67
1 changed files with 6 additions and 6 deletions
|
|
@ -321,15 +321,15 @@ function try_image_build {
|
|||
sudo composer-cli blueprints push "$BLUEPRINT_FILE"
|
||||
if ! sudo composer-cli blueprints depsolve ${BLUEPRINT_NAME};
|
||||
then
|
||||
sudo cat /var/log/httpd/error_log
|
||||
sudo journalctl -xe --unit osbuild-composer
|
||||
exit 1
|
||||
sudo cat /var/log/httpd/error_log
|
||||
sudo journalctl -xe --unit osbuild-composer
|
||||
exit 1
|
||||
fi
|
||||
if ! sudo composer-cli --json compose start ${BLUEPRINT_NAME} qcow2 | tee "${COMPOSE_START}";
|
||||
then
|
||||
sudo journalctl -xe --unit osbuild-composer
|
||||
sudo journalctl -xe --unit osbuild-worker
|
||||
exit 1
|
||||
sudo journalctl -xe --unit osbuild-composer
|
||||
sudo journalctl -xe --unit osbuild-worker
|
||||
exit 1
|
||||
fi
|
||||
COMPOSE_ID=$(get_build_info ".build_id" "$COMPOSE_START")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue