Commit Graph

54 Commits

Author SHA1 Message Date
Jason Reeves
ae1adf0be1 removed omitempty from the forkable boolean value 2020-10-28 15:52:44 -05:00
Martin Litvaj
534d71de7d Add Exists method for resource defaultReviewersCondition 2020-09-19 15:03:53 +02:00
Martin Litvaj
43286c778a Fix missing Default reviewers condition resource 2020-09-18 13:36:48 +02:00
Gavin Bunney
f6d65b511f Merge pull request #8 from justinto-guidewire/feature/import-existing-groups-squashed
Import existing groups
2020-07-27 10:27:45 -07:00
Cameron Crockatt
a38a9f4d15 * Re-enabled ND tests
* Reverted changes to README.md since there is another PR to update it.
2020-07-22 12:56:20 -04:00
Martin Litvaj
f11b275f56 Fix zero required approvals being ignored 2020-07-21 19:16:35 +02:00
Gavin Bunney
9522e2ce0e Merge pull request #12 from Kamahl19/default_reviewers_condition
Implement resource bitbucketserver_default_reviewers_condition
2020-07-17 21:54:55 -07:00
Gavin Bunney
7c729aa788 Merge pull request #11 from Kamahl19/data_bitbucketserver_user
Implement data source bitbucketserver_user
2020-07-17 21:54:00 -07:00
Martin Litvaj
cfe75d3bc8 Fix user name with spaces not working 2020-07-17 19:14:45 +02:00
Martin Litvaj
cf88071fc2 Implement resource bitbucketserver_default_reviewers_condition 2020-07-17 16:02:44 +02:00
Martin Litvaj
1a5a9763e0 Implement data source bitbucketserver_user 2020-07-17 16:00:46 +02:00
Justin To
b3ee8fd46c * Added a flag to specify whether to import groups that already exist in bitbucket along with functionality to import those groups into the terraform state
* Changed the error checking when importing an existing group for bitbucket so that the duplicate group error is not thrown
* Added two acceptance tests
* Updated the ReadMe.md with accurate instructions since the previous ones were not working for us
* Updated the Makefile to set the maximum number of files allowed to be open to 1024 since 256 was too few.  We called `ulimit -n 1024` to do this for the testacc and testacc-bitbucket targets.
* Changed the start-docker-compose.sh to use the bitbucket server environment variable so that it doesn't always refer to localhost
* Skipped some testcases that are consistently failing in master branch
* Added a version.env file to be used to control the versioning from CICD builds
* Set version to 1.4.0
* In the start-docker-compose.sh if the BITBUCKET_SERVER environment variable is not set then use http://localhost:7990

In the start-docker-compose.sh if the BITBUCKET_SERVER environment variable is not set then use http://localhost:7990
2020-07-14 17:04:00 -04:00
Henrique Gontijo
47ff91ff18 Make resource_plugin_config more generic. Remove data source for plugin config since it does not provide any value. Fix tests. 2019-11-20 23:26:11 -08:00
Henrique Gontijo
8c79150355 Add bitbucketserver_plugin_config resource to allow managing plugins configuration.
Plugin configuration documentation.
2019-11-18 16:29:42 -08:00
Gavin Bunney
70bba6e511 make fmt 2019-11-01 16:22:35 -07:00
Gavin Bunney
2b986da86b Added forking for repository resources to allow creation of repo from a fork 2019-11-01 16:17:49 -07:00
Jonas Bechstein
8cea03e45d add feature to fork existing repositories 2019-10-30 23:46:57 +01:00
Gavin Bunney
df280cd154 go fmt 2019-10-18 11:19:13 -07:00
Gavin Bunney
e9b753d854 Added tests for updating resources 2019-10-18 11:17:08 -07:00
Gavin Bunney
ec0c3ad91b Fix updating user records to use correct API 2019-10-18 11:13:15 -07:00
Gavin Bunney
3cc9bb1285 Added enable_git_lfs flag for repositories 2019-10-17 13:32:17 -07:00
Gavin Bunney
bf6be8c739 Fix issue with project avatar not being returned by project endpoint when reading; ensure only set during update 2019-10-17 11:39:38 -07:00
Gavin Bunney
e2328f811b Fix issue with password not being returned by mail-server when reading; ensure only set during update 2019-10-17 09:53:37 -07:00
Gavin Bunney
a4982b3748 Added bitbucket_user_access_token resource 2019-10-15 13:47:59 -07:00
Gavin Bunney
567a08231d Test fixes 2019-10-15 13:47:31 -07:00
Gavin Bunney
041e008176 Added repository level hook data and resources 2019-10-15 12:00:51 -07:00
Gavin Bunney
51f1146d1d Added resource bitbucketserver_project_hook and cleaned up delete handling of permission resources 2019-10-15 11:44:33 -07:00
Gavin Bunney
a8a1bcb48b Added bitbucketserver_project_hooks data source 2019-10-15 11:09:08 -07:00
Gavin Bunney
37df957f41 Added bitbucketserver_banner resource and bitbucketserver_cluster data source 2019-10-15 09:07:05 -07:00
Gavin Bunney
6e0f2f87e7 Test cleanup 2019-10-14 11:58:49 -07:00
Gavin Bunney
6d0d523a9b Added resource.bitbucketserver_plugin 2019-10-14 11:38:39 -07:00
Gavin Bunney
78aafda47e Added license details to data.plugin 2019-10-11 15:41:15 -07:00
Gavin Bunney
d588ec9998 Added data.plugin 2019-10-11 11:02:36 -07:00
Gavin Bunney
8e30d02a06 Fix test 2019-10-11 09:40:33 -07:00
Gavin Bunney
1ab39f970c Added resource.bitbucketserver_repository_permissions_group, resource.bitbucketserver_repository_permissions_user, data.bitbucketserver_repository_permissions_groups and data.bitbucketserver_repository_permissions_users 2019-10-11 09:29:18 -07:00
Gavin Bunney
f7dd910a2f Added resource.bitbucketserver_global_permissions_group and resource.bitbucketserver_global_permissions_user 2019-10-11 08:39:18 -07:00
Gavin Bunney
e4f332c362 Added data.bitbucketserver_global_permissions_groups and data.bitbucketserver_global_permissions_users 2019-10-11 08:02:21 -07:00
Gavin Bunney
3b3cde32e3 Added data.bitbucketserver_groups, data.bitbucketserver_group_users, resource.bitbucketserver_group and resource.bitbucketserver_user_group 2019-10-10 15:06:41 -07:00
Gavin Bunney
e01c73392b Rename admin_* resources to plain names 2019-10-10 11:46:28 -07:00
Gavin Bunney
f748cb05c7 Added bitbucketserver_user resource; updated tests to create users on the fly 2019-10-10 09:36:56 -07:00
Gavin Bunney
d63df2e655 Added bitbucketserver_project_permissions_user resource and bitbucketserver_project_permissions_users data source 2019-10-10 08:34:39 -07:00
Gavin Bunney
acf8c904e0 Added bitbucketserver_project_permissions_group 2019-10-09 23:09:01 -07:00
Gavin Bunney
f3a9683fd1 Rename bitbucketserver_project_groups to bitbucketserver_project_permissions_groups to better reflect use 2019-10-09 14:43:07 -07:00
Gavin Bunney
4ee9fb67c6 Rename bitbucketserver_project_groups to bitbucketserver_project_permissions_groups to better reflect use 2019-10-09 14:42:29 -07:00
Gavin Bunney
69092ae19a Added data.bitbucketserver_project_groups 2019-10-09 14:30:31 -07:00
Gavin Bunney
c5ef834f05 go fmt 2019-10-09 12:10:47 -07:00
Gavin Bunney
db39d31880 Added data.bitbucketserver_application_properties 2019-10-09 12:01:12 -07:00
Gavin Bunney
9d0c85c37a Added resource_admin_license 2019-10-09 11:22:26 -07:00
Gavin Bunney
ba5d6d5388 Handle API errors correctly for Bitbucket server 2019-10-09 11:06:10 -07:00
Gavin Bunney
a9f39faec6 Added resource_admin_mail_server resource 2019-10-08 15:38:15 -07:00