diff --git a/metaflow/plugins/argo/argo_workflows.py b/metaflow/plugins/argo/argo_workflows.py index 4b64af36cc9..1f1da1b6d09 100644 --- a/metaflow/plugins/argo/argo_workflows.py +++ b/metaflow/plugins/argo/argo_workflows.py @@ -615,11 +615,16 @@ def _compile_workflow_template(self): # generate container templates at the top level (in WorkflowSpec) and maintain # references to them within the DAGTask. + from datetime import datetime, timezone + annotations = { "metaflow/production_token": self.production_token, "metaflow/owner": self.username, "metaflow/user": "argo-workflows", "metaflow/flow_name": self.flow.name, + "metaflow/deployment_timestamp": str( + datetime.now(timezone.utc).isoformat() + ), } if self.parameters: