This is an automated email from the ASF dual-hosted git repository.
lynwee pushed a change to branch dev-10
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
from cef7f773f fix(project): project cannot be deleted when its pipelines
are not finished (#8081)
add e524ea74d fix: the start and end times are reversed (#8084)
add 8949c4f79 fix: version tag (#8083)
add 1c99dbc90 Update error message (#8086)
add 0ca6acf09 fix: add a space for pipeline duration (#8089)
add bcc3c5f21 fix(github-plugin): removes the processed org check to
return all the org repos, and pulls the repository data when adding scope
(#8088)
add 3367db446 refactor: CollectAccounts now uses simple ApiCollector
(#8067)
add 9251c42a7 feat: use redux rewrite project detail (#8095)
add f3b134bee Add missing URL (#8097)
add 323b98e66 feat: improve performance of the
listing-scope-config-projects-and-scopes (#8104)
add fb0dd2e87 feat: dora config (#8103)
No new revisions were added by this update.
Summary of changes:
Makefile | 4 +-
backend/Makefile | 5 +-
.../core/models/domainlayer/devops/cicd_task.go | 10 +
.../helpers/pluginhelper/api/enrich_with_regex.go | 53 +-
backend/helpers/pluginhelper/api/pagenation.go | 24 +
.../srvhelper/scope_config_service_helper.go | 102 ++--
backend/plugins/bamboo/api/connection_api.go | 127 +++++
backend/plugins/bamboo/e2e/deploy_build_test.go | 12 +-
backend/plugins/bamboo/e2e/job_build_test.go | 11 +-
backend/plugins/bamboo/e2e/job_test.go | 7 +-
.../plugins/bamboo/e2e/plan_build_commits_test.go | 8 +-
backend/plugins/bamboo/e2e/plan_build_test.go | 12 +-
.../e2e/snapshot_tables/cicd_deployments.csv | 28 +-
backend/plugins/bamboo/impl/impl.go | 33 +-
.../20240906_add_env_name_list_to_scope_config.go} | 24 +-
.../bamboo/models/migrationscripts/register.go | 1 +
backend/plugins/bamboo/models/scope_config.go | 5 +-
.../deploy_build_to_deployment_commit_convertor.go | 6 +-
.../tasks/deploy_build_to_deployment_convertor.go | 2 +-
.../plugins/bamboo/tasks/job_build_extractor.go | 6 +-
.../plugins/bamboo/tasks/plan_build_convertor.go | 2 +-
.../plugins/bamboo/tasks/plan_build_extractor.go | 9 +-
backend/plugins/bamboo/tasks/plan_convertor.go | 5 +-
backend/plugins/bamboo/tasks/shared.go | 2 +-
backend/plugins/bamboo/tasks/shared_test.go | 2 +-
backend/plugins/bitbucket/api/connection_api.go | 98 ++++
backend/plugins/bitbucket/e2e/deployments_test.go | 7 +-
.../plugins/bitbucket/e2e/pipeline_steps_test.go | 8 +-
backend/plugins/bitbucket/e2e/pipelines_test.go | 8 +-
backend/plugins/bitbucket/impl/impl.go | 15 +-
backend/plugins/bitbucket/models/scope_config.go | 4 +-
.../plugins/bitbucket/tasks/pipeline_extractor.go | 6 +-
.../bitbucket/tasks/pipeline_steps_extractor.go | 6 +-
backend/plugins/circleci/api/connection_api.go | 96 ++++
backend/plugins/circleci/e2e/job_test.go | 7 +-
backend/plugins/circleci/e2e/workflow_test.go | 7 +-
backend/plugins/circleci/impl/impl.go | 15 +-
backend/plugins/circleci/models/scope_config.go | 4 +-
backend/plugins/circleci/tasks/job_converter.go | 6 +-
.../plugins/circleci/tasks/workflow_converter.go | 6 +-
backend/plugins/github/api/connection_api.go | 123 +++++
backend/plugins/github/api/remote_api.go | 13 +-
backend/plugins/github/e2e/cicd_job_test.go | 6 +
backend/plugins/github/e2e/cicd_run_test.go | 6 +
backend/plugins/github/impl/impl.go | 29 +-
.../20240906_add_env_name_list_to_scope_config.go} | 24 +-
.../github/models/migrationscripts/register.go | 1 +
backend/plugins/github/models/scope_config.go | 5 +-
backend/plugins/github/tasks/cicd_job_extractor.go | 7 +-
backend/plugins/github/tasks/cicd_run_extractor.go | 6 +-
backend/plugins/github_graphql/impl/impl.go | 25 +-
.../github_graphql/tasks/deployment_convertor.go | 3 +-
.../plugins/github_graphql/tasks/job_extractor.go | 6 +-
backend/plugins/gitlab/api/connection_api.go | 124 +++++
backend/plugins/gitlab/e2e/job_test.go | 7 +-
backend/plugins/gitlab/impl/impl.go | 29 +-
.../20240906_add_env_name_list_to_scope_config.go} | 24 +-
.../gitlab/models/migrationscripts/register.go | 1 +
backend/plugins/gitlab/models/scope_config.go | 5 +-
.../plugins/gitlab/tasks/deployment_convertor.go | 2 +-
backend/plugins/gitlab/tasks/job_convertor.go | 7 +-
.../gitlab/tasks/pipeline_detail_extractor.go | 6 +-
backend/plugins/jenkins/api/connection_api.go | 96 ++++
backend/plugins/jenkins/e2e/builds_test.go | 2 +-
.../cicd_pipeline_commits_multibranch.csv | 26 +-
.../jenkins/e2e/snapshot_tables/cicd_pipelines.csv | 26 +-
.../snapshot_tables/cicd_pipelines_multibranch.csv | 32 +-
.../jenkins/e2e/snapshot_tables/cicd_tasks.csv | 24 +-
.../snapshot_tables/cicd_tasks_after_stages.csv | 4 +-
.../cicd_tasks_after_stages_no_prod_regex.csv | 28 +-
.../e2e/snapshot_tables/cicd_tasks_multibranch.csv | 6 +-
.../snapshot_tables/cicd_tasks_no_prod_regex.csv | 24 +-
backend/plugins/jenkins/e2e/stages_test.go | 1 +
backend/plugins/jenkins/impl/impl.go | 22 +-
backend/plugins/jenkins/models/build.go | 20 +-
.../20240911_add_url_for_builds.go} | 24 +-
.../jenkins/models/migrationscripts/register.go | 1 +
backend/plugins/jenkins/models/response.go | 1 +
backend/plugins/jenkins/models/scope_config.go | 4 +-
.../plugins/jenkins/tasks/build_cicd_convertor.go | 12 +-
backend/plugins/jenkins/tasks/build_collector.go | 2 +-
backend/plugins/jenkins/tasks/build_extractor.go | 1 +
backend/plugins/jenkins/tasks/stage_convertor.go | 6 +-
.../plugins/sonarqube/tasks/accounts_collector.go | 11 +-
backend/server/services/blueprint.go | 2 +-
backend/server/services/project.go | 2 +-
.../services/remote/plugin/connection_api.go | 89 +++-
.../server/services/remote/plugin/default_api.go | 3 +
config-ui/package.json | 6 +-
config-ui/src/api/scope-config/index.ts | 18 +-
config-ui/src/api/scope-config/types.ts | 5 +
config-ui/src/app/store.ts | 2 +
.../src/components/action/icon-button/index.tsx | 2 +-
config-ui/src/components/index.ts | 1 +
.../components/{tip-layout => show-more}/index.tsx | 31 +-
.../src/features/{onboard => project}/index.ts | 0
.../src/features/{version => project}/slice.ts | 42 +-
.../components/check-matched-items/index.tsx | 115 +++++
.../components/data-scope-remote/search-local.tsx | 139 ++---
.../components/data-scope-remote/search-remote.tsx | 8 +-
.../plugins/components/data-scope-select/index.tsx | 26 +-
.../src/plugins/components/deployments/index.tsx | 109 ++++
config-ui/src/plugins/components/index.ts | 2 +
.../plugins/components/scope-config-form/index.tsx | 28 +-
.../register/azure/assets/workflow-run.jpeg | Bin 0 -> 149316 bytes
config-ui/src/plugins/register/azure/config.tsx | 2 -
.../src/plugins/register/azure/transformation.tsx | 30 +-
.../src/plugins/register/azure/workflow-run.tsx | 98 ++++
.../register/bamboo/assets/workflow-run.jpeg | Bin 0 -> 113157 bytes
config-ui/src/plugins/register/bamboo/config.tsx | 6 +-
.../src/plugins/register/bamboo/transformation.tsx | 120 +++--
.../src/plugins/register/bamboo/workflow-run.tsx | 94 ++++
.../register/bitbucket/assets/workflow-run-1.jpeg | Bin 0 -> 71873 bytes
.../register/bitbucket/assets/workflow-run-2.jpeg | Bin 0 -> 52643 bytes
.../src/plugins/register/bitbucket/config.tsx | 2 -
.../plugins/register/bitbucket/transformation.tsx | 107 ++--
.../plugins/register/bitbucket/workflow-run.tsx | 104 ++++
.../register/circleci/assets/workflow-run.jpeg | Bin 0 -> 197685 bytes
config-ui/src/plugins/register/circleci/config.tsx | 5 +-
.../plugins/register/circleci/transformation.tsx | 41 +-
.../src/plugins/register/circleci/workflow-run.tsx | 97 ++++
.../register/github/assets/workflow-run.jpeg | Bin 0 -> 189484 bytes
config-ui/src/plugins/register/github/config.tsx | 3 -
.../src/plugins/register/github/transformation.tsx | 129 +++--
.../src/plugins/register/github/workflow-run.tsx | 103 ++++
.../register/gitlab/assets/workflow-run.jpeg | Bin 0 -> 193279 bytes
config-ui/src/plugins/register/gitlab/config.tsx | 6 +-
.../src/plugins/register/gitlab/transformation.tsx | 131 +++--
.../src/plugins/register/gitlab/workflow-run.tsx | 100 ++++
.../register/jenkins/assets/workflow-run.jpeg | Bin 0 -> 238201 bytes
config-ui/src/plugins/register/jenkins/config.tsx | 5 +-
.../plugins/register/jenkins/transformation.tsx | 35 +-
.../src/plugins/register/jenkins/workflow-run.tsx | 97 ++++
.../src/plugins/register/webhook/connection.tsx | 5 +-
config-ui/src/release/stable.ts | 1 +
.../components/add-connection-dialog/index.tsx | 2 +-
.../src/routes/pipeline/components/duration.tsx | 10 +-
.../routes/project/additional-settings/index.tsx | 11 +-
.../src/routes/project/general-settings/index.tsx | 15 +-
config-ui/src/routes/project/layout/index.tsx | 18 +-
config-ui/src/routes/project/webhook/index.tsx | 61 ++-
config-ui/src/types/webhook.ts | 4 +-
config-ui/yarn.lock | 560 ++++++++++++---------
143 files changed, 3255 insertions(+), 1002 deletions(-)
copy
backend/{core/models/migrationscripts/20231208_add_commit_msg_to_cicd_pipeline_commits.go
=>
plugins/bamboo/models/migrationscripts/20240906_add_env_name_list_to_scope_config.go}
(60%)
copy
backend/{core/models/migrationscripts/20231208_add_commit_msg_to_cicd_pipeline_commits.go
=>
plugins/github/models/migrationscripts/20240906_add_env_name_list_to_scope_config.go}
(60%)
copy
backend/{core/models/migrationscripts/20231208_add_commit_msg_to_cicd_pipeline_commits.go
=>
plugins/gitlab/models/migrationscripts/20240906_add_env_name_list_to_scope_config.go}
(60%)
copy backend/plugins/{tapd/models/migrationscripts/20230330_delete_issue.go =>
jenkins/models/migrationscripts/20240911_add_url_for_builds.go} (69%)
copy config-ui/src/components/{tip-layout => show-more}/index.tsx (57%)
copy config-ui/src/features/{onboard => project}/index.ts (100%)
copy config-ui/src/features/{version => project}/slice.ts (57%)
create mode 100644
config-ui/src/plugins/components/check-matched-items/index.tsx
create mode 100644 config-ui/src/plugins/components/deployments/index.tsx
create mode 100644
config-ui/src/plugins/register/azure/assets/workflow-run.jpeg
create mode 100644 config-ui/src/plugins/register/azure/workflow-run.tsx
create mode 100644
config-ui/src/plugins/register/bamboo/assets/workflow-run.jpeg
create mode 100644 config-ui/src/plugins/register/bamboo/workflow-run.tsx
create mode 100644
config-ui/src/plugins/register/bitbucket/assets/workflow-run-1.jpeg
create mode 100644
config-ui/src/plugins/register/bitbucket/assets/workflow-run-2.jpeg
create mode 100644 config-ui/src/plugins/register/bitbucket/workflow-run.tsx
create mode 100644
config-ui/src/plugins/register/circleci/assets/workflow-run.jpeg
create mode 100644 config-ui/src/plugins/register/circleci/workflow-run.tsx
create mode 100644
config-ui/src/plugins/register/github/assets/workflow-run.jpeg
create mode 100644 config-ui/src/plugins/register/github/workflow-run.tsx
create mode 100644
config-ui/src/plugins/register/gitlab/assets/workflow-run.jpeg
create mode 100644 config-ui/src/plugins/register/gitlab/workflow-run.tsx
create mode 100644
config-ui/src/plugins/register/jenkins/assets/workflow-run.jpeg
create mode 100644 config-ui/src/plugins/register/jenkins/workflow-run.tsx