[libsoup/wip/ci] Use fedora:28 and run script as a non-root user
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/ci] Use fedora:28 and run script as a non-root user
- Date: Mon, 13 Aug 2018 12:56:33 +0000 (UTC)
commit ce36ea6d828c2797e6811c848c2cd1b629d6cc97
Author: Claudio Saavedra <csaavedra igalia com>
Date: Mon Aug 13 12:55:41 2018 +0000
Use fedora:28 and run script as a non-root user
.gitlab-ci.yml | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4f6bd0cd..eb5a99b8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,14 +1,16 @@
-image: registry.fedoraproject.org/f28/httpd
+image: fedora:28
variables:
- ADDITIONAL_DEPENDENCIES: which gtk-doc libpsl-devel make redhat-rpm-config
+ ADDITIONAL_DEPENDENCIES: which gtk-doc libpsl-devel make httpd php mod_ssl redhat-rpm-config
build_stable:
before_script:
- - sudo dnf update -y --nogpgcheck
- - sudo dnf install -y 'dnf-command(builddep)'
- - sudo dnf builddep -y --nogpgcheck libsoup
- - sudo dnf install -y --nogpgcheck $ADDITIONAL_DEPENDENCIES
+ - dnf update -y --nogpgcheck
+ - dnf install -y 'dnf-command(builddep)'
+ - dnf builddep -y --nogpgcheck libsoup
+ - dnf install -y --nogpgcheck $ADDITIONAL_DEPENDENCIES
+ - adduser runner
+ - su runner
script:
- ./autogen.sh
- make
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]