139 Commits

Author SHA1 Message Date
Dusan Jakub
a6d62d7971 Create main.yml v0.0.1 2025-05-27 11:03:33 +02:00
xvlcwk
3b695f9067 ci: Add terraform manifest 2025-03-18 21:23:56 +01:00
xvlcwk
e553ae9bcb ci: Update goreleaser config 2025-03-18 21:03:26 +01:00
xvlcwk
1067f4a4b5 ci(release): Replace release workflow with version from scaffolding
I should have ched this first.
The correct version is always at
https://github.com/hashicorp/terraform-provider-scaffolding-framework/blob/main/.github/workflows/release.yml
2025-03-18 20:51:43 +01:00
xvlcwk
ccf9e50ac4 Merge pull request #19 from xvlcwk-terraform/fix/update_release_workflow
ci(release): Update github actions
2025-03-18 20:00:15 +01:00
xvlcwk
bf23a76aa7 ci(release): Update github actions 2025-03-18 19:59:13 +01:00
xvlcwk
af42616880 Merge pull request #18 from xvlcwk-terraform/fix/api_incompatibilty_to_dcfor_deploy_keys
fix(repository_deploy_keys): Make deploy keys compatible to bitbucket…
2025-03-18 19:19:02 +01:00
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
82b25662a3 Merge pull request #15 from xvlcwk-terraform/feat/10_access_tokens
feat(#10): Support http-access-tokens for authentication
2024-02-07 23:44:32 +01:00
xvlcwk
5c82693906 feat(#10): Support http-access-tokens for authentication 2024-02-07 23:27:25 +01:00
xvlcwk
8f9c46f7d7 Merge pull request #12 from xvlcwk-terraform/chore/0007_update_bitbucket_version
Chore/0007 update bitbucket version
2024-02-07 23:14:15 +01:00
xvlcwk
c7cd148f8e chore: Upgrade required go version
Since we're using the toolchain directive to generate enum helper
classes, we need go 1.21+
2024-02-07 22:47:05 +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
6dff8e2902 Merge pull request #9 from xvlcwk-terraform/chore/0007_update_bitbucket_version
chore: Update testinstanz to 8.5
2024-02-03 14:43:53 +01:00
xvlcwk
81c08dd5a7 chore: Update testinstanz to 8.5 2024-02-03 14:38:15 +01:00
xvlcwk
6b2b300581 fix: Ensure tag-action reads go-version correctly
Unfortunately 1.20 is merged to 1.2 in yaml. Add '' to avoid parsing as
number.
2024-01-13 23:48:45 +01:00
xvlcwk
70147bc246 Merge pull request #6 from xvlcwk-terraform/feat/4_add_resource_repository_deploy_key
feat(#4) Add resource_repository_deploy_key
2024-01-13 23:41:38 +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
a8bef11d81 [chore] Ignore windows/arm when building releases 2024-01-12 14:45:25 +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
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