[master] 90550650e [cci] special case user addition for arch

Guillaume Quintard guillaume at varnish-software.com
Tue Jan 12 18:18:06 UTC 2021


commit 90550650e44b9bc0e469b3e0b8600107fc453cad
Author: Guillaume Quintard <guillaume at varnish-software.com>
Date:   Tue Jan 12 10:17:20 2021 -0800

    [cci] special case user addition for arch

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 631b619ba..adcaae3b6 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -209,7 +209,9 @@ jobs:
           name: Extract and distcheck
           command: |
             tar xavf varnish-*.tar.gz --strip 1
-            if [ << parameters.dist >> = centos ]; then
+            if [ << parameters.dist >> = archlinux ]; then
+                useradd varnish
+            elif [ << parameters.dist >> = centos ]; then
             	adduser varnish
             else
             	adduser --disabled-password --gecos "" varnish
@@ -282,7 +284,7 @@ workflows:
           requires:
             - dist
       - distcheck:
-          name: distcheck_arch
+          name: distcheck_archlinux
           dist: archlinux
           release: "latest"
           requires:


More information about the varnish-commit mailing list