diff --git a/ogc/provision.py b/ogc/provision.py index 9450447..5e41196 100644 --- a/ogc/provision.py +++ b/ogc/provision.py @@ -254,8 +254,13 @@ def create(self, layout, env, **kwargs) -> db.Node: now = datetime.datetime.utcnow().strftime("created-%Y-%m-%d") layout["tags"].append(now) layout["tags"].append(f"user-{user.slug}") - tags["Created"] = now - tags["UserTag"] = f"user-{user.slug}" + tags["created"] = now + tags["user_tag"] = f"user-{user.slug}" + # Store some extra metadata similar to what other projects use + epoch = datetime.datetime.now().timestamp() + tags["created_date"] = epoch + tags["environment"] = "ogc" + tags["repo"] = "ogc" node = self._create_node(**opts) self.provisioner.ex_create_tags(self.node(instance_id=node.instance_id), tags)