terraform-provider-teamcity icon indicating copy to clipboard operation
terraform-provider-teamcity copied to clipboard

New Resource: `teamcity_project_feature_versioned_settings`

Open tombuildsstuff opened this issue 5 years ago • 3 comments
trafficstars

This introduces a new resource for managing the Versioned Settings Feature for a Project

Whilst implementing this I realised I missed support for configuring "credentialsStorageType" which allows using the Secure Tokens rather than scrambling values - which is tracked in https://github.com/cvbarros/go-teamcity/pull/76 - as such that'll need to be merged for this to work

tombuildsstuff avatar Apr 22 '20 09:04 tombuildsstuff

Dependent on https://github.com/cvbarros/go-teamcity/pull/85

tombuildsstuff avatar Apr 29 '20 12:04 tombuildsstuff

With the dependencies available the tests pass:

$ TEAMCITY_ADDR=http://localhost:8112 TEAMCITY_USER=admin TEAMCITY_PASSWORD=admin TF_ACC=1 go test -v ./teamcity/ -run=TestAccTeamcityProjectVersionedSe
=== RUN   TestAccTeamcityProjectVersionedSettings_Basic
--- PASS: TestAccTeamcityProjectVersionedSettings_Basic (0.87s)
=== RUN   TestAccTeamcityProjectVersionedSettings_Update
--- PASS: TestAccTeamcityProjectVersionedSettings_Update (3.40s)
=== RUN   TestAccTeamcityProjectVersionedSettings_ContextParameters
--- PASS: TestAccTeamcityProjectVersionedSettings_ContextParameters (2.90s)
=== RUN   TestAccTeamcityProjectVersionedSettings_CredentialsStorageTypeSettings
--- PASS: TestAccTeamcityProjectVersionedSettings_CredentialsStorageTypeSettings (2.93s)
PASS
ok  	github.com/cvbarros/terraform-provider-teamcity/teamcity	10.128s

tombuildsstuff avatar Apr 29 '20 12:04 tombuildsstuff

👋 @tombuildsstuff mind rebasing on master for the client upgrade? Then this will be gtg, thanks!

cvbarros avatar Jun 11 '20 21:06 cvbarros