Skip to content

Integrates Gitlab to dtaas-services#1505

Open
8ohamed wants to merge 12 commits intoINTO-CPS-Association:feature/distributed-demofrom
8ohamed:feature/distributed-demo
Open

Integrates Gitlab to dtaas-services#1505
8ohamed wants to merge 12 commits intoINTO-CPS-Association:feature/distributed-demofrom
8ohamed:feature/distributed-demo

Conversation

@8ohamed
Copy link
Contributor

@8ohamed 8ohamed commented Mar 6, 2026

Integrates Gitlab to Dtaas-Services Cli

Features

  • Adds Gitlab installation + services management
  • Gitlab root and users management
  • Adds pyright to github actions
  • More passwords resets
  • Fixes yamllint issues
  • Adds more tests

Type of Change

  • New feature
  • Documentation update
  • Bug fix

Description

Adds a new module in cli\dtaas_services\pkg\services for gitlab
dtaas-services users can now install gitlab along with thingsboard by using

dtaas-services install
# or only gitlab
dtaas-services install -s gitlab

They can change root user's password

dtaas-services user reset-password -s gitlab

#1432 #1014

@codecov
Copy link

codecov bot commented Mar 6, 2026

Codecov Report

❌ Patch coverage is 95.48763% with 31 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.72%. Comparing base (d2ca2ad) to head (1414896).

⚠️ Current head 1414896 differs from pull request most recent head 91c4a5f

Please upload reports for the commit 91c4a5f to get more accurate results.

Files with missing lines Patch % Lines
...es/cli/dtaas_services/pkg/services/gitlab/setup.py 91.08% 9 Missing ⚠️
...cli/dtaas_services/pkg/services/gitlab/password.py 90.54% 7 Missing ⚠️
.../services/cli/dtaas_services/commands/setup_ops.py 85.29% 5 Missing ⚠️
...taas_services/pkg/services/thingsboard/sysadmin.py 90.90% 4 Missing ⚠️
...eploy/services/cli/dtaas_services/pkg/formatter.py 71.42% 2 Missing ⚠️
...dtaas_services/pkg/services/thingsboard/checker.py 50.00% 2 Missing ⚠️
...loy/services/cli/dtaas_services/pkg/lib/manager.py 0.00% 1 Missing ⚠️
..._services/pkg/services/thingsboard/tenant_admin.py 96.66% 1 Missing ⚠️
Additional details and impacted files
@@                     Coverage Diff                      @@
##           feature/distributed-demo    #1505      +/-   ##
============================================================
- Coverage                     97.18%   96.72%   -0.46%     
============================================================
  Files                            36       50      +14     
  Lines                          2377     3235     +858     
============================================================
+ Hits                           2310     3129     +819     
- Misses                           67      106      +39     
Files with missing lines Coverage Δ
...ervices/cli/dtaas_services/commands/service_ops.py 100.00% <100.00%> (ø)
...y/services/cli/dtaas_services/commands/user_ops.py 100.00% <100.00%> (ø)
...oy/services/cli/dtaas_services/commands/utility.py 97.29% <ø> (ø)
...loy/services/cli/dtaas_services/pkg/lib/cleanup.py 98.93% <100.00%> (ø)
...ices/cli/dtaas_services/pkg/lib/docker_executor.py 100.00% <100.00%> (ø)
...vices/cli/dtaas_services/pkg/lib/initialization.py 98.00% <100.00%> (+0.56%) ⬆️
...ploy/services/cli/dtaas_services/pkg/lib/status.py 92.15% <100.00%> (ø)
...eploy/services/cli/dtaas_services/pkg/lib/utils.py 97.89% <100.00%> (+0.02%) ⬆️
.../services/cli/dtaas_services/pkg/password_store.py 100.00% <100.00%> (ø)
...cli/dtaas_services/pkg/services/gitlab/__init__.py 100.00% <100.00%> (ø)
... and 17 more

... and 5 files with indirect coverage changes

Components Coverage Δ
Website ∅ <ø> (∅)
Lib Microservice ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@prasadtalasila
Copy link
Contributor

@8ohamed please see the pylint issues identified in the workflow

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 8, 2026

@8ohamed
Copy link
Contributor Author

8ohamed commented Mar 8, 2026

Hi @prasadtalasila the Gitlab is now integrated and works, also the password resets also now works multiple times for both gitlab and thingsboard.
I will now work on the 'qlty.sh' issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants