You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2018/03/10 00:51:09 UTC

[kafka] branch 0.10.2 updated: MINOR: Tag AWS instances with Jenkins build url (#4657)

This is an automated email from the ASF dual-hosted git repository.

ijuma pushed a commit to branch 0.10.2
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/0.10.2 by this push:
     new b8ac530  MINOR: Tag AWS instances with Jenkins build url (#4657)
b8ac530 is described below

commit b8ac5300a4c1367c1c79ed5bce9b66c08bb7eecf
Author: Max Zheng <ma...@gmail.com>
AuthorDate: Fri Mar 9 14:54:43 2018 -0800

    MINOR: Tag AWS instances with Jenkins build url (#4657)
    
    This will allow us to trace leaked instances back to the job,
    so that we can figure out what happened and fix the leak.
    
    Reviewers: Ismael Juma <is...@juma.me.uk>
---
 Vagrantfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Vagrantfile b/Vagrantfile
index 2179a3c..069bc5b 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -141,7 +141,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
   def name_node(node, name, ec2_instance_name_prefix)
     node.vm.hostname = name
     node.vm.provider :aws do |aws|
-      aws.tags = { 'Name' => ec2_instance_name_prefix + "-" + Socket.gethostname + "-" + name }
+      aws.tags = {
+        'Name' => ec2_instance_name_prefix + "-" + Socket.gethostname + "-" + name,
+        'JenkinsBuildUrl' => ENV['BUILD_URL']
+      }
     end
   end
 

-- 
To stop receiving notification emails like this one, please contact
ijuma@apache.org.