mirror of https://github.com/apache/kafka.git
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 <ismael@juma.me.uk>
This commit is contained in:
parent
5760da7d0b
commit
fd015b401d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue