Commit Graph

115 Commits

Author SHA1 Message Date
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
8e94aeb33c Update README.md 2021-07-15 10:16:02 -07: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
Gavin Bunney
0b0d03cda2 Port to GitHub actions & publish to Terraform registry (#39)
* Port to GitHub actions

* Fix

* Make docs terraform registry compatible
2021-07-14 17:47:45 -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
Gavin Bunney
85fcf2aaf6 Merge pull request #28 from Kamahl19/fix-exists
Fix Exists method when repo does not exist
2021-01-14 15:12:40 -08:00
Martin Litvaj
f47e63bc37 Fix exists when repo does not exist 2021-01-15 00:10:40 +01:00
Gavin Bunney
35b8cd3f51 Merge pull request #24 from gavinbunney/dependabot/npm_and_yarn/docusaurus/website/dot-prop-4.2.1
Bump dot-prop from 4.2.0 to 4.2.1 in /docusaurus/website
2020-11-06 12:34:27 -08:00
dependabot[bot]
48bb1c3706 Bump dot-prop from 4.2.0 to 4.2.1 in /docusaurus/website
Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/sindresorhus/dot-prop/releases)
- [Commits](https://github.com/sindresorhus/dot-prop/compare/v4.2.0...v4.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-06 20:33:57 +00:00
Gavin Bunney
79e595eff5 Merge pull request #22 from jare19/bugfix/forkable
removed omitempty from the forkable boolean value
2020-11-06 12:33:04 -08:00
Jason Reeves
ae1adf0be1 removed omitempty from the forkable boolean value 2020-10-28 15:52:44 -05:00
Gavin Bunney
06db60ee0e Merge pull request #21 from Kamahl19/add-exists
Add Exists method for resource defaultReviewersCondition
2020-09-19 13:58:41 -07:00
Martin Litvaj
534d71de7d Add Exists method for resource defaultReviewersCondition 2020-09-19 15:03:53 +02:00
Gavin Bunney
a1c2e29d43 Merge pull request #19 from gavinbunney/dependabot/npm_and_yarn/docusaurus/website/decompress-4.2.1
Bump decompress from 4.2.0 to 4.2.1 in /docusaurus/website
2020-09-18 08:54:30 -07:00
Gavin Bunney
caecad2105 Merge pull request #16 from gavinbunney/dependabot/npm_and_yarn/docusaurus/website/prismjs-1.21.0
Bump prismjs from 1.17.1 to 1.21.0 in /docusaurus/website
2020-09-18 08:54:21 -07:00
Gavin Bunney
88ddf873d4 Merge pull request #20 from Kamahl19/fix-missing-resource
Fix missing Default reviewers condition resource
2020-09-18 08:54:00 -07:00
Martin Litvaj
43286c778a Fix missing Default reviewers condition resource 2020-09-18 13:36:48 +02:00
dependabot[bot]
57ee51092c Bump decompress from 4.2.0 to 4.2.1 in /docusaurus/website
Bumps [decompress](https://github.com/kevva/decompress) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/kevva/decompress/releases)
- [Commits](https://github.com/kevva/decompress/compare/v4.2.0...v4.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-04 07:55:15 +00:00
dependabot[bot]
723a1e9a29 Bump prismjs from 1.17.1 to 1.21.0 in /docusaurus/website
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.17.1 to 1.21.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.17.1...v1.21.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-07 23:37:26 +00: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
Gavin Bunney
e0a4dbf15d Merge pull request #14 from gavinbunney/dependabot/npm_and_yarn/docusaurus/website/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19 in /docusaurus/website
2020-07-21 15:33:57 -07:00
Gavin Bunney
b963bc79d2 Merge pull request #15 from Kamahl19/fix_required_approvals
Fix zero required approvals being ignored
2020-07-21 15:33:40 -07:00
Martin Litvaj
f11b275f56 Fix zero required approvals being ignored 2020-07-21 19:16:35 +02:00
dependabot[bot]
3aeb1dfe14 Bump lodash from 4.17.15 to 4.17.19 in /docusaurus/website
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-18 12:54:47 +00:00
Gavin Bunney
f7ff5040fa Added one-liner installer to docs 2020-07-17 22:05:09 -07:00
Gavin Bunney
e22063ce56 Merge pull request #7 from gavinbunney/dependabot/npm_and_yarn/docusaurus/website/websocket-extensions-0.1.4
Bump websocket-extensions from 0.1.3 to 0.1.4 in /docusaurus/website
2020-07-17 22:00:42 -07:00
Gavin Bunney
c33a421ecc Merge pull request #13 from Kamahl19/update_readme
Update README and development instructions
2020-07-17 21:58:59 -07: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
Gavin Bunney
ac191348a0 Merge pull request #10 from Kamahl19/#9
Fix user name with spaces not working
2020-07-17 21:39:26 -07:00
Martin Litvaj
cfe75d3bc8 Fix user name with spaces not working 2020-07-17 19:14:45 +02:00
Martin Litvaj
9911ca71f3 Update README and development instructions 2020-07-17 18:56:05 +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
dependabot[bot]
f473c12516 Bump websocket-extensions from 0.1.3 to 0.1.4 in /docusaurus/website
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-07 09:28:49 +00:00
Gavin Bunney
f116e39d79 Update to latest docusaurus 2020-04-05 23:02:25 -07:00
Gavin Bunney
2c90cbdb81 Update docs based on changes to plugin_config 2019-11-21 10:14:33 -08:00
Gavin Bunney
19a74f0b1a Updated to use hashicorps cookie from other provides; removes need for encrypted local copy 2019-11-20 23:35:42 -08:00