xvlcwk
3e77c275e0
fix(repository_deploy_keys): Make deploy keys compatible to bitbucket-dc-lts
...
For some reason this api does return ints, where it is supposed to
return strings in older LTS versions.
2025-03-18 17:51:29 +01:00
xvlcwk
5c82693906
feat( #10 ): Support http-access-tokens for authentication
2024-02-07 23:27:25 +01:00
xvlcwk
a732c2009e
feat: Support repository access tokens
...
This is very much a WIP. It will be extended quite a bit to support
automatic recreation and similar stuff.
For now it will only be pushed to be used internally.
2024-02-05 00:20:03 +01:00
xvlcwk
ce6854b8b6
feat: Introduce muxing for new elements
2024-02-05 00:19:08 +01:00
xvlcwk
81c08dd5a7
chore: Update testinstanz to 8.5
2024-02-03 14:38:15 +01:00
xvlcwk
4a1db57661
feat( #4 ) Add resource_repository_deploy_key
...
Allows to add an ssh key to a given repository.
This should allow to make build servers with more restricted access
controls.
2024-01-13 23:29:51 +01:00
xvlcwk
092b11972e
Merge pull request #3 from HansBraun/master
...
Update resource_repository_webhook.go
2024-01-12 13:17:20 +01:00
xvlcwk
7a17d725d5
[1][fix] Allow access to user_id
...
user_id was not stored into the state. Adding this now to ensure that it
can actually be used.
2024-01-12 13:14:10 +01:00
xvlcwk
018f9785a3
[2][chore] Convert to independently publishable system
...
Update references to allow publishing this as an individual provider.ü
2024-01-12 13:12:36 +01:00
HansBraun
16a1b30ca1
Update resource_repository_webhook.go
2022-12-14 19:32:33 +01:00
Stanislau Liamniou
bd6992d6e0
Add resource_project_branch_permissions ( #47 )
...
Resolves gavinbunney/terraform-provider-bitbucketserver#17
2022-06-17 09:27:16 -07:00
Robin Breathe
2e2fc4e78f
Fix data_group_users in the face of pagination ( #45 )
...
* Without this change, past the first page of results, the
pagination logic within data_group_users was incorrectly switching
to the data_project_permissions_groups API, as well as not actually
updating the API URL, resulting in breakage for groups with >25 users.
2022-06-16 10:25:01 -07:00
Stanislau Liamniou
5311e3ab9e
Install plugins with uri ( #46 )
...
bitbucket/resource_plugin: Install plugins with URI
Existing approach based on PostFileUpload() doesn't seem to work for Bitbucket server 6.10.
Replace it with InstallPluginWithUri().
2022-06-16 10:22:15 -07:00
raulbarreto-delivion
1323abe664
Fix update webhook and use secret for webhook authentication ( #42 )
...
* Fix update repository webhooks and extend webhook tests
* Use secret to authenticate the webhook payload and extend the tests with the secret
Co-authored-by: Raul Barreto <raul.barreto@redbull.com >
2021-12-14 16:52:58 -08:00
raulbarreto-delivion
bee3f62908
Fix update repository webhooks ( #41 )
...
Co-authored-by: Raul Barreto <raul.barreto@redbull.com >
2021-12-14 13:15:37 -08:00
Gavin Bunney
4a6cb44484
Fix webhook support
2021-12-14 09:24:35 -08:00
raulbarreto-delivion
f7325bc723
Add a resource for webhook ( #40 )
...
Authored-by: Raul Barreto <raul.barreto@redbull.com >
2021-12-14 09:01:40 -08:00
Gavin Bunney
f0730e2f64
Test fixes
2021-07-15 10:02:41 -07:00
Gavin Bunney
a1fad8c84e
Update for new bitbucket server version
2021-07-15 09:00:40 -07:00
Gavin Bunney
4e1cd58c9b
fmt
2021-07-15 08:45:51 -07:00
Gavin Bunney
fb66ebcfb0
Upgrade bitbucket server to lts version; disable plugin tests for now
2021-07-15 08:45:22 -07:00
rayvorn
4adaea3109
Fix an issue where manual user removing requires terraform state rm. ( #35 )
2021-07-14 17:06:54 -07:00
kcao-guidewire
80112bb5a9
fix: Allow unmarshal json to tolerate null datetimes ( #27 )
...
Signed-off-by: James Dobson <jdobson@guidewire.com >
2021-07-14 17:06:27 -07:00
Martin Litvaj
f47e63bc37
Fix exists when repo does not exist
2021-01-15 00:10:40 +01:00
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