summaryrefslogtreecommitdiffstats
path: root/jjb/integration
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-02-11 10:26:49 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-02-11 10:57:58 +0100
commitfb003dff24b922e3fa02c1157ab427d03e4461f3 (patch)
tree0d4e1895e99a157955671d3666980bd20f5316f5 /jjb/integration
parenta14a6678df2eb779cce999d01db325e1e8ad1175 (diff)
Use sudo in integration-install-vagrant builder
Change-Id: I7d244f2cc4043a3132e4e34f3b2f56432f97eaa6 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1434
Diffstat (limited to 'jjb/integration')
-rw-r--r--jjb/integration/integration-macros.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/jjb/integration/integration-macros.yaml b/jjb/integration/integration-macros.yaml
index 677e7e0bd..aeb793f6f 100644
--- a/jjb/integration/integration-macros.yaml
+++ b/jjb/integration/integration-macros.yaml
@@ -59,9 +59,9 @@
- shell: |
#!/bin/bash
set -ex # Fail build if any setup step fails
- add-apt-repository --yes ppa:tiagohillebrandt/vagrant
- apt update
- apt --yes install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev vagrant
+ sudo add-apt-repository --yes ppa:tiagohillebrandt/vagrant
+ sudo apt update
+ sudo apt --yes install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev vagrant
vagrant plugin install vagrant-libvirt
vagrant plugin install vagrant-disksize
mkdir -p ~/.ssh