Skip to content

Commit

Permalink
APPS-9365: Add bitbucket source to app spec
Browse files Browse the repository at this point in the history
  • Loading branch information
greeshmapill committed Dec 12, 2024
1 parent 164a055 commit 7ecb4be
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions specification/resources/apps/models/app_component_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ properties:
gitlab:
$ref: apps_gitlab_source_spec.yml

bitbucket:
$ref: apps_bitbucket_source_spec.yml

image:
$ref: apps_image_source_spec.yml

Expand Down
3 changes: 3 additions & 0 deletions specification/resources/apps/models/app_functions_spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ properties:
gitlab:
$ref: apps_gitlab_source_spec.yml

bitbucket:
$ref: apps_bitbucket_source_spec.yml

log_destinations:
type: array
items:
Expand Down
16 changes: 16 additions & 0 deletions specification/resources/apps/models/apps_bitbucket_source_spec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
type: object
properties:
branch:
type: string
description: The name of the branch to use
example: main

deploy_on_push:
type: boolean
description: Whether to automatically deploy new commits made to the repo
example: true

repo:
type: string
description: 'The name of the repo in the format owner/repo. Example: `digitalocean/sample-golang`'
example: digitalocean/sample-golang

0 comments on commit 7ecb4be

Please sign in to comment.