From nobody Wed May 1 14:25:29 2024 Delivered-To: importer2@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=patchew-devel-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1675763630; cv=none; d=zohomail.com; s=zohoarc; b=VTfzIMYydu69fGyrvquckbTKLeS2d8qPhFbNYRPBCuRJ/s9X7bfRNJkbvyv4GpAl5zK4aFeEpmhXVEm6IGPd8bcruQCdEEeWNFd9b9281xFtV4Eep5U3hKjpt22Qp5RJGXsDESbMqmTPjxWwr8ebfkVKMtPWCehZ8JNmFzlHbj4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1675763630; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=OTx2K8q5e2gzW2IRfw2q3mOYIDPYSiUpGhEA0dtDpqU=; b=YK1cgl9U/g6de5WstQoVHbLMZ3EVS8ebPg8A0Gx1ypfTubYHoabJu4IEz+wb9LA3a/CeIXaSg0D1Zm15682JgjChAeXzYioOHHQVgGxJqz8HouwyRs1hl0LNzgP1gKnDOoukHMTjkqZEVef1lcglQCgcqr1aHZkqCP75VXiMrC4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1675763630765345.98628440573304; Tue, 7 Feb 2023 01:53:50 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-34-0FId0Xx7MQCEsvA6TccYTw-1; Tue, 07 Feb 2023 04:53:47 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B8D48858F09; Tue, 7 Feb 2023 09:53:46 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id B11331121314; Tue, 7 Feb 2023 09:53:46 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 511961946595; Tue, 7 Feb 2023 09:53:31 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 5FBF21946589 for ; Tue, 7 Feb 2023 09:53:27 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 52B262166B2A; Tue, 7 Feb 2023 09:53:27 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4B6EC2166B29 for ; Tue, 7 Feb 2023 09:53:27 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2DA2F100F901 for ; Tue, 7 Feb 2023 09:53:27 +0000 (UTC) Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-168-H2UNVHnJMsKkHnWhxakiLw-1; Tue, 07 Feb 2023 04:53:25 -0500 Received: by mail-ej1-f71.google.com with SMTP id 21-20020a170906225500b0088b953a6df6so10856913ejr.20 for ; Tue, 07 Feb 2023 01:53:25 -0800 (PST) Received: from avogadro.local ([2001:b07:6468:f312:9af8:e5f5:7516:fa89]) by smtp.gmail.com with ESMTPSA id rl6-20020a170907216600b008775b8a5a5fsm6601426ejb.198.2023.02.07.01.53.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 01:53:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675763629; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=OTx2K8q5e2gzW2IRfw2q3mOYIDPYSiUpGhEA0dtDpqU=; b=ayt9GwZvjiILInLOpxRMY3AwYBHOGAEPRY3jtFrtKo6RzxZWDZhwWDUxxkGClRfuX0f/Yv geTPEVsyxRFTcrhMcs0ejcMWhIWZiA/gIOHmFuRUtoG9t19sCXxAb7+FMdhnEFAs5akxCK h0yZWOR9rJpOaKtbTcES6tl2gP1RyEI= X-MC-Unique: 0FId0Xx7MQCEsvA6TccYTw-1 X-Original-To: patchew-devel@listman.corp.redhat.com X-MC-Unique: H2UNVHnJMsKkHnWhxakiLw-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oqbyL2JfFEXq1o8zocDn2BMCo5KVXvrDP+27loaXmJU=; b=CYxRQMoGYjCa868NCHrqojdwkXRHYJ/ArQc/dABp3R5q1jPGOeRpG81+E9vlVCYsVY BgCVntlKRT5mZUhlEcPMCzlEZ450zNpFrfX/71GG8kzzA/7ZFgpaX6cpW6TLlEDQ9Qdb YM/+wntDOP4Z3rZwBvLwHo9rb/WsIwcPabhda3dNg0qIKjN/mzWrfHeLulKHadEF+xgO IF0zdN2gEgssFIDGq+kouZY06QtamlJ3ODZpf3KJygsv/vwKH/MN35udGWbLGcHAgwRd XlTronlKcIRYnKSIKH07S5XWGgNFrp3lPPb5htKnRJhD1QJVaz89YJEqZgS1M9/xiy7d tSNQ== X-Gm-Message-State: AO0yUKUkOczPi9XIKqVb+uUyaEsiWRVYpqiyFg650VMdIyoWFq5BfTDC D+LHs89+q5XOnel4tyd2i/JJZrQUZb3fX9VI8mu7qWzwaSHA//H2bs9cca3Ka/riUzlo27H+Y7P GBaYZxjR8YmeXEAs9wGJvmUuyduPVXklL1zXG0P81bEMniPDGZLTUK/tX88FQmY4QTClgOFljUe K6FV8= X-Received: by 2002:a17:906:8470:b0:878:7189:a457 with SMTP id hx16-20020a170906847000b008787189a457mr2645112ejc.51.1675763604448; Tue, 07 Feb 2023 01:53:24 -0800 (PST) X-Google-Smtp-Source: AK7set+ex8vnwrVA4BiUomCKposuZPpHndnf2aNs8XZMoWkWnOrfPZUgS1dA8Z7F5r7ExLEyk8ZMRA== X-Received: by 2002:a17:906:8470:b0:878:7189:a457 with SMTP id hx16-20020a170906847000b008787189a457mr2645100ejc.51.1675763604158; Tue, 07 Feb 2023 01:53:24 -0800 (PST) From: Paolo Bonzini To: patchew-devel@redhat.com Date: Tue, 7 Feb 2023 10:53:14 +0100 Message-Id: <20230207095318.57814-2-pbonzini@redhat.com> In-Reply-To: <20230207095318.57814-1-pbonzini@redhat.com> References: <20230207095318.57814-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 Subject: [Patchew-devel] [PATCH 1/5] remove unused systemd service files X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: patchew-devel-bounces@redhat.com Sender: "Patchew-devel" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1675763631847100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Paolo Bonzini --- patchew-server.service | 13 ------------- patchew-tester.service | 15 --------------- 2 files changed, 28 deletions(-) delete mode 100644 patchew-server.service delete mode 100644 patchew-tester.service diff --git a/patchew-server.service b/patchew-server.service deleted file mode 100644 index d8b17ea..0000000 --- a/patchew-server.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=3DPatchew server docker instance -Requires=3Ddocker.service -After=3Ddocker.service - -[Service] -Restart=3Dalways -ExecStartPre=3D-/usr/bin/docker stop patchew-server ; -/usr/bin/docker rm = patchew-server -ExecStart=3D /usr/bin/docker run --privileged --name patchew-server -v /da= ta:/data:rw -p 8081:80 patchew:server -ExecStop=3D/usr/bin/docker stop -t 10 patchew-server - -[Install] -WantedBy=3Ddefault.target diff --git a/patchew-tester.service b/patchew-tester.service deleted file mode 100644 index 118c76a..0000000 --- a/patchew-tester.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=3DPatchew Tester -After=3Dnetwork.target - -[Service] -ExecStart=3D/usr/bin/patchew-tester -Restart=3Dalways -RestartSec=3D30 -User=3Droot -StandardOutput=3Dsyslog+journal -StandardError=3Dinherit - -[Install] -WantedBy=3Dmulti-user.target - --=20 2.38.1 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://listman.redhat.com/mailman/listinfo/patchew-devel From nobody Wed May 1 14:25:29 2024 Delivered-To: importer2@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=patchew-devel-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1675763634; cv=none; d=zohomail.com; s=zohoarc; b=X8qg158UexrUlK6T5Ply5/8QTHjXACHgA1hNT/q1DZCk9RT6UPLJ7cos0JbtSSKJri5QV5A5Q9cDJW1novwDk9bmtezWWrTZKU5guwsgngx46f2mxRkO67WqFJf3VC+JwHNXqE6n6tpDQf3tQv0GFfZUDcokcWHTEgcCu4fSeJc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1675763634; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=lKoXoQ1H3kSZP6ZeZDCToLJgBE91JbKRxLRp7sBxdZg=; b=IjpPACNbeMMkLeA6rJzdGtDtN/GYzZ+AvotouG8KHa6DSgmAujMuSi4jUaqbFcWiy3Qn2B4HoUJBZBf/nIDEieu1tGNh/CeJTjdBLo1Du/jbvAGmpZPe0COodKvVzEig7nl+qEbWHfCFMsWNGZxP60IA+t+KE3odZO6fE9CWcto= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1675763634073920.2167637675665; Tue, 7 Feb 2023 01:53:54 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-343-xCKA6NL6N1qbDCpdNhYwtQ-1; Tue, 07 Feb 2023 04:53:52 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A9122803481; Tue, 7 Feb 2023 09:53:51 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id A009C40CF8EF; Tue, 7 Feb 2023 09:53:51 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 70F611946597; Tue, 7 Feb 2023 09:53:41 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 584C819465A2 for ; Tue, 7 Feb 2023 09:53:35 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 3BE3F1415113; Tue, 7 Feb 2023 09:53:30 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast07.extmail.prod.ext.rdu2.redhat.com [10.11.55.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 346C3140EBF4 for ; Tue, 7 Feb 2023 09:53:30 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1829C3C0F191 for ; Tue, 7 Feb 2023 09:53:30 +0000 (UTC) Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-322-1ac_bCEiMXyGAQ6BT192XA-1; Tue, 07 Feb 2023 04:53:28 -0500 Received: by mail-ed1-f71.google.com with SMTP id d21-20020aa7c1d5000000b004a6e1efa7d0so9397564edp.19 for ; Tue, 07 Feb 2023 01:53:28 -0800 (PST) Received: from avogadro.local ([2001:b07:6468:f312:9af8:e5f5:7516:fa89]) by smtp.gmail.com with ESMTPSA id s11-20020a056402520b00b0049b5c746df7sm6232188edd.0.2023.02.07.01.53.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 01:53:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675763633; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=lKoXoQ1H3kSZP6ZeZDCToLJgBE91JbKRxLRp7sBxdZg=; b=IRfu6VRS8yzpT8mJ2mWTQLqcgzYPSFMzDPDTJKQljVsgmib8QNOK9LZSVeESlXy8fAKK2p UYw9FIXDXPMHVH9Z8NTCTgE+EDU390pUcI+1eOxeCAQUas1mntvhZWI5f6R26EVpH4vLbz OsGws8sTEf7a+5xnm0So1qU6Wq+Le9g= X-MC-Unique: xCKA6NL6N1qbDCpdNhYwtQ-1 X-Original-To: patchew-devel@listman.corp.redhat.com X-MC-Unique: 1ac_bCEiMXyGAQ6BT192XA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aXOThtHhF6U3Fh/xhh0ak4KKxtpN+E76ZyexLn4wzgY=; b=lNg9fo3tOJP3siF6Y1p8kfdaroeEOAdrmB0PWfyGmTxABl80reFl3Z+YqY+ebwjoPi oaYeNPfWKMdg98fdYpQib4NgqZK+H7EK9nnjy3FXrSJweoQAN+BoJ2KohkVX9UaGisDj u8MKbhpwYmYtNMR4sdfylT43HZjf11NRg5QBzvX8gktY0+7ESUwMofOLEMVmCg+6e7lp YWxZf0Ns7kPxpHz3Yhn3EwYmScfuY9LZc8bqDASOsbzoR7pkrRgzC17/OPe6XWvwFar7 jNKk8TGeQpmKpT0BeiqhkhSXzx2ZhXjxHCpoUAUOOl+rMG773fzYa1SB7Yw2Yaz3cHZj eo0A== X-Gm-Message-State: AO0yUKXMAI5d/gyOTs4+clFO8wPT1IJrkoKVxvcYKMqC7Uj8Wkq1C68g VoEybYZCtx7+9I3xMRXmCZbs4K5ETd6uce5eq5GVzHsR4JZ54gmKqcl/dM+3obqKGrwNRD5/ILM DndrCL8qV+8toJswzcMrgjjKuIksX9PlXSgD171d6zz0TGiuZ5Fq5GhRTlP3Pf2xenj/HPSvroZ cFdFc= X-Received: by 2002:a50:a451:0:b0:4aa:c186:56e1 with SMTP id v17-20020a50a451000000b004aac18656e1mr2946909edb.14.1675763607039; Tue, 07 Feb 2023 01:53:27 -0800 (PST) X-Google-Smtp-Source: AK7set/HujNeuyw66vdSQ5233U9SZOfKEeCQK/M0RPrM/+Q4auSM+ZPjjsUNbvlr6PPluDAVaMduSA== X-Received: by 2002:a50:a451:0:b0:4aa:c186:56e1 with SMTP id v17-20020a50a451000000b004aac18656e1mr2946897edb.14.1675763606834; Tue, 07 Feb 2023 01:53:26 -0800 (PST) From: Paolo Bonzini To: patchew-devel@redhat.com Date: Tue, 7 Feb 2023 10:53:15 +0100 Message-Id: <20230207095318.57814-3-pbonzini@redhat.com> In-Reply-To: <20230207095318.57814-1-pbonzini@redhat.com> References: <20230207095318.57814-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 Subject: [Patchew-devel] [PATCH 2/5] dockerfiles: use full paths to repositories X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: patchew-devel-bounces@redhat.com Sender: "Patchew-devel" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1675763635822100002 Content-Type: text/plain; charset="utf-8" These are required by newer versions of podman. Signed-off-by: Paolo Bonzini --- scripts/dockerfiles/applier.docker | 2 +- scripts/dockerfiles/db.docker | 2 +- scripts/dockerfiles/importer-lore.docker | 2 +- scripts/dockerfiles/importer.docker | 2 +- scripts/dockerfiles/server.docker | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/dockerfiles/applier.docker b/scripts/dockerfiles/appli= er.docker index dded23a..bbc92aa 100644 --- a/scripts/dockerfiles/applier.docker +++ b/scripts/dockerfiles/applier.docker @@ -1,4 +1,4 @@ -FROM fedora:latest +FROM registry.fedoraproject.org/fedora:latest RUN dnf install -y python git wget RUN git config --global user.email "applier@patchew.org" RUN git config --global user.name "Patchew Applier" diff --git a/scripts/dockerfiles/db.docker b/scripts/dockerfiles/db.docker index 80a34e5..2027ffa 100644 --- a/scripts/dockerfiles/db.docker +++ b/scripts/dockerfiles/db.docker @@ -1,4 +1,4 @@ -FROM postgres:11 +FROM docker.io/postgres:11 EXPOSE 5432 ENV POSTGRES_USER patchew ENV POSTGRES_PASSWORD patchew diff --git a/scripts/dockerfiles/importer-lore.docker b/scripts/dockerfiles= /importer-lore.docker index 1e7e14b..e36a63c 100644 --- a/scripts/dockerfiles/importer-lore.docker +++ b/scripts/dockerfiles/importer-lore.docker @@ -1,4 +1,4 @@ -FROM fedora:latest +FROM registry.fedoraproject.org/fedora:latest RUN dnf install -y python findutils git wget ENV LC_ALL en_US.UTF-8 COPY . /opt/patchew/ diff --git a/scripts/dockerfiles/importer.docker b/scripts/dockerfiles/impo= rter.docker index 56c31e2..cf86758 100644 --- a/scripts/dockerfiles/importer.docker +++ b/scripts/dockerfiles/importer.docker @@ -1,4 +1,4 @@ -FROM fedora:latest +FROM registry.fedoraproject.org/fedora:latest RUN dnf install -y python python3-distro offlineimap findutils wget ENV LC_ALL en_US.UTF-8 COPY . /opt/patchew/ diff --git a/scripts/dockerfiles/server.docker b/scripts/dockerfiles/server= .docker index 4b2a4ff..058208e 100644 --- a/scripts/dockerfiles/server.docker +++ b/scripts/dockerfiles/server.docker @@ -1,4 +1,4 @@ -FROM centos:8 +FROM quay.io/centos/centos:stream8 EXPOSE 80 RUN yum install -y epel-release RUN yum install -y git nginx xz findutils python3 python3-pip --=20 2.38.1 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://listman.redhat.com/mailman/listinfo/patchew-devel From nobody Wed May 1 14:25:29 2024 Delivered-To: importer2@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=patchew-devel-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1675763634; cv=none; d=zohomail.com; s=zohoarc; b=NMAeUiCHVYgzq445ePZwZnPvzo/0KBYRQAiJdjXOPOLqyozr2LkDDAMT/DcVNPLKXx1Cm8Go5Cc537olIzZ2iXxI1uqktbUkU6qkSpN8TpPlikEAvzwOEV7DWvtpTxRVS/j/G2fF1uHWwqsZbmpiL3oDXzAt4RjWzjklORwzDU0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1675763634; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ecSWgDdrcmMY+cP6Jn+P93h0nIOEDQsUsDG/B5LAADI=; b=it0nNTEhdnd+GljN/x/x+suZZpJqlTUz436e2qRg7kdjAtHFiPRQERji46R4g7BE/VSrl6hKcnXio97K3MeYI6WD4jP/3wTM+6smv7mI4zcdBT2f5ZpVXNyk/UG0fI0E6lk/N34Qe5i4KD49+y73CT0142nMPXfjFZLl/osQcnE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1675763634799835.5301573150283; Tue, 7 Feb 2023 01:53:54 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-658-C4lfFxPeOIyOr9QS3iXUtg-1; Tue, 07 Feb 2023 04:53:51 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BC78C80D0F1; Tue, 7 Feb 2023 09:53:50 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id B303D140EBF4; Tue, 7 Feb 2023 09:53:50 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 8C492194658C; Tue, 7 Feb 2023 09:53:40 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id EF52419465A2 for ; Tue, 7 Feb 2023 09:53:34 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id C5030492B22; Tue, 7 Feb 2023 09:53:34 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast08.extmail.prod.ext.rdu2.redhat.com [10.11.55.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BD6C5492B21 for ; Tue, 7 Feb 2023 09:53:34 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9CED33828884 for ; Tue, 7 Feb 2023 09:53:34 +0000 (UTC) Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-573-2o3oFg0MN5e51DcSOs2Vrg-1; Tue, 07 Feb 2023 04:53:30 -0500 Received: by mail-ej1-f70.google.com with SMTP id ti11-20020a170907c20b00b00886244203fcso10583692ejc.2 for ; Tue, 07 Feb 2023 01:53:30 -0800 (PST) Received: from avogadro.local ([2001:b07:6468:f312:9af8:e5f5:7516:fa89]) by smtp.gmail.com with ESMTPSA id n23-20020a1709062bd700b007a4e02e32ffsm6661553ejg.60.2023.02.07.01.53.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 01:53:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675763633; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=ecSWgDdrcmMY+cP6Jn+P93h0nIOEDQsUsDG/B5LAADI=; b=EaJMiJRMaAutxltfm/RTyGnyoFh4BTkE1I4Z62O/9q81E/kjrfKIGKdW7RvCLsgx8+UPOK aX6De8xy+RvkRLNLCCcF+hIVUHmrKfEh7lLBYVF7qAelHoOfiGBTdPMjRHbZB6B+qYWFJj NLvHMHrf99OG9e+ryl5+ex7//JhID4I= X-MC-Unique: C4lfFxPeOIyOr9QS3iXUtg-1 X-Original-To: patchew-devel@listman.corp.redhat.com X-MC-Unique: 2o3oFg0MN5e51DcSOs2Vrg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+JIbPOZ8ydPSB8k3sgwaT+c8CE+4HEE+JDPcuVZ/TgY=; b=ooThmPkhzO65RsE67w7J42hlZ7YA2mS/GGPEVgJANmqLA0p4CeMklDMroOf005D5Ly OrY4UUTXalEC5uFtc9UzpJUmzBblXV4w+ZTog+1auDpgM22OTyjRfJSoo3F5JBUCJ6IU PIdjR6Pdo+UtoJ/KPH2RKzR4SrIR9RaMuAEiplsFF7V5YGTlLW6ne+J0fir1YcmQN4d6 N96zvV9an/EqIKfhAVDZeF+I7r0QgKaa7ebHXeO++JB7WqNRDFLB+fqxeKqR6DBz5j1L xy9aXTtNz4YWyRcDM1kKbhFAub758CPD3wxjFvhlovyvq4GOBkgNT0qxj+j3SOHR2fzR aUOg== X-Gm-Message-State: AO0yUKX7iL8818mIzWr7LIy1oRRaz9P3OPwiFSgSNwHV1Lq2JsKyndH7 XkNtjhTmDahmti1a0yOMU92ogw6131F7X8IbCG/PxmG94rJ9I8nuM/7+8k8lnPSru32iLE50tKz WkPwvMRjpwIAeU5FsFqHyZpHbiThWAarhddxqNdhORBxVq+Mfk2kHRf9cj84HrNvIxeXxu4q/k9 BUT3w= X-Received: by 2002:a17:906:5f87:b0:878:5524:e932 with SMTP id a7-20020a1709065f8700b008785524e932mr2828983eju.5.1675763609300; Tue, 07 Feb 2023 01:53:29 -0800 (PST) X-Google-Smtp-Source: AK7set/cRhZka9CzIYbQeLWCa9wbvCTOZ+EE4nsYn2zPI4TFr1204JKYyLrO113R2ehY9rBYGwGfLQ== X-Received: by 2002:a17:906:5f87:b0:878:5524:e932 with SMTP id a7-20020a1709065f8700b008785524e932mr2828974eju.5.1675763609024; Tue, 07 Feb 2023 01:53:29 -0800 (PST) From: Paolo Bonzini To: patchew-devel@redhat.com Date: Tue, 7 Feb 2023 10:53:16 +0100 Message-Id: <20230207095318.57814-4-pbonzini@redhat.com> In-Reply-To: <20230207095318.57814-1-pbonzini@redhat.com> References: <20230207095318.57814-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 Subject: [Patchew-devel] [PATCH 3/5] playbooks: allow specifying postgresql host X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: patchew-devel-bounces@redhat.com Sender: "Patchew-devel" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1675763635821100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Paolo Bonzini --- scripts/playbooks/deploy-servers.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/playbooks/deploy-servers.yml b/scripts/playbooks/deplo= y-servers.yml index 18acb36..12cddb8 100644 --- a/scripts/playbooks/deploy-servers.yml +++ b/scripts/playbooks/deploy-servers.yml @@ -4,6 +4,10 @@ prompt: "Instance name of the webserver" default: patchew-server private: no + - name: db_host + prompt: "Host for PostgreSQL database (empty =3D SQLite)" + default: "" + private: no - name: superuser_name prompt: "Admin account to create (optional)" default: "" @@ -16,7 +20,8 @@ base_dir: "/data/{{ instance_name }}" src_dir: "{{ base_dir }}/src" data_dir: "{{ base_dir }}/data" - docker_run_args: "--link {{ instance_name }}-db:patchew-db" + db_arg: "{{ '-e PATCHEW_DB_PORT_5432_TCP_ADDR=3D' if db_host !=3D '' e= lse '' }}{{ db_host }}" + docker_run_args: "--link {{ instance_name }}-db:patchew-db {{db_arg}}" tasks: - name: Create data dir file: --=20 2.38.1 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://listman.redhat.com/mailman/listinfo/patchew-devel From nobody Wed May 1 14:25:29 2024 Delivered-To: importer2@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=patchew-devel-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1675763619; cv=none; d=zohomail.com; s=zohoarc; b=B2WT2NgrBfCSx0ap2om8UWXnMkePEGBByaunXxlyx+m+CTr7NvFE7hufjbTqG0I4MlIKb3ByHTbceL+XhU+ZP8PMn55nSpnRGniaeks5eJHQwkl2sLnNgr5vtqSDWAHnHDlF45z8oN2d0X7U2rWRCvG6NnzDI0lo3EV7xCiQECE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1675763619; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=pP3SXg925paMQWhgzmM4Jw2ztgQE4x+K+HbFsNqVa4U=; b=km54pYl0RSEwoupP+eRuzq35BtAHSzF1bpR1kM/Rcn92t+Yn2JMnIPrRXx6B2Ia4nmkRyQ75JQkhcLEmMEI4i9a3dI6rCeZtHWrBkoGccV7FbOPW4Oa8GodkHG1SgdXSNq4u/zQr2olvHBjPcAPN20xaYWWcwyLddGXVqYtZdIE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1675763619457881.8170888185931; Tue, 7 Feb 2023 01:53:39 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-502-_KBy6YeDMjOxHPOeeOz13Q-1; Tue, 07 Feb 2023 04:53:37 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C273680D0F3; Tue, 7 Feb 2023 09:53:36 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id BA2AB40398A0; Tue, 7 Feb 2023 09:53:36 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 5A2E619465A3; Tue, 7 Feb 2023 09:53:36 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 29F2919465A2 for ; Tue, 7 Feb 2023 09:53:35 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 0F59B1121315; Tue, 7 Feb 2023 09:53:35 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast08.extmail.prod.ext.rdu2.redhat.com [10.11.55.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 072511121314 for ; Tue, 7 Feb 2023 09:53:34 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D90B53828884 for ; Tue, 7 Feb 2023 09:53:34 +0000 (UTC) Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-257-HWxVRMaiO-SlAlpHCcJV-w-1; Tue, 07 Feb 2023 04:53:33 -0500 Received: by mail-ed1-f69.google.com with SMTP id bq13-20020a056402214d00b004a25d8d7593so9520781edb.0 for ; Tue, 07 Feb 2023 01:53:33 -0800 (PST) Received: from avogadro.local ([2001:b07:6468:f312:9af8:e5f5:7516:fa89]) by smtp.gmail.com with ESMTPSA id v26-20020a17090690da00b0086ffe8a00fdsm6577870ejw.84.2023.02.07.01.53.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 01:53:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675763618; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=pP3SXg925paMQWhgzmM4Jw2ztgQE4x+K+HbFsNqVa4U=; b=UygrkG/Yf4/8h8h/AjTmSMNd8eCG1psxdPapXnSwrOj0/egQHwOnSZPnCBksTaYnCAFXWR j0q+4P7FOUwiW2F0+MxC56QsU/ur4YSMIEjvjR9dKro4fe3TsjMzGxTjEmtk9riKubUrQV c51kq+p7DV1/sV6bePE0kzaJ8wuVzhY= X-MC-Unique: _KBy6YeDMjOxHPOeeOz13Q-1 X-Original-To: patchew-devel@listman.corp.redhat.com X-MC-Unique: HWxVRMaiO-SlAlpHCcJV-w-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KmLwCHtsYSOi4jfI2vqAGvaHHq9OdhmEL69NmWrY2Og=; b=Jk8I+VOwErfhaoBUpacvMdstmmSbWc9zyTkxUK5DhBhS1l2STRz6fr+AJ8wrAQDS0B sVGG2rCCxFJwGqijTXTFGvtR2sEjEUgsCgZaV5beDfyVt6zmv5jwRw8DlkBmu/tEkxbR AkOs8VulOZa71XTVbWfjggfnzHauyMB9eFTyzhiUjcYIBK3v3dKVVgpKe2kxjX5Jo/hf 7d3pPveIMutNScWQAu3ht6nTMehjCtY4ITxo5o7A8ww7VMAmZOsRc/SB8VkF5Y2z28aV NaoT13nS/vr3P2700A9KPx/FPlVnFjhfEOxImd4ZtVdKvjzboA9jrk3H63a0JrNLiGUs crBQ== X-Gm-Message-State: AO0yUKVY9VI3KXzLcNnuen6M7D5qF/02v20DNbJBch/CG+7+4Ly5M51d f+gqyGLr9sWKzpl71b26nwRLJNu6j/6eRPPOpOBcjvmo/l/KG1ySQ/p1yKwxRJuTWI7QszusqmT WLX27GGJ4nntKRJekoen90UhZly05xar80Q1++D8AHQNjTQZ4KaIhIvnAI+J+nIY0RNeYSIrgRT HNm7w= X-Received: by 2002:a17:906:30cd:b0:88d:d304:3423 with SMTP id b13-20020a17090630cd00b0088dd3043423mr2588752ejb.70.1675763611946; Tue, 07 Feb 2023 01:53:31 -0800 (PST) X-Google-Smtp-Source: AK7set/M9iQlZzgUU0SnRHiKZSdJpTQb4FjgNKjvaC7ByuGel+1f5SVgEs2Ua01aOziaUnJVvNIoqA== X-Received: by 2002:a17:906:30cd:b0:88d:d304:3423 with SMTP id b13-20020a17090630cd00b0088dd3043423mr2588739ejb.70.1675763611636; Tue, 07 Feb 2023 01:53:31 -0800 (PST) From: Paolo Bonzini To: patchew-devel@redhat.com Date: Tue, 7 Feb 2023 10:53:17 +0100 Message-Id: <20230207095318.57814-5-pbonzini@redhat.com> In-Reply-To: <20230207095318.57814-1-pbonzini@redhat.com> References: <20230207095318.57814-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 Subject: [Patchew-devel] [PATCH 4/5] playbooks: allow specifying custom container root X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: patchew-devel-bounces@redhat.com Sender: "Patchew-devel" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1675763619813100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Paolo Bonzini --- scripts/playbooks/deploy-appliers.yml | 6 +++++- scripts/playbooks/deploy-db.yml | 6 +++++- scripts/playbooks/deploy-importers-lore.yml | 6 +++++- scripts/playbooks/deploy-importers.yml | 6 +++++- scripts/playbooks/deploy-servers.yml | 6 +++++- 5 files changed, 25 insertions(+), 5 deletions(-) diff --git a/scripts/playbooks/deploy-appliers.yml b/scripts/playbooks/depl= oy-appliers.yml index 18edac7..fa5118e 100644 --- a/scripts/playbooks/deploy-appliers.yml +++ b/scripts/playbooks/deploy-appliers.yml @@ -4,6 +4,10 @@ prompt: "The instance name" default: patchew-applier private: no + - name: container_dir + prompt: "The base directory for the container" + default: /data + private: no - name: "patchew_server" prompt: "The address of patchew server" default: "https://patchew.org" @@ -23,7 +27,7 @@ default: "" private: no vars: - base_dir: "/data/{{ instance_name }}" + base_dir: "{{ container_dir }}/{{ instance_name }}" src_dir: "{{ base_dir }}/src" data_dir: "{{ base_dir }}/data" config_file: "{{ data_dir }}/config" diff --git a/scripts/playbooks/deploy-db.yml b/scripts/playbooks/deploy-db.= yml index 2b69995..2bb514f 100644 --- a/scripts/playbooks/deploy-db.yml +++ b/scripts/playbooks/deploy-db.yml @@ -4,8 +4,12 @@ prompt: "Instance name of the patchew postgres db" default: patchew-server-db private: no + - name: container_dir + prompt: "The base directory for the container" + default: /data + private: no vars: - base_dir: "/data/{{ instance_name }}" + base_dir: "{{ container_dir }}/{{ instance_name }}" src_dir: "{{ base_dir }}/src" data_dir: "{{ base_dir }}/data" tasks: diff --git a/scripts/playbooks/deploy-importers-lore.yml b/scripts/playbook= s/deploy-importers-lore.yml index 9f80d93..0ccbf8e 100644 --- a/scripts/playbooks/deploy-importers-lore.yml +++ b/scripts/playbooks/deploy-importers-lore.yml @@ -4,6 +4,10 @@ prompt: "The instance name" default: patchew-importer-lore private: no + - name: container_dir + prompt: "The base directory for the container" + default: /data + private: no - name: "patchew_server" prompt: "The address of patchew server" default: "https://patchew.org" @@ -20,7 +24,7 @@ default: "https://lore.kernel.org/lkml/" private: no vars: - base_dir: "/data/{{ instance_name }}" + base_dir: "{{ container_dir }}/{{ instance_name }}" src_dir: "{{ base_dir }}/src" data_dir: "{{ base_dir }}/data" config_file: "{{ data_dir }}/config" diff --git a/scripts/playbooks/deploy-importers.yml b/scripts/playbooks/dep= loy-importers.yml index 8d362ee..1ef6c80 100644 --- a/scripts/playbooks/deploy-importers.yml +++ b/scripts/playbooks/deploy-importers.yml @@ -4,6 +4,10 @@ prompt: "The instance name" default: patchew-importer private: no + - name: container_dir + prompt: "The base directory for the container" + default: /data + private: no - name: "patchew_server" prompt: "The address of patchew server" default: "https://patchew.org" @@ -41,7 +45,7 @@ default: "y" private: no vars: - base_dir: "/data/{{ instance_name }}" + base_dir: "{{ container_dir }}/{{ instance_name }}" src_dir: "{{ base_dir }}/src" data_dir: "{{ base_dir }}/data" config_file: "{{ data_dir }}/config" diff --git a/scripts/playbooks/deploy-servers.yml b/scripts/playbooks/deplo= y-servers.yml index 12cddb8..bf709a0 100644 --- a/scripts/playbooks/deploy-servers.yml +++ b/scripts/playbooks/deploy-servers.yml @@ -4,6 +4,10 @@ prompt: "Instance name of the webserver" default: patchew-server private: no + - name: container_dir + prompt: "The base directory for the container" + default: /data + private: no - name: db_host prompt: "Host for PostgreSQL database (empty =3D SQLite)" default: "" @@ -17,7 +21,7 @@ default: "adminpass" private: yes vars: - base_dir: "/data/{{ instance_name }}" + base_dir: "{{ container_dir }}/{{ instance_name }}" src_dir: "{{ base_dir }}/src" data_dir: "{{ base_dir }}/data" db_arg: "{{ '-e PATCHEW_DB_PORT_5432_TCP_ADDR=3D' if db_host !=3D '' e= lse '' }}{{ db_host }}" --=20 2.38.1 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://listman.redhat.com/mailman/listinfo/patchew-devel From nobody Wed May 1 14:25:29 2024 Delivered-To: importer2@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=patchew-devel-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1675763640; cv=none; d=zohomail.com; s=zohoarc; b=Hz1/DNVgfDFOP4U+TGnuyr4rsuxOJ9TWLpE+ImjWZOEWkZV1tuppJh8+9k9x7zMcSbQyJ3lkHdodJRFZmX8GCAOnVHdarfEFMhiNNDCbDNSDaRo+i8AKPHnExNwSR2HdlulOghVtPB9OhZetnSU+STnICYXmzc0Msa/rB20wxGE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1675763640; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=jI8GE8f4uy1WFlTXQ/1kUpQvp/MymUOBeLFdFrLx41c=; b=Q//vaogP6ODx5AyoL8sgO4W70apTe0cJ++sWGl0NBQaBrrqfS+RvbLBRFKxGYwS/OC9w1eZ4ste7HR5xOrsFq4jz//rQmx5RjJs8YMVDlFLck/85yK3bgEm1JoITW3+YQu/gIasnyEmSi/pENNdYLRWBQnZUGIbdeWPHumeC6EE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1675763640119491.0370714229815; Tue, 7 Feb 2023 01:54:00 -0800 (PST) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-673-Czc4VO98PPSYL9itj8pmTA-1; Tue, 07 Feb 2023 04:53:56 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C64471C0A584; Tue, 7 Feb 2023 09:53:55 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id BD87F1121314; Tue, 7 Feb 2023 09:53:55 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id AA6C71946594; Tue, 7 Feb 2023 09:53:50 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 7CD9E1946589 for ; Tue, 7 Feb 2023 09:53:37 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 536A914171B8; Tue, 7 Feb 2023 09:53:37 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast05.extmail.prod.ext.rdu2.redhat.com [10.11.55.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4BA4F14171B6 for ; Tue, 7 Feb 2023 09:53:37 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2EB1985C6F4 for ; Tue, 7 Feb 2023 09:53:37 +0000 (UTC) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-613-Fra4WLm-OLuvlfYqzSne6w-1; Tue, 07 Feb 2023 04:53:35 -0500 Received: by mail-ed1-f70.google.com with SMTP id s3-20020a50ab03000000b0049ec3a108beso9578428edc.7 for ; Tue, 07 Feb 2023 01:53:35 -0800 (PST) Received: from avogadro.local ([2001:b07:6468:f312:9af8:e5f5:7516:fa89]) by smtp.gmail.com with ESMTPSA id u26-20020aa7d55a000000b004a0b0cd2e45sm6194387edr.75.2023.02.07.01.53.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 01:53:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675763639; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=jI8GE8f4uy1WFlTXQ/1kUpQvp/MymUOBeLFdFrLx41c=; b=dB2zjAIUWf6dq1CPPx9NvSFE4OFmMkq/lA44GEUafOIUxLfuUjMlFKofd2QIxltphXG7gJ 4NXN9zejA/mijcnR+9fVOGaCE9JJEg+RopS7s04Uqxy2ThXQ8Y0S/5aRfPWswSWicgr4Ta Cwp6jm2KFB5NkJoFkDZXnhVoWb0Sji0= X-MC-Unique: Czc4VO98PPSYL9itj8pmTA-1 X-Original-To: patchew-devel@listman.corp.redhat.com X-MC-Unique: Fra4WLm-OLuvlfYqzSne6w-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hOjwhSmPn8ute01r7SQZde2hVgSIR9uy7jVDDBK7QhA=; b=o+cLJfIxM6r1HLl0IzK8wpBcI/IhnSPGlqWE9afTKKLSWXCC4wNtyaHoOpRWGYeBNO uGF3KsKP+eEjUp3m9K/+8J/1Nus662LXq/EoS1XC4V8af55qeuTo5Hom2mZGgt/NHnaz WXWGZQyROsCAqH415PYOKgTbVbomMv6Bb9/mb1Iw0MdS3feZEcyyW+3UZDs/JHMn+zuX ilG4EGKVHP/wCcS1uWXpfOc1LlXEObAps521yWy9Y6egzJkJfYUqTzQrc2Zq4+tXqkXj Z4U2tvkHPwukl++HmytdWi1YnIo/SJW4j9R052e/0eN4wOJwUfzmDu8C2VQH2UZEzjCb Pq9w== X-Gm-Message-State: AO0yUKWSNQ0s636dHxFgDJXLDUQDExkkadmLfp1kaHYyYfbMb4JLLOeo uW1uyPc/EiwiNQviR5HG5W4KmZdAt7bh7IpwiXRGrzf521XbzXY7HHsh2ap5m3ahp/eVlAympam aNa/ldugOaeHTkmeopMsAI5DN6YhKJzVP+Gl1VRYLEKH/qLPQMpafbnaYWZbggh1ryHr8ZsmyKX 63o5U= X-Received: by 2002:a50:d695:0:b0:49d:a87f:ba7b with SMTP id r21-20020a50d695000000b0049da87fba7bmr2998222edi.39.1675763614486; Tue, 07 Feb 2023 01:53:34 -0800 (PST) X-Google-Smtp-Source: AK7set/Ejs+uDBEnBXpWGk6CFnmGytvBf+XH2/dsXMdSlT2gffJjO++kyg+RbiBKHTsqNY6TsaQ9aA== X-Received: by 2002:a50:d695:0:b0:49d:a87f:ba7b with SMTP id r21-20020a50d695000000b0049da87fba7bmr2998199edi.39.1675763614112; Tue, 07 Feb 2023 01:53:34 -0800 (PST) From: Paolo Bonzini To: patchew-devel@redhat.com Date: Tue, 7 Feb 2023 10:53:18 +0100 Message-Id: <20230207095318.57814-6-pbonzini@redhat.com> In-Reply-To: <20230207095318.57814-1-pbonzini@redhat.com> References: <20230207095318.57814-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 Subject: [Patchew-devel] [PATCH 5/5] playbooks: switch from docker to podman X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: patchew-devel-bounces@redhat.com Sender: "Patchew-devel" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1675763641851100003 Content-Type: text/plain; charset="utf-8" This has been tested on a CentOS Stream 9 host. Signed-off-by: Paolo Bonzini --- scripts/playbooks/deploy-appliers.yml | 2 +- scripts/playbooks/deploy-db.yml | 7 ++- scripts/playbooks/deploy-importers-lore.yml | 4 +- scripts/playbooks/deploy-importers.yml | 2 +- scripts/playbooks/deploy-servers.yml | 10 +++- .../{docker-deploy.yml =3D> podman-deploy.yml} | 55 ++++++++++--------- .../{docker.service.j2 =3D> podman.service.j2} | 12 ++-- 7 files changed, 50 insertions(+), 42 deletions(-) rename scripts/playbooks/tasks/{docker-deploy.yml =3D> podman-deploy.yml} = (45%) rename scripts/playbooks/templates/{docker.service.j2 =3D> podman.service.= j2} (38%) diff --git a/scripts/playbooks/deploy-appliers.yml b/scripts/playbooks/depl= oy-appliers.yml index fa5118e..863c167 100644 --- a/scripts/playbooks/deploy-appliers.yml +++ b/scripts/playbooks/deploy-appliers.yml @@ -47,6 +47,6 @@ template: src: "templates/applier-config.j2" dest: "{{ config_file }}" - - import_tasks: tasks/docker-deploy.yml + - import_tasks: tasks/podman-deploy.yml vars: instance_role: applier diff --git a/scripts/playbooks/deploy-db.yml b/scripts/playbooks/deploy-db.= yml index 2bb514f..daac7b5 100644 --- a/scripts/playbooks/deploy-db.yml +++ b/scripts/playbooks/deploy-db.yml @@ -12,11 +12,16 @@ base_dir: "{{ container_dir }}/{{ instance_name }}" src_dir: "{{ base_dir }}/src" data_dir: "{{ base_dir }}/data" + podman_run_args: "--net patchew" tasks: - name: Create data dir file: path: "{{ data_dir }}" state: directory - - import_tasks: tasks/docker-deploy.yml + - name: Create podman network + containers.podman.podman_network: + name: patchew + become: true + - import_tasks: tasks/podman-deploy.yml vars: instance_role: db diff --git a/scripts/playbooks/deploy-importers-lore.yml b/scripts/playbook= s/deploy-importers-lore.yml index 0ccbf8e..ab76ba6 100644 --- a/scripts/playbooks/deploy-importers-lore.yml +++ b/scripts/playbooks/deploy-importers-lore.yml @@ -28,7 +28,7 @@ src_dir: "{{ base_dir }}/src" data_dir: "{{ base_dir }}/data" config_file: "{{ data_dir }}/config" - docker_run_args: "--init" + podman_run_args: "--init" tasks: - name: Create data dir file: @@ -38,6 +38,6 @@ template: src: "templates/importer-lore-config.j2" dest: "{{ config_file }}" - - import_tasks: tasks/docker-deploy.yml + - import_tasks: tasks/podman-deploy.yml vars: instance_role: importer-lore diff --git a/scripts/playbooks/deploy-importers.yml b/scripts/playbooks/dep= loy-importers.yml index 1ef6c80..3711dbd 100644 --- a/scripts/playbooks/deploy-importers.yml +++ b/scripts/playbooks/deploy-importers.yml @@ -58,6 +58,6 @@ template: src: "templates/importer-config.j2" dest: "{{ config_file }}" - - import_tasks: tasks/docker-deploy.yml + - import_tasks: tasks/podman-deploy.yml vars: instance_role: importer diff --git a/scripts/playbooks/deploy-servers.yml b/scripts/playbooks/deplo= y-servers.yml index bf709a0..6b81f9a 100644 --- a/scripts/playbooks/deploy-servers.yml +++ b/scripts/playbooks/deploy-servers.yml @@ -25,19 +25,23 @@ src_dir: "{{ base_dir }}/src" data_dir: "{{ base_dir }}/data" db_arg: "{{ '-e PATCHEW_DB_PORT_5432_TCP_ADDR=3D' if db_host !=3D '' e= lse '' }}{{ db_host }}" - docker_run_args: "--link {{ instance_name }}-db:patchew-db {{db_arg}}" + podman_run_args: "--net patchew {{db_arg}}" tasks: - name: Create data dir file: path: "{{ data_dir }}" state: directory - - import_tasks: tasks/docker-deploy.yml + - name: Create podman network + containers.podman.podman_network: + name: patchew + become: true + - import_tasks: tasks/podman-deploy.yml vars: instance_role: server - name: Create superuser when: superuser_name !=3D "" shell: | - docker exec -i {{ instance_name }} bash -c " + podman exec -i {{ instance_name }} bash -c " cd /opt/patchew && . venv/bin/activate && ./manage.py migrate && diff --git a/scripts/playbooks/tasks/docker-deploy.yml b/scripts/playbooks/= tasks/podman-deploy.yml similarity index 45% rename from scripts/playbooks/tasks/docker-deploy.yml rename to scripts/playbooks/tasks/podman-deploy.yml index 2cd2f32..6d7792f 100644 --- a/scripts/playbooks/tasks/docker-deploy.yml +++ b/scripts/playbooks/tasks/podman-deploy.yml @@ -4,27 +4,17 @@ name: rsync - name: Install pip package: - name: python-pip -- name: Install docker + name: python3-pip +- name: Install podman package: - name: docker -- name: Start docker daemon - service: - name: docker - state: started -- name: Install docker python library for ansible - pip: - name: docker-py -- name: Install SELinux python bindings (for systemd setup) - package: - name: libselinux-python + name: podman - name: Stop systemd service for "{{ instance_name }}" service: name: "{{ instance_name }}" state: stopped ignore_errors: yes -- name: Stop docker instance - docker_container: +- name: Stop podman instance + containers.podman.podman_container: name: "{{ instance_name }}" state: absent - name: Create patchew data folder @@ -40,27 +30,38 @@ owner: no delete: yes rsync_opts: + - "--exclude=3D__pycache__" - "--exclude=3D*.pyc" - - "--exclude=3D*.swp" + - "--exclude=3D*.pyo" + - "--exclude=3D*.sw*" - "--exclude=3D/venv" -- name: Delete old docker image stash - docker_image: - force_absent: yes +- name: Check for existing backup image + containers.podman.podman_image_info: name: "patchew:{{ instance_name }}-prev" - state: absent -- name: Stash docker image - shell: docker tag "patchew:{{ instance_name }}" "patchew:{{ instance_nam= e }}-prev" || true -- name: Rebuild docker image - # docker_image module doesn't work on Fedora - shell: docker build -t "patchew:{{ instance_name }}" -f "{{ src_dir }}/s= cripts/dockerfiles/{{ instance_role }}.docker" "{{ src_dir }}" + register: prev_image +- name: Delete old podman image stash + shell: "podman untag 'patchew:{{ instance_name }}-prev'" + when: prev_image.images +- name: Check for existing image + containers.podman.podman_image_info: + name: "patchew:{{ instance_name }}" + register: current_image +- name: Stash podman image + containers.podman.podman_tag: + image: "patchew:{{ instance_name }}" + target_names: "patchew:{{ instance_name }}-prev" + when: current_image.images +- name: Rebuild podman image + # docker_image module wants a file named Dockerfile + shell: "podman build -t 'patchew:{{ instance_name }}' -f '{{ src_dir }}/= scripts/dockerfiles/{{ instance_role }}.docker' '{{ src_dir }}'" - name: Install systemd service template: - src: "templates/docker.service.j2" + src: "templates/podman.service.j2" dest: "/etc/systemd/system/{{ instance_name }}.service" - name: Systemd daemon reload systemd: daemon_reload: yes -- name: Start docker instance +- name: Start podman instance service: name: "{{ instance_name }}" state: restarted diff --git a/scripts/playbooks/templates/docker.service.j2 b/scripts/playbo= oks/templates/podman.service.j2 similarity index 38% rename from scripts/playbooks/templates/docker.service.j2 rename to scripts/playbooks/templates/podman.service.j2 index 85dd9d2..e1edfb9 100644 --- a/scripts/playbooks/templates/docker.service.j2 +++ b/scripts/playbooks/templates/podman.service.j2 @@ -1,18 +1,18 @@ [Unit] -Description=3DPatchew docker instance control service for {{ instance_name= }} -Requires=3Ddocker.service -After=3Ddocker.service +Description=3DPatchew podman instance control service for {{ instance_name= }} +Requires=3Dnetwork.target +After=3Dnetwork.target StartLimitIntervalSec=3D0 =20 [Service] Restart=3Dalways -ExecStartPre=3D-/usr/bin/docker stop {{ instance_name }} ; -/usr/bin/docke= r rm {{ instance_name }} -ExecStart=3D/usr/bin/docker run --privileged --name {{ instance_name }} \ +ExecStartPre=3D-podman stop {{ instance_name }} ; -podman rm {{ instance_n= ame }} +ExecStart=3Dpodman run --privileged --name {{ instance_name }} \ -v {{ data_dir }}:/data/patchew:rw \ -e PATCHEW_DATA_DIR=3D/data/patchew \ - {{ docker_run_args | default() }} \ + {{ podman_run_args | default() }} \ patchew:{{ instance_name }} -ExecStop=3D/usr/bin/docker stop -t 10 {{ instance_name }} +ExecStop=3Dpodman stop -t 10 {{ instance_name }} RestartSec=3D60 =20 [Install] --=20 2.38.1 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://listman.redhat.com/mailman/listinfo/patchew-devel