Skip to content

Commit

Permalink
docs: fixing deployments query (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinVenancio authored May 27, 2024
1 parent 88d3ef4 commit d5903ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/DataModels/DevLakeDomainLayerSchema.md
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ A cicd_deployment_commit is a deployment in a specific repo. A deployment may co
- Tool layer deployments: in v0.18, only the BitBucket and Bamboo plugins collect the independent deployment entity which you can find in table.\_tool_bitbucket_deployments and \_tool_bamboo_deploy_builds, but there will be more in the future.
- Deployments pushed directly from webhooks

You can query deployments from this table by `SELECT DISTINCT cicd_deployment_id FROM cicd_deployments_commits`.
You can query deployments from this table by `SELECT DISTINCT cicd_deployment_id FROM cicd_deployment_commits`.

Normally, one deployment only deploy to one repo. But in some cases, one deployment may deploy in multiple repos with different commits. In these cases, there will be multiple pairs of deployment-commit-repo, appeared in multiple entries in this table.

Expand Down

0 comments on commit d5903ab

Please sign in to comment.