In my previous house we had rosemary growing in a bed by the front door where the drain pipe emptied out

and it was one of the things in the garden that did really well! That's what I call tolerant! And then when we moved house, the rosemary came with us and was transplanted into it's current location. It started to die, but I dug it up, chucked a load of perlite in the hole and mixed it up, picked all the leather jackets off its roots and never looked back since. It's an old faithful, love it to bits.