You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ly...@apache.org on 2024/02/26 12:29:51 UTC
(incubator-devlake) branch release-v0.21 updated: fix(azuredevops): fix unexpected environment field in cicd_tasks and cicd_pipelines (#7022) (#7023)
This is an automated email from the ASF dual-hosted git repository.
lynwee pushed a commit to branch release-v0.21
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.21 by this push:
new f81d0fa9f fix(azuredevops): fix unexpected environment field in cicd_tasks and cicd_pipelines (#7022) (#7023)
f81d0fa9f is described below
commit f81d0fa9f62fb361ce32dee908345d59d250c06a
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Mon Feb 26 20:29:45 2024 +0800
fix(azuredevops): fix unexpected environment field in cicd_tasks and cicd_pipelines (#7022) (#7023)
Co-authored-by: Lynwee <li...@merico.dev>
---
backend/python/pydevlake/pydevlake/domain_layer/devops.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/backend/python/pydevlake/pydevlake/domain_layer/devops.py b/backend/python/pydevlake/pydevlake/domain_layer/devops.py
index 80630e170..abcd93448 100644
--- a/backend/python/pydevlake/pydevlake/domain_layer/devops.py
+++ b/backend/python/pydevlake/pydevlake/domain_layer/devops.py
@@ -66,7 +66,7 @@ class CICDPipeline(DomainModel, table=True):
queued_duration_sec: Optional[float]
type: Optional[CICDType]
- environment: Optional[CICDEnvironment]
+ environment: Optional[str]
class CiCDPipelineCommit(NoPKModel, table=True):
@@ -100,7 +100,7 @@ class CICDTask(DomainModel, table=True):
original_result: Optional[str]
type: Optional[CICDType]
- environment: Optional[CICDEnvironment]
+ environment: Optional[str]
created_date: Optional[datetime]
queued_date: Optional[datetime]