From 16ff0ae13984e30d55a5995e39ee8a4010cee145 Mon Sep 17 00:00:00 2001
From: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Date: Thu, 7 Nov 2019 14:43:12 +0100
Subject: [PATCH] CI: use become to install python3

Commit 73b6a66fd4db4345e5c1ed8acf2f3d10170bfdd4 added installation of
Python 3 package. But without root permissions it fails.

Change-Id: I65ca794955a1b1419853bf63be36cb0d1f2d2345
---
 tests/run.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/run.yml b/tests/run.yml
index afbfe7a144..8204f5b49b 100644
--- a/tests/run.yml
+++ b/tests/run.yml
@@ -185,6 +185,7 @@
         name: python3
       when:
         need_build_image
+      become: true
 
     # NOTE(mgoddard): We are using the script module here and later to ensure
     # we use the local copy of these scripts, rather than the one on the remote