Skip to content

Commit

Permalink
feat(bitbucketserver): multiple improvements to bitbucketserver event…
Browse files Browse the repository at this point in the history
… source (#2921)
  • Loading branch information
ryancurrah committed Feb 25, 2024
1 parent 5e632ae commit 8cbbbef
Show file tree
Hide file tree
Showing 14 changed files with 1,214 additions and 650 deletions.
60 changes: 49 additions & 11 deletions api/event-source.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 51 additions & 11 deletions api/event-source.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 24 additions & 10 deletions api/jsonschema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1154,10 +1154,14 @@
"properties": {
"accessToken": {
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector",
"description": "AccessToken is reference to K8s secret which holds the bitbucket api access information"
"description": "AccessToken is reference to K8s secret which holds the bitbucket api access information."
},
"bitbucketserverBaseURL": {
"description": "BitbucketServerBaseURL is the base URL for API requests to a custom endpoint",
"description": "BitbucketServerBaseURL is the base URL for API requests to a custom endpoint.",
"type": "string"
},
"checkInterval": {
"description": "CheckInterval is a duration in which to wait before checking that the webhooks exist, e.g. 1s, 30m, 2h... (defaults to 1m)",
"type": "string"
},
"deleteHookOnFinish": {
Expand All @@ -1183,47 +1187,57 @@
"type": "object"
},
"projectKey": {
"description": "DeprecatedProjectKey is the key of project for which integration needs to set up Deprecated: use Repositories instead. Will be unsupported in v1.8",
"description": "DeprecatedProjectKey is the key of project for which integration needs to set up. Deprecated: use Repositories instead. Will be unsupported in v1.8.",
"type": "string"
},
"projects": {
"description": "Projects holds a list of projects for which integration needs to set up, this will add the webhook to all repositories in the project.",
"items": {
"type": "string"
},
"type": "array"
},
"repositories": {
"description": "Repositories holds a list of repositories for which integration needs to set up",
"description": "Repositories holds a list of repositories for which integration needs to set up.",
"items": {
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.BitbucketServerRepository"
},
"type": "array"
},
"repositorySlug": {
"description": "DeprecatedRepositorySlug is the slug of the repository for which integration needs to set up Deprecated: use Repositories instead. Will be unsupported in v1.8",
"description": "DeprecatedRepositorySlug is the slug of the repository for which integration needs to set up. Deprecated: use Repositories instead. Will be unsupported in v1.8.",
"type": "string"
},
"skipBranchRefsChangedOnOpenPR": {
"description": "SkipBranchRefsChangedOnOpenPR bypasses the event repo:refs_changed for branches whenever there's an associated open pull request. This helps in optimizing the event handling process by avoiding unnecessary triggers for branch reference changes that are already part of a pull request under review.",
"type": "boolean"
},
"tls": {
"$ref": "#/definitions/io.argoproj.common.TLSConfig",
"description": "TLS configuration for the bitbucketserver client."
},
"webhook": {
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.WebhookContext",
"description": "Webhook holds configuration to run a http server"
"description": "Webhook holds configuration to run a http server."
},
"webhookSecret": {
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector",
"description": "WebhookSecret is reference to K8s secret which holds the bitbucket webhook secret (for HMAC validation)"
"description": "WebhookSecret is reference to K8s secret which holds the bitbucket webhook secret (for HMAC validation)."
}
},
"required": [
"events",
"bitbucketserverBaseURL"
],
"type": "object"
},
"io.argoproj.eventsource.v1alpha1.BitbucketServerRepository": {
"properties": {
"projectKey": {
"description": "ProjectKey is the key of project for which integration needs to set up",
"description": "ProjectKey is the key of project for which integration needs to set up.",
"type": "string"
},
"repositorySlug": {
"description": "RepositorySlug is the slug of the repository for which integration needs to set up",
"description": "RepositorySlug is the slug of the repository for which integration needs to set up.",
"type": "string"
}
},
Expand Down
Loading

0 comments on commit 8cbbbef

Please sign in to comment.