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:43:09 UTC
[kafka] branch 1.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 1.0
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/1.0 by this push:
new 6910c01 MINOR: Tag AWS instances with Jenkins build url (#4657)
6910c01 is described below
commit 6910c01e4f9887bf9d3d13b2e21d88b503247303
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.