From patchwork Tue Jul 19 08:01:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 9236305 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BAB6660574 for ; Tue, 19 Jul 2016 08:02:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD7A42015F for ; Tue, 19 Jul 2016 08:02:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A2617205AA; Tue, 19 Jul 2016 08:02:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9E3702015F for ; Tue, 19 Jul 2016 08:02:02 +0000 (UTC) Received: from localhost ([::1]:53508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPPyb-0000M9-Pv for patchwork-qemu-devel@patchwork.kernel.org; Tue, 19 Jul 2016 04:02:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPPy4-0008TO-R0 for qemu-devel@nongnu.org; Tue, 19 Jul 2016 04:01:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPPxz-0004Jd-S2 for qemu-devel@nongnu.org; Tue, 19 Jul 2016 04:01:27 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:35367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPPxz-0004J1-LN for qemu-devel@nongnu.org; Tue, 19 Jul 2016 04:01:23 -0400 Received: by mail-wm0-x22d.google.com with SMTP id f65so129929573wmi.0 for ; Tue, 19 Jul 2016 01:01:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=j6WmgaOQyMBUn7gEt60ISU3hwsaMfEdl1OYjFrg0bSY=; b=Gwwkx7XXKXdoIAhYVqFVfX8sIXxuCuTzRNateUtvG48N5IfZDNtYgwL6QN3VCzMZ53 YTf9dfVXTV77eH/UlLF2nWxwtm7xA9uCDF7j+O+eNl+JdRa/QHkGtQKoIHHdN6JwUhhl chc2JOWAW5QoevLIOoXd7qb7h0bRMZR6GqJ5o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=j6WmgaOQyMBUn7gEt60ISU3hwsaMfEdl1OYjFrg0bSY=; b=D5rZhgFy9L7XeefYU7dzcChAgjGYIrY9ZV31EWOoI/XROocJ+tBT0CABv/Yn8/o73R QxSRGdk1zjigCOB8hEh7v+P+Itc875wip1Zf/KbH2andQAz8NtL841ldYMyuKGMxySHW wGtguS/h/wKwYX+WLkveeTqV8frbvx59a1tP39JKBL5BizBLpQF8qIfB2f7sltcG9OgR /7+9OCVEf7mghQC9KFzbmno4eZGR6PasDzRQjxOiv3TYJNmiFwzyhGka7HQjrfnDa8r5 0iOfFEWxg9odSUrxYuAVFQjoAok3ZjcfOAipPBJNA3/v60yWOwRoMoMH3B+1WONLjQzT 162g== X-Gm-Message-State: ALyK8tIEYcPNs7rqy7+/J5wOlX01H1I7673nqp+6RcO3cFXj67Pp5moJh8EeOYNJa7ePB8PR X-Received: by 10.194.184.244 with SMTP id ex20mr5350322wjc.55.1468915282851; Tue, 19 Jul 2016 01:01:22 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id r1sm5301843wjt.13.2016.07.19.01.01.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jul 2016 01:01:19 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 520353E0404; Tue, 19 Jul 2016 09:01:22 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 19 Jul 2016 09:01:15 +0100 Message-Id: <1468915275-16344-2-git-send-email-alex.bennee@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1468915275-16344-1-git-send-email-alex.bennee@linaro.org> References: <1468915275-16344-1-git-send-email-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22d Subject: [Qemu-devel] [PULL] .travis.yml: Disable IRC build status updates from forks X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pranith Kumar , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Pranith Kumar We want the travis build bot to post notifications on IRC only for the master qemu repository and not the various forks/branches of others. Currently there is no direct option to restrict the updates to one repository. This is being worked upon by the developers and tracked in https://github.com/travis-ci/travis-ci/issues/1094. Until such time, we can use the workaround as posted in ref. https://github.com/facebook/flow/pull/1822. This basically creates an ecrypted string which decrypts to qemu IRC channel only on "qemu/qemu" repo and not on the forks. This enables the build bot to notify the IRC only for the main repo. Signed-off-by: Pranith Kumar Signed-off-by: Alex Bennée --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c13881e..f30b10e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,10 +34,13 @@ addons: - sparse - uuid-dev +# The channel name "irc.oftc.net#qemu" is encrypted against qemu/qemu +# to prevent IRC notifications from forks. This was created using: +# $ travis encrypt -r "qemu/qemu" "irc.oftc.net#qemu" notifications: irc: channels: - - "irc.oftc.net#qemu" + - secure: "F7GDRgjuOo5IUyRLqSkmDL7kvdU4UcH3Lm/W2db2JnDHTGCqgEdaYEYKciyCLZ57vOTsTsOgesN8iUT7hNHBd1KWKjZe9KDTZWppWRYVwAwQMzVeSOsbbU4tRoJ6Pp+3qhH1Z0eGYR9ZgKYAoTumDFgSAYRp4IscKS8jkoedOqM=" on_success: change on_failure: always env: