From patchwork Tue Feb 11 17:00:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pranavannam@gmail.com X-Patchwork-Id: 1236379 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48H8FQ25M4z9sRt for ; Wed, 12 Feb 2020 04:01:46 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Cygzwcin; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 48H8FQ1k2szDqM6 for ; Wed, 12 Feb 2020 04:01:46 +1100 (AEDT) X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::1041; helo=mail-pj1-x1041.google.com; envelope-from=pranavannam@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Cygzwcin; dkim-atps=neutral Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 48H8DG1tJWzDqJ3 for ; Wed, 12 Feb 2020 04:00:39 +1100 (AEDT) Received: by mail-pj1-x1041.google.com with SMTP id q39so1496075pjc.0 for ; Tue, 11 Feb 2020 09:00:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8K5BMtRUC3lt3TS1jcOUmyrQCClqPb3dXEhVM3OKO10=; b=Cygzwcin4chrYhEl6xvyCmfTut+cWyH3+3qNASC6DoRjNr9eM2DYt8F/Ey+6CYxebH ov1iGcA2t4XgNuGelp687uCMMQx6K1vxmGXrdc5xTLIdOELS2qsXIjLK/gY2xY5vIVPD bx22/fP9MaOcg7AwR5uBl0ipcpPA1yzyDa1IXgIlG+K9UCzsB2pjE8cVdUlNvZsIn6H/ aySSBCv3tJDaGTSgcNXwIh+LnJS1IaDuflH0lG8/GNwIN7YYPAAtbCxuqghY+sjV/wns OVOMQ81zHIMf4qjFCaVhrafXUh/OoXhliEwnS8D4Wf4ZwLP4IBFlrDW2N4BqlgfXopPJ cxdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8K5BMtRUC3lt3TS1jcOUmyrQCClqPb3dXEhVM3OKO10=; b=UzKUNopXTeCyx4t5NqbN3mSuaw50dW5OiA4apZv5XY9eN0Meyjn/Kl4NOnvGv6aWe9 8iINov/MXcf29+eBpqZJvtkbtGI0KizrrLF5vvAhoarfhkjdas3chpDpI5k04bgh9JxJ nK5zPoZ02nOQjQ7Lqs+5foeqYQTXA0C19JrN9LL2fo5o9SjgOUttm5V+Qj2xckGtZMCt NDOrLFXsZbOQBnUX7AfwDUGl28pt028LvpBmi/oeDxVrOPuuYBeCFJbU5985tiRwOaRc 5BhOZuzYJ2kOXLCwuxC05QdIdYawQO6Z/hjoO15zzpiS9idy8xhE5BopZKUrd9L79bjg ovLQ== X-Gm-Message-State: APjAAAUmF1IrOzaEMa1RdjrymISoaQBLM+yIoXT8eXEeN1+OF+lVnCzg rfsK9yckUzYhIXKkbgHPnZmz9VA60AE= X-Google-Smtp-Source: APXvYqwqt0y3BZP+wK83a4y5rt3RPv7Qz3yZnPKQrh6Qp9qgbGPPBygWFmiP1z4TURN9pIsCnUb8sQ== X-Received: by 2002:a17:90a:330f:: with SMTP id m15mr4612570pjb.24.1581440436938; Tue, 11 Feb 2020 09:00:36 -0800 (PST) Received: from localhost.localdomain ([2409:4042:2408:6943:1b:8cbc:8a88:1035]) by smtp.gmail.com with ESMTPSA id m101sm3745888pje.13.2020.02.11.09.00.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2020 09:00:36 -0800 (PST) From: pranavannam@gmail.com To: patchwork@lists.ozlabs.org Subject: [PATCH] Set the GID in the .env file Date: Tue, 11 Feb 2020 22:30:26 +0530 Message-Id: <20200211170026.4713-2-pranavannam@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200211170026.4713-1-pranavannam@gmail.com> References: <20200211170026.4713-1-pranavannam@gmail.com> X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" From: Pranav Annam When we create the .env file the UID is set, but we also need to set the GID,that can be done by explicitly setting it in the .env file. If the GID is not set when we go for the next step i.e the 'docker-compose build' it fails the docker build with: 'You must define GID in .env' Although the error message is self explanatory it is good to update documentation to reduce the burden on the developer to run into this build failure first. Signed-off-by: Pranav Annam --- docs/development/installation.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/development/installation.rst b/docs/development/installation.rst index 03ad67a..6a50b74 100644 --- a/docs/development/installation.rst +++ b/docs/development/installation.rst @@ -30,6 +30,9 @@ configure Patchwork using Docker: .. code-block:: shell $ echo "UID=$UID" > .env + +#. The above command will create a environment file (.env) which is by default a hidden file with content 'UID=1000' (the UID value is differnt for different machines).Now open the file and set the GID same as the UID and save the file. + #. Build the images. This will download over 200MB from the internet: