[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2] .travis.yml: Disable IRC build status updates fr

From: Pranith Kumar
Subject: [Qemu-devel] [PATCH v2] .travis.yml: Disable IRC build status updates from forks
Date: Mon, 27 Jun 2016 14:13:22 -0400

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 <address@hidden>
CC: address@hidden
CC: address@hidden
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"
-      - "irc.oftc.net#qemu"
+      - secure: 
     on_success: change
     on_failure: always

reply via email to

[Prev in Thread] Current Thread [Next in Thread]