This is an automated email from the ASF dual-hosted git repository.
klesh pushed a change to branch feat-gitlab-tx-inc
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
from 5e0dc15ab refactor: remove commit related subtasks
add e78ecd703 refactor: upgrade grafana to v11.2.0 (#7993)
add e2f943bb1 fix: non-git users can build devlake (#7995)
add bb109eeaf feat: add releases devops files (#7998)
add 29e9b87f9 feat: use new project detail layout (#8002)
add e573b465d feat(domain): add is_child field to table cicd_pipelines
(#8006)
add 3ce50cb4f feat(gitlab): collect child pipelines (#8009)
add fde073acd feat(github\gitlab): doesn't init api client when
re-transformating (#7966)
add d74af26ba Avoid panic (#8011)
add 55135f9d6 refactor: use redux to rewrite onboard (#8012)
add 247b96224 fix: webhook will be deleted when disconnected from project
(#8007)
add 4c2a710d7 Merge remote-tracking branch 'origin/main' into
feat-gitlab-tx-inc
No new revisions were added by this update.
Summary of changes:
Makefile | 4 +-
backend/Makefile | 4 +-
.../models/domainlayer/devops/cicd_pipeline.go | 1 +
.../20240906_add_is_child_to_cicd_pipelines.go} | 26 ++--
backend/core/models/migrationscripts/register.go | 1 +
backend/core/plugin/plugin_blueprint.go | 1 +
backend/core/runner/run_task.go | 3 +-
backend/go.mod | 4 +-
backend/go.sum | 19 ++-
backend/plugins/ae/impl/impl.go | 4 +-
.../plugins/azuredevops_go/api/blueprint_v200.go | 1 +
backend/plugins/azuredevops_go/impl/impl.go | 7 +-
backend/plugins/bamboo/api/blueprint_v200.go | 1 +
backend/plugins/bamboo/e2e/plan_build_test.go | 5 +-
backend/plugins/bamboo/impl/impl.go | 7 +-
backend/plugins/bitbucket/api/blueprint_v200.go | 1 +
backend/plugins/bitbucket/impl/impl.go | 10 +-
.../plugins/bitbucket_server/api/blueprint_v200.go | 1 +
backend/plugins/bitbucket_server/impl/impl.go | 10 +-
backend/plugins/circleci/api/blueprint_v200.go | 1 +
backend/plugins/circleci/e2e/workflow_test.go | 2 +-
backend/plugins/circleci/impl/impl.go | 7 +-
backend/plugins/feishu/impl/impl.go | 4 +-
backend/plugins/gitee/impl/impl.go | 4 +-
backend/plugins/github/api/blueprint_v200.go | 19 +--
backend/plugins/github/e2e/cicd_run_test.go | 5 +-
backend/plugins/github/impl/impl.go | 55 +++++---
backend/plugins/github_graphql/impl/impl.go | 147 +++++++++++----------
backend/plugins/gitlab/api/blueprint_v200.go | 1 +
.../plugins/gitlab/e2e/pipelines_detail_test.go | 5 +-
backend/plugins/gitlab/impl/impl.go | 42 +++---
.../20240906_add_source_to_pipelines.go} | 36 ++---
.../gitlab/models/migrationscripts/register.go | 1 +
backend/plugins/gitlab/models/pipeline.go | 12 ++
backend/plugins/gitlab/tasks/account_extractor.go | 17 ++-
...ne_collector.go => child_pipeline_collector.go} | 18 +--
.../gitlab/tasks/child_pipeline_extractor.go | 84 ++++++++++++
backend/plugins/gitlab/tasks/job_extractor.go | 1 -
.../gitlab/tasks/pipeline_detail_collector.go | 2 +-
.../gitlab/tasks/pipeline_detail_convertor.go | 3 +-
.../gitlab/tasks/pipeline_detail_extractor.go | 5 +-
backend/plugins/gitlab/tasks/pipeline_extractor.go | 19 +--
backend/plugins/gitlab/tasks/tag_extractor.go | 3 +-
backend/plugins/icla/impl/impl.go | 4 +-
backend/plugins/jenkins/api/blueprint_v200.go | 1 +
backend/plugins/jenkins/impl/impl.go | 7 +-
backend/plugins/jira/api/blueprint_v200.go | 1 +
backend/plugins/jira/impl/impl.go | 7 +-
backend/plugins/opsgenie/api/blueprint_v200.go | 1 +
backend/plugins/opsgenie/impl/impl.go | 3 +-
backend/plugins/pagerduty/api/blueprint_v200.go | 1 +
backend/plugins/pagerduty/impl/impl.go | 3 +-
backend/plugins/slack/impl/impl.go | 4 +-
backend/plugins/sonarqube/api/blueprint_v200.go | 1 +
backend/plugins/sonarqube/impl/impl.go | 7 +-
backend/plugins/tapd/api/blueprint_v200.go | 1 +
backend/plugins/tapd/impl/impl.go | 7 +-
backend/plugins/teambition/api/blueprint_v200.go | 1 +
backend/plugins/teambition/impl/impl.go | 7 +-
backend/plugins/trello/api/blueprint_v200.go | 1 +
backend/plugins/trello/impl/impl.go | 7 +-
backend/plugins/webhook/impl/impl.go | 1 +
backend/plugins/zentao/api/blueprint_v200.go | 1 +
backend/plugins/zentao/impl/impl.go | 7 +-
backend/server/services/blueprint_makeplan_v200.go | 11 +-
.../services/blueprint_makeplan_v200_test.go | 2 +-
.../services/remote/plugin/plugin_extensions.go | 1 +
config-ui/src/api/project/index.ts | 2 +-
config-ui/src/app/routrer.tsx | 120 ++++++++++-------
config-ui/src/app/store.ts | 2 +
config-ui/src/config/paths.ts | 2 +-
config-ui/src/features/connections/slice.ts | 59 +++++----
.../onboard}/index.ts | 2 +-
config-ui/src/features/onboard/slice.ts | 131 ++++++++++++++++++
config-ui/src/hooks/index.ts | 1 +
.../types.ts => hooks/use-outside-click.ts} | 32 ++---
.../register/webhook/components/delete-dialog.tsx | 4 +-
.../src/plugins/register/webhook/connection.tsx | 45 +++++--
.../db-url.tsx => routes/app/app.tsx} | 48 ++++---
config-ui/src/routes/{layout => app}/index.ts | 2 +-
config-ui/src/routes/{layout => app}/loader.ts | 9 +-
.../routes/blueprint/detail/blueprint-detail.tsx | 1 -
config-ui/src/routes/index.ts | 1 +
config-ui/src/routes/layout/index.ts | 1 -
config-ui/src/routes/layout/layout.tsx | 20 +--
config-ui/src/routes/onboard/components/card.tsx | 44 +++---
config-ui/src/routes/onboard/components/tour.tsx | 8 +-
config-ui/src/routes/onboard/context.tsx | 49 -------
config-ui/src/routes/onboard/index.tsx | 108 ++++++---------
config-ui/src/routes/onboard/step-0.tsx | 40 ++----
config-ui/src/routes/onboard/step-1.tsx | 27 ++--
config-ui/src/routes/onboard/step-2.tsx | 54 +++-----
config-ui/src/routes/onboard/step-3.tsx | 27 ++--
config-ui/src/routes/onboard/step-4.tsx | 52 ++------
.../index.tsx} | 36 +++--
config-ui/src/routes/project/detail/index.tsx | 98 --------------
config-ui/src/routes/project/detail/styled.ts | 26 ----
.../project/general-settings/index.tsx} | 33 ++---
config-ui/src/routes/project/index.ts | 5 +-
config-ui/src/routes/project/layout/index.tsx | 102 ++++++++++++++
.../src/routes/project/layout/project-selector.tsx | 122 +++++++++++++++++
.../project/layout}/styled.ts | 71 +++++-----
.../webhooks-panel.tsx => webhook/index.tsx} | 65 +++++----
config-ui/src/utils/request.ts | 23 ++--
.../docker-compose.yml | 6 +-
.../releases/lake-v1.0.0/env.example | 26 +---
.../docker-compose.yml | 6 +-
.../releases/lake-v1.0.1/env.example | 29 ++--
grafana/Dockerfile | 2 +-
109 files changed, 1269 insertions(+), 962 deletions(-)
copy
backend/{plugins/jira/models/migrationscripts/20230214_remove_issue_stdstorypoint.go
=> core/models/migrationscripts/20240906_add_is_child_to_cicd_pipelines.go}
(66%)
copy backend/plugins/{jira/models/migrationscripts/20230530_scope_config.go =>
gitlab/models/migrationscripts/20240906_add_source_to_pipelines.go} (54%)
copy backend/plugins/gitlab/tasks/{pipeline_collector.go =>
child_pipeline_collector.go} (81%)
create mode 100644 backend/plugins/gitlab/tasks/child_pipeline_extractor.go
copy config-ui/src/{plugins/register/jira/connection-fields =>
features/onboard}/index.ts (96%)
create mode 100644 config-ui/src/features/onboard/slice.ts
copy config-ui/src/{api/pipeline/types.ts => hooks/use-outside-click.ts} (61%)
copy config-ui/src/{plugins/register/zentao/connection-fields/db-url.tsx =>
routes/app/app.tsx} (52%)
copy config-ui/src/routes/{layout => app}/index.ts (96%)
rename config-ui/src/routes/{layout => app}/loader.ts (87%)
delete mode 100644 config-ui/src/routes/onboard/context.tsx
rename config-ui/src/routes/project/{detail/settings-panel.tsx =>
additional-settings/index.tsx} (92%)
delete mode 100644 config-ui/src/routes/project/detail/index.tsx
delete mode 100644 config-ui/src/routes/project/detail/styled.ts
copy config-ui/src/{plugins/components/connection-form/fields/styled.ts =>
routes/project/general-settings/index.tsx} (60%)
create mode 100644 config-ui/src/routes/project/layout/index.tsx
create mode 100644 config-ui/src/routes/project/layout/project-selector.tsx
copy config-ui/src/{plugins/register/jira/transformation-fields =>
routes/project/layout}/styled.ts (59%)
rename config-ui/src/routes/project/{detail/webhooks-panel.tsx =>
webhook/index.tsx} (76%)
copy devops/releases/{lake-v0.18.0 => lake-v1.0.0}/docker-compose.yml (91%)
copy env.example => devops/releases/lake-v1.0.0/env.example (64%)
mode change 100755 => 100644
copy devops/releases/{lake-v0.18.0 => lake-v1.0.1}/docker-compose.yml (91%)
copy env.example => devops/releases/lake-v1.0.1/env.example (62%)
mode change 100755 => 100644