From patchwork Mon Jun 27 18:13:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pranith Kumar X-Patchwork-Id: 9201087 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 E32C460757 for ; Mon, 27 Jun 2016 18:15:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9A78285AC for ; Mon, 27 Jun 2016 18:15:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CBF02285AF; Mon, 27 Jun 2016 18:15:04 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 C4FDA285AC for ; Mon, 27 Jun 2016 18:15:03 +0000 (UTC) Received: from localhost ([::1]:60338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHb3m-0002n0-VA for patchwork-qemu-devel@patchwork.kernel.org; Mon, 27 Jun 2016 14:15:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHb2H-0001gU-Nm for qemu-devel@nongnu.org; Mon, 27 Jun 2016 14:13:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHb2C-0004yl-Ej for qemu-devel@nongnu.org; Mon, 27 Jun 2016 14:13:28 -0400 Received: from mail-qk0-x243.google.com ([2607:f8b0:400d:c09::243]:32936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHb2C-0004yh-Ai for qemu-devel@nongnu.org; Mon, 27 Jun 2016 14:13:24 -0400 Received: by mail-qk0-x243.google.com with SMTP id n132so2590799qka.0 for ; Mon, 27 Jun 2016 11:13:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=noQCWqqA5wbQCwKjKKlKkzBtLN7ZlpPprBVd2HWTn+Y=; b=yxMsrcYf/XmcP/3SXOT7zqL06mGOBOVa0RcL/Kvcnx7xdEJPaQiqPcTNlOU/qGuGDL MUjxRN6MuTSB/zvGFlm+kt3VbbYnQ0oDanfi2JzELGjFdvSDI3huL/ir8ocWfuEhpVOI VyVHNa7LSaYesdbXbR3bVx6f37ih01HXNwl01H1WQaFnOyXLth4rLbr51hcvP25xVWjG DwDYQLTjI0DomfxKuM5BdB0x+P5+Kkt47paJgVEK1OxwwGCIcnpYqLiM0yIhColXag0I LdF0PkpixGEW2DONjv2LrigZnv/PC28VwcT60PUSyMx86ePpRCnWtrrTx4dw4zHfOqxp uBdg== 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; bh=noQCWqqA5wbQCwKjKKlKkzBtLN7ZlpPprBVd2HWTn+Y=; b=Y7WOJwL1ENY8Kydmqd+4eWR67T0BC6xt/W3OpfEGnw9+UYuMUNTGK3nU4Lyykyyzrg ptDIixWNBVc+RbPJPmH3e8m85MsxaL9mqQjmohuUztoZ+9+9wA2MdGfHYOaFpe1cS/8P z8llCTX9MvqCuvJg6WwUBcpaeUtEIXsDKxlE4e4KIx3AKLG3Y0/NNKmn40UN5JYSsl0c EDA2FMXz/g9egGzbpoyNUpSnSyKOqfLUHuWJlMbdJ+SiYXGMSlLeDsCsrqEEsbR3UXOZ loPZtzyS8azyohmtScrkjsz/JTAqt73cR47JhJIPomvmGIJ6pEbtW2ehotOOC4FsDk2r HmgA== X-Gm-Message-State: ALyK8tIG7Spd0U1RpAGgUK0UNJCjAPnXPgbllY0H4ob4WZbtnFcFJxL2WmP28uNcuUCQqQ== X-Received: by 10.13.230.82 with SMTP id p79mr12366357ywe.125.1467051203873; Mon, 27 Jun 2016 11:13:23 -0700 (PDT) Received: from evgadesktop.attlocal.net (108-232-152-155.lightspeed.tukrga.sbcglobal.net. [108.232.152.155]) by smtp.gmail.com with ESMTPSA id k5sm1783380ywd.50.2016.06.27.11.13.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Jun 2016 11:13:23 -0700 (PDT) From: Pranith Kumar To: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org (open list:-----------------...) Date: Mon, 27 Jun 2016 14:13:22 -0400 Message-Id: <20160627181322.17082-1-bobby.prani@gmail.com> X-Mailer: git-send-email 2.9.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c09::243 Subject: [Qemu-devel] [PATCH v2] .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: serge.fdrv@gmail.com, peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 CC: serge.fdrv@gmail.com CC: peter.maydell@linaro.org --- v2: Add comment about what the string is and how the string is generated .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: