Oil set for weekly gain as Israel plans response to Iran attack