Loading
Add SIM_EXTRA_LABELS to label every lab resource
Closes #52 (closed). SIM_EXTRA_LABELS=k=v,k=v is appended to every label string on instances (the nested openshift node too), snapshots, restore disks and the boot disk of a new instance. Checked before any create (GCE label rules, engine keys reserved); unset changes nothing. Addresses and firewall rules take no labels in gcloud. Tests: extra-labels-selftest.sh (red without the change, 22 failures; green with it) and an engine check that up, snapshot and restore refuse a bad value before any create. Live: caproni --no-gitlab on a real project, labels app=orrery,component=lab seen on the instance, its boot disk and the snapshot; App=X refused with no instance created; torn down.