[citemplates/bilelmoussaoui/ci-network] allow network access during tests



commit ae568c5f6649fb211efdbf4a3ebe217300eea4c1
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Tue Apr 28 12:16:05 2020 +0000

    allow network access during tests
    
    This will allow the applications to validate their appdata files
    without having to pass --nonet arg to appstream-util.

 flatpak/flatpak_ci_initiative.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/flatpak/flatpak_ci_initiative.yml b/flatpak/flatpak_ci_initiative.yml
index 0c912ef..e97e1f7 100644
--- a/flatpak/flatpak_ci_initiative.yml
+++ b/flatpak/flatpak_ci_initiative.yml
@@ -16,7 +16,7 @@
     # we need to recreate the build directory because cleanup would have deleted build dependencies
     - rm -rf flatpak_app
     - flatpak-builder --user --disable-rofiles-fuse --build-only flatpak_app ${MANIFEST_PATH}
-    - flatpak build-finish --socket=x11 flatpak_app
+    - flatpak build-finish --socket=x11 --share=network flatpak_app
     - >
       xvfb-run -a -s "-screen 0 1024x768x24"
       flatpak-builder --user --disable-rofiles-fuse --build-shell=${FLATPAK_MODULE} flatpak_app 
${MANIFEST_PATH} <<END


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]