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/12 11:42:09 UTC

[kafka] branch 0.11.0 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.11.0
in repository https://gitbox.apache.org/repos/asf/kafka.git


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

commit 57e39ab614de6f30b40dd06267a05446729d7ad9
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.