[Spice-devel] [linux/vd-agent 1/3] gitlab-ci: remove sudo
Frediano Ziglio
fziglio at redhat.com
Wed Feb 27 12:47:01 UTC 2019
>
> From: Victor Toso <me at victortoso.com>
>
> The jobs already run as root.
> Also removes an extra empty line.
>
> Signed-off-by: Victor Toso <victortoso at redhat.com>
Acked-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> .gitlab-ci.yml | 15 +++++++--------
> 1 file changed, 7 insertions(+), 8 deletions(-)
>
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index f0b77a7..ad4fb80 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -2,7 +2,7 @@ image: fedora:latest
>
> before_script:
> - >
> - dnf install 'dnf-command(copr)' git libtool sudo make redhat-rpm-config
> bzip2
> + dnf install 'dnf-command(copr)' git libtool make redhat-rpm-config bzip2
> python3 python3-six python3-pyparsing
> -y
> - dnf copr enable @spice/nightly -y
> @@ -20,21 +20,20 @@ configure-optional-packages:
> script:
> - ./autogen.sh --with-session-info=systemd
> --with-init-script=systemd+redhat
> - make
> - - sudo make install
> - - sudo make uninstall
> + - make install
> + - make uninstall
> - make distclean
>
> - ./autogen.sh --with-session-info=console-kit --with-init-script=redhat
> - make
> - - sudo make install
> - - sudo make uninstall
> + - make install
> + - make uninstall
> - make distclean
>
> -
> configure-without-optionals:
> script:
> - ./autogen.sh --with-gtk=no --with-session-info=none
> - make
> - - sudo make install
> - - sudo make uninstall
> + - make install
> + - make uninstall
> - make distclean
Frediano
More information about the Spice-devel
mailing list