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

GH-548 add data source for remote repos #682

Merged
merged 22 commits into from
Mar 7, 2023

Conversation

alexhung
Copy link
Member

@alexhung alexhung commented Mar 3, 2023

For V7 branch.

Also refactor code in provider and extract data source map and resource map to own files.

alexhung and others added 4 commits March 2, 2023 16:45
Refactor provider to be cleaner

Bump docker image version to latest for Artifactory
Fix capitalization on a few package types
@alexhung alexhung marked this pull request as ready for review March 4, 2023 00:37
Copy link
Contributor

@Turhsus Turhsus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some Qs, some change requests, some indentation errors D:

@alexhung alexhung requested a review from Turhsus March 7, 2023 00:23
Turhsus
Turhsus previously approved these changes Mar 7, 2023
Copy link
Contributor

@Turhsus Turhsus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexhung alexhung requested a review from danielmkn March 7, 2023 20:00
Copy link
Collaborator

@danielmkn danielmkn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor formatting

@alexhung alexhung requested a review from danielmkn March 7, 2023 21:55
Turhsus
Turhsus previously approved these changes Mar 7, 2023
Copy link
Contributor

@Turhsus Turhsus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

* `criteria` - (Required) Specifies where the webhook will be applied on which repositories.
* `any_local` - (Required) Trigger on any local repo.
* `any_remote` - (Required) Trigger on any remote repo.
* `repo_keys` - (Required) Trigger on this list of repo keys.
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**".
* `exclude_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**".
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: `org/apache/**`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/n is rendered as is in the Terraform documentation.
image

* `criteria` - (Required) Specifies where the webhook will be applied on which repositories.
* `any_local` - (Required) Trigger on any local repo.
* `any_remote` - (Required) Trigger on any remote repo.
* `repo_keys` - (Required) Trigger on this list of repo keys.
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**".
* `exclude_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**".
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: `org/apache/**`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same /n issue.

* `criteria` - (Required) Specifies where the webhook will be applied on which repositories.
* `any_release_bundle` - (Required) Trigger on any release bundle
* `registered_release_bundle_names` - (Required) Trigger on this list of release bundle names
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**"
* `exclude_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**"
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: `org/apache/**`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/n

* `criteria` - (Required) Specifies where the webhook will be applied on which repositories.
* `any_build` - (Required) Trigger on any build.
* `selected_builds` - (Required) Trigger on this list of build names.
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**".
* `exclude_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**".
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: `org/apache/**`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/n

* `criteria` - (Required) Specifies where the webhook will be applied on which repositories.
* `any_release_bundle` - (Required) Trigger on any release bundle.
* `registered_release_bundle_names` - (Required) Trigger on this list of release bundle names.
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**".
* `exclude_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**".
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: `org/apache/**`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/n

* `criteria` - (Required) Specifies where the webhook will be applied on which repositories.
* `any_local` - (Required) Trigger on any local repo.
* `any_remote` - (Required) Trigger on any remote repo.
* `repo_keys` - (Required) Trigger on this list of repo keys.
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**".
* `exclude_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: "org/apache/**".
* `include_patterns` - (Optional) Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\n Ant-style path expressions are supported (*, *\*, ?).\nFor example: `org/apache/**`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/n

@alexhung alexhung merged commit d50562c into master Mar 7, 2023
@alexhung alexhung deleted the GH-548-add-data-source-for-remote-repos branch March 7, 2023 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants