diff mbox series

[3/4] tests/acceptance: Enable AVOCADO_ALLOW_UNTRUSTED_CODE in the gitlab-CI

Message ID 20201023073351.251332-4-thuth@redhat.com
State Accepted
Commit 67202baeaa856e9fe66cffc3a9abeeada1f45a43
Headers show
Series Test more "check-acceptance" tests in the gitlab-CI | expand

Commit Message

Thomas Huth Oct. 23, 2020, 7:33 a.m. UTC
The tests are running in containers here, so it should be OK to
run with AVOCADO_ALLOW_UNTRUSTED_CODE enabled in this case.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

Comments

Philippe Mathieu-Daudé Oct. 23, 2020, 8:06 a.m. UTC | #1
On 10/23/20 9:33 AM, Thomas Huth wrote:
> The tests are running in containers here, so it should be OK to

> run with AVOCADO_ALLOW_UNTRUSTED_CODE enabled in this case.

> 

> Signed-off-by: Thomas Huth <thuth@redhat.com>

> ---

>   .gitlab-ci.yml | 1 +

>   1 file changed, 1 insertion(+)


Thanks :)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
diff mbox series

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 66ad7aa5c2..5d6773efd2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -66,6 +66,7 @@  include:
     - if [ -d ${CI_PROJECT_DIR}/avocado-cache ]; then
         du -chs ${CI_PROJECT_DIR}/avocado-cache ;
       fi
+    - export AVOCADO_ALLOW_UNTRUSTED_CODE=1
   after_script:
     - cd build
     - python3 -c 'import json; r = json.load(open("tests/results/latest/results.json")); [print(t["logfile"]) for t in r["tests"] if t["status"] not in ("PASS", "SKIP", "CANCEL")]' | xargs cat