Skip to content
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

feat(bitbucketserver): multiple improvements to bitbucketserver event source #2921

Merged
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
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
Loading