Skip to content
Snippets Groups Projects
Verified Commit 592d0317 authored by Davide Gardenal's avatar Davide Gardenal
Browse files

Revert ".oniro-ci: enable wic image debug mode for LAVA testing"


Enabling debug mode is not the ideal solution for running
tests because it's responsible for enlarging the rootfs size and causing
tests to fail. More detail reported in #673.

This reverts commit 3ddebb37.

Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
parent 8526bef1
No related branches found
No related tags found
1 merge request!184oniro-tests: enable empty root password
...@@ -162,8 +162,6 @@ ...@@ -162,8 +162,6 @@
| sed -e 's/^CI_ONIRO_BB_LOCAL_CONF_plus_equals_//g' -e 's/"/\\"/g' -e 's/=/ += "/g' -e 's/$/"/g' \ | sed -e 's/^CI_ONIRO_BB_LOCAL_CONF_plus_equals_//g' -e 's/"/\\"/g' -e 's/=/ += "/g' -e 's/$/"/g' \
| sort \ | sort \
| tee -a conf/local.conf ) | tee -a conf/local.conf )
# Print local conf for debugging.
- grep -E '^[^#]' conf/local.conf
# Sanity check: disallow using public build cache with a specific setting # Sanity check: disallow using public build cache with a specific setting
# in local.conf. The list of settings may grow over time. # in local.conf. The list of settings may grow over time.
...@@ -302,11 +300,6 @@ ...@@ -302,11 +300,6 @@
.build-wic-image: .build-wic-image:
extends: .build-image extends: .build-image
variables: variables:
# cve-check is enabled in the .bitbake-workspace job. Append
# oniro-debug-linux for all wic image build jobs to enable root login which
# is required in LAVA test jobs. The variable can be overwritten in build
# job level for builds that require non-root user.
CI_ONIRO_BB_LOCAL_CONF_plus_equals_INHERIT: "cve-check oniro-debug-linux"
CI_ONIRO_JOB_ARTIFACTS: "*.wic.* *.bmap" CI_ONIRO_JOB_ARTIFACTS: "*.wic.* *.bmap"
script: script:
- !reference [.build-image, script] - !reference [.build-image, script]
......
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