Skip to content

DIGCS-21 | Added Bitbucket server integration documentation #2461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ To use Gitops with Port, head over to your desired Git provider:

- [GitHub](/build-your-software-catalog/sync-data-to-catalog/git/github/gitops)
- [GitLab](/build-your-software-catalog/sync-data-to-catalog/git/gitlab/gitops)
- [Bitbucket](/build-your-software-catalog/sync-data-to-catalog/git/bitbucket/gitops)
- [Bitbucket](/build-your-software-catalog/sync-data-to-catalog/git/bitbucket/bitbucket-cloud/gitops)
- [Azure DevOps](/build-your-software-catalog/sync-data-to-catalog/git/azure-devops/gitops)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"label": "Bitbucket (deprecated)",
"position": 2
}
"label": "Bitbucket",
"position": 3
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Bitbucket (deprecated)",
"position": 2
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_position: 4

import Tabs from "@theme/Tabs"
import TabItem from "@theme/TabItem"
import DeleteDependents from '../../../../generalTemplates/\_delete_dependents_git_explanation_template.md'
import DeleteDependents from '../../../../../generalTemplates/\_delete_dependents_git_explanation_template.md'

# Advanced

Expand Down Expand Up @@ -57,4 +57,4 @@ The `createMissingRelatedEntities` parameter is used to enable the creation of m

</Tabs>

All of the advanced configurations listed below can be added to the [`port-app-config.yml`](./bitbucket.md#port-app-configyml-file) file.
All of the advanced configurations listed above can be added to the [`port-app-config.yml`](./bitbucket-app.md#port-app-configyml-file) file.
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ import TabItem from "@theme/TabItem"
import BitbucketResources from './\_bitbucket_exporter_supported_resources.mdx'


# Bitbucket
# Bitbucket (App)

Port's Bitbucket integration allows you to model Bitbucket resources in your software catalog and ingest data into them.
Port's Bitbucket (App) integration allows you to model Bitbucket resources in your software catalog and ingest data into them.

:::warning Deprecation Notice
This app will be deprecated in the future and support for the app will be discontinued soon.

To integrate Port with Bitbucket Cloud, we recommend using the [Bitbucket Cloud integration](/build-your-software-catalog/sync-data-to-catalog/git/bitbucket-cloud/).
To integrate Port with Bitbucket Cloud, we recommend using the [Bitbucket Cloud integration](/build-your-software-catalog/sync-data-to-catalog/git/bitbucket/bitbucket-cloud/).
:::

:::info Bitbucket Server (Self-Hosted)
This documentation covers Port's integration with **Bitbucket Cloud**.
For information about integrating with Bitbucket Server (Self-Hosted), please refer to the [Bitbucket Server integration documentation](/build-your-software-catalog/custom-integration/webhook/examples/bitbucket-server/bitbucket-server.md).
For information about integrating with Bitbucket Server (Self-Hosted), please refer to the [Bitbucket Server integration documentation](/build-your-software-catalog/sync-data-to-catalog/git/bitbucket/bitbucket-server/bitbucket-server.md).
:::


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ In the following example you will ingest your Bitbucket repositories, their READ

:::tip

- Refer to the [setup](bitbucket.md#setup) section to learn more about the `port-app-config.yml` setup process;
- Refer to the [setup](bitbucket-app.md#setup) section to learn more about the `port-app-config.yml` setup process;
- We leverage [JQ JSON processor](https://stedolan.github.io/jq/manual/) to map and transform Bitbucket objects to Port Entities;
- Click [Here](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-get) for the Bitbucket repository object structure.
- Click [Here](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-pull-request-id-get) for the Bitbucket pull request object structure.
Expand All @@ -41,7 +41,7 @@ In the following example you will ingest your Bitbucket repositories and their f

:::tip

- Refer to the [setup](bitbucket.md#setup) section to learn more about the `port-app-config.yml` setup process;
- Refer to the [setup](bitbucket-app.md#setup) section to learn more about the `port-app-config.yml` setup process;
- We leverage [JQ JSON processor](https://stedolan.github.io/jq/manual/) to map and transform GitHub objects to Port Entities;
- Click [Here](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-get) for the Bitbucket repository object structure.
- Click [Here](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-source/#api-repositories-workspace-repo-slug-src-commit-path-get) for the Bitbucket folder object structure.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ sidebar_position: 3

import Tabs from "@theme/Tabs"
import TabItem from "@theme/TabItem"
import PortYmlStructure from '../../\_port_yml_gitops_structure_template.md'
import BasicFileProperties from '../../\_basic_file_properties_template.md'
import RelativeFileProperties from '../../\_relative_file_properties_template.md'
import GitOpsPushEvent from '../../\_git_gitops_push_events_explanation.mdx'
import PortYmlIngestionPattern from '../../\_port_yml_ingestion_pattern_template.md'
import PortYmlStructure from '../../../\_port_yml_gitops_structure_template.md'
import BasicFileProperties from '../../../\_basic_file_properties_template.md'
import RelativeFileProperties from '../../../\_relative_file_properties_template.md'
import GitOpsPushEvent from '../../../\_git_gitops_push_events_explanation.mdx'
import PortYmlIngestionPattern from '../../../\_port_yml_ingestion_pattern_template.md'

# GitOps

Port's Bitbucket integration makes it possible to manage Port entities with a GitOps approach, making your code repositories into the source of truth for the various infrastructure assets you want to manage.

:::info Bitbucket Server (Self-Hosted)
This documentation covers GitOps for **Bitbucket Cloud**.
For information about GitOps with Bitbucket Server (Self-Hosted), please refer to the [Bitbucket Server GitOps documentation](/build-your-software-catalog/custom-integration/webhook/examples/bitbucket-server/gitops.md).
For information about GitOps with Bitbucket Server (Self-Hosted), please refer to the [Bitbucket Server GitOps documentation](/build-your-software-catalog/sync-data-to-catalog/git/bitbucket/bitbucket-server/webhook/gitops.md).
:::


Expand All @@ -30,7 +30,7 @@ For information about GitOps with Bitbucket Server (Self-Hosted), please refer t

To manage entities using GitOps, you will need to add a `port.yml` file to the **default branch** (usually `main`) of your repository.

Note that the `port.yml` file is not the same as the [`port-app-config.yml` file](/build-your-software-catalog/sync-data-to-catalog/git/bitbucket/#port-app-configyml-file) used to configure the BitBucket integration, and does not replace it.
Note that the `port.yml` file is not the same as the [`port-app-config.yml` file](/build-your-software-catalog/sync-data-to-catalog/git/bitbucket/bitbucket-app/#port-app-configyml-file) used to configure the BitBucket integration, and does not replace it.

The `port.yml` file can specify one or more Port entities that will be ingested to Port, and any change made to the `port.yml` file will also be reflected inside Port.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_position: 4

import Tabs from "@theme/Tabs"
import TabItem from "@theme/TabItem"
import DeleteDependents from '../../../../generalTemplates/\_delete_dependents_git_explanation_template.md'
import DeleteDependents from '../../../../../generalTemplates/\_delete_dependents_git_explanation_template.md'

# Advanced

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Port's Bitbucket integration allows you to model Bitbucket cloud resources in yo

:::info Bitbucket Server (Self-Hosted)
This documentation covers Port's integration with **Bitbucket Cloud**.
For information about integrating with Bitbucket Server (Self-Hosted), please refer to the [Bitbucket Server integration documentation](/build-your-software-catalog/custom-integration/webhook/examples/bitbucket-server/bitbucket-server.md).
For information about integrating with Bitbucket Server (Self-Hosted), please refer to the [Bitbucket Server integration documentation](/build-your-software-catalog/sync-data-to-catalog/git/bitbucket/bitbucket-server/bitbucket-server.md).
:::


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ sidebar_position: 3

import Tabs from "@theme/Tabs"
import TabItem from "@theme/TabItem"
import PortYmlStructure from '../../\_port_yml_gitops_structure_template.md'
import BasicFileProperties from '../../\_basic_file_properties_template.md'
import RelativeFileProperties from '../../\_relative_file_properties_template.md'
import PortYmlIngestionPattern from '../../\_port_yml_ingestion_pattern_template.md'
import PortYmlStructure from '../../../\_port_yml_gitops_structure_template.md'
import BasicFileProperties from '../../../\_basic_file_properties_template.md'
import RelativeFileProperties from '../../../\_relative_file_properties_template.md'
import PortYmlIngestionPattern from '../../../\_port_yml_ingestion_pattern_template.md'

# GitOps

Port's Bitbucket integration makes it possible to manage Port entities with a GitOps approach, making your code repositories into the source of truth for the various infrastructure assets you want to manage.

:::info Bitbucket Server (Self-Hosted)
This documentation covers GitOps for **Bitbucket Cloud**.
For information about GitOps with Bitbucket Server (Self-Hosted), please refer to the [Bitbucket Server GitOps documentation](/build-your-software-catalog/custom-integration/webhook/examples/bitbucket-server/gitops.md).
For information about GitOps with Bitbucket Server (Self-Hosted), please refer to the [Bitbucket Server GitOps documentation](/build-your-software-catalog/sync-data-to-catalog/git/bitbucket/bitbucket-server/webhook/gitops.md).
:::


Expand All @@ -29,7 +29,7 @@ For information about GitOps with Bitbucket Server (Self-Hosted), please refer t

To manage entities using GitOps, you will need to add a `port.yml` file to the **default branch** (usually `main`) of your repository.

Note that the `port.yml` file is not the same as the [`port-app-config.yml` file](/build-your-software-catalog/sync-data-to-catalog/git/bitbucket/#port-app-configyml-file) used to configure the BitBucket integration, and does not replace it.
Note that the `port.yml` file is not the same as the [`port-app-config.yml` file](/build-your-software-catalog/sync-data-to-catalog/git/bitbucket/bitbucket-cloud/#port-app-configyml-file) used to configure the BitBucket integration, and does not replace it.

The `port.yml` file can specify one or more Port entities that will be ingested to Port, and any change made to the `port.yml` file will also be reflected inside Port.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ sidebar_position: 1

import Tabs from "@theme/Tabs"
import TabItem from "@theme/TabItem"
import AzurePremise from "../../templates/\_ocean_azure_premise.mdx"
import Prerequisites from "../../templates/\_ocean_helm_prerequisites_block.mdx"
import HelmParameters from "../../templates/\_ocean-advanced-parameters-helm.mdx"
import AzurePremise from "../../../templates/\_ocean_azure_premise.mdx"
import Prerequisites from "../../../templates/\_ocean_helm_prerequisites_block.mdx"
import HelmParameters from "../../../templates/\_ocean-advanced-parameters-helm.mdx"
import DockerParameters from "./\_bitbucket_cloud_one_time_docker_parameters.mdx"
import AdvancedConfig from '../../../../generalTemplates/_ocean_advanced_configuration_note.md'
import AdvancedConfig from '../../../../../generalTemplates/_ocean_advanced_configuration_note.md'
import PortApiRegionTip from "/docs/generalTemplates/_port_region_parameter_explanation_template.md"
import OceanSaasInstallation from "/docs/build-your-software-catalog/sync-data-to-catalog/templates/_ocean_saas_installation.mdx"
import OceanRealtimeInstallation from "/docs/build-your-software-catalog/sync-data-to-catalog/templates/_ocean_realtime_installation.mdx"
Expand Down
Loading