Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for OIDC bearer tokens to auth TFP against Octopus API #810

Merged
merged 2 commits into from
Nov 11, 2024

docs: add info about auth methods

bdad825
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat: add support for OIDC bearer tokens to auth TFP against Octopus API #810

docs: add info about auth methods
bdad825
Select commit
Loading
Failed to load commit list.
GitHub Actions / Go Tests succeeded Nov 8, 2024 in 0s

196 passed, 0 failed and 12 skipped

Tests passed successfully

✅ junit-test-summary.xml

208 tests were completed in 400s with 196 passed, 0 failed and 12 skipped.

Test suite Passed Failed Skipped Time
github.com/OctopusDeploy/terraform-provider-octopusdeploy 0ms
github.com/OctopusDeploy/terraform-provider-octopusdeploy/internal 0ms
github.com/OctopusDeploy/terraform-provider-octopusdeploy/internal/environments 0ms
github.com/OctopusDeploy/terraform-provider-octopusdeploy/internal/errors 0ms
github.com/OctopusDeploy/terraform-provider-octopusdeploy/internal/projects 0ms
github.com/OctopusDeploy/terraform-provider-octopusdeploy/internal/test 0ms
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy 91✅ 10⚪ 400s
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework 90✅ 2⚪ 149s
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework/schemas 15✅ 7ms
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework/util 0ms

✅ github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy

✅ TestKubernetesAgentWorkerResource
✅ TestAccAWSAccountBasic
✅ TestGcpAccountResource
✅ TestSshAccountResource
✅ TestAccDataSourceSpaces
✅ TestAccOctopusDeployCertificateBasic
✅ TestTerraformApplyStepWithWorkerPool
✅ TestAccGcpAccountBasic
✅ TestProjectTriggerResource
✅ TestTokenAccountResource
✅ TestAccDataSourceAccounts
✅ TestProvider
✅ TestK8sPodAuthTargetResource
✅ TestOfflineDropTargetResource
✅ TestAccOctopusDeployAzureSubscriptionAccountBasic
✅ TestAzureSubscriptionAccountResource
✅ TestAccOctopusDeployDeploymentProcessBasic
✅ TestAccKubernetesClusterDeploymentTargetAws
✅ TestKubernetesDeploymentTargetResource
✅ TestPollingSubscriptionIdResource
✅ TestAccDataSourceSpaces
✅ TestAccCloudRegionDeploymentTargetImportBasic
✅ TestMachinePolicyResource
✅ TestAwsAccountExport
✅ TestCertificateResource
✅ TestAccOctopusDeployChannelBasicWithUpdate
✅ TestAccCloudRegionDeploymentTargetBasic
✅ TestListeningTargetResource
✅ TestSpaceResource
✅ TestSshTargetResource
✅ TestK8sTargetWithCertResource
✅ TestAccTeamBasic
✅ TestAccOctopusDeployWindowsServiceFeature
✅ TestCloudRegionTargetResource
✅ TestAccOctopusDeployDeploymentProcessWithImpliedPrimaryPackage
✅ TestPackageFeedCreateReleaseTriggerResources
✅ TestPollingTargetResource
⚪ TestAccAWSOIDCAccountBasic
⚪ TestAccOctopusDeployAzureOpenIDConnectAccountBasic
⚪ TestAccOctopusDeployChannelWithOneRule
⚪ TestAccOctopusDeployChannelWithOneRuleWithUpdate
⚪ TestAccOctopusDeployChannelWithTwoRules
⚪ TestAccOctopusDeployDeploymentProcessWithActionTemplate
⚪ TestAccOctopusDeployDynamicWorkerPoolBasic
⚪ TestAccListeningTentacleDeploymentTarget
⚪ TestAccScopedUserRole
⚪ TestAccTeamUserRole
✅ TestProvider_impl
✅ TestAzureCloudServiceTargetResource
✅ TestAccOctopusDeployAzureWebAppDeploymentTargetBasic
✅ TestDeploymentProcessWithGitDependency
✅ TestAccSpaceImportBasic
✅ TestAccUserRoleBasic
✅ TestAccOctopusDeployApplyTerraformAction
✅ TestExpandRunScriptAction
✅ TestExpandDeploymentActionContainer
✅ TestExpandDeploymentActionPackage
✅ TestFlattenDeploymentActionPackage
✅ TestExpandDeploymentActionSlugPackages_NilExpandsToNil
✅ TestExpandDeploymentActionSlugPackages_EmptyExpandsToEmpty
✅ TestExpandDeploymentActionSlugPackages_ArrayExpandsCorrectly
✅ TestExpandDeploymentActionSlugPrimaryPackages_NilExpandsToNil
✅ TestExpandDeploymentActionSlugPrimaryPackages_EmptyExpandsToEmpty
✅ TestExpandDeploymentActionSlugPrimaryPackages_ArrayExpandsCorrectly
✅ TestFlattenDeploymentActionSlugPackages_NilFlattensToNil
✅ TestFlattenDeploymentActionSlugPackages_EmptyFlattensToNil
✅ TestFlattenDeploymentActionSlugPackages_IgnoresPrimaryPackages_NoPackagesAfterFlattening
✅ TestFlattenDeploymentActionSlugPackages_IgnoresPrimaryPackages_ArrayFlattensCorrectly
✅ TestFlattenDeploymentActionSlugPrimaryPackages_NilFlattensToNil
✅ TestFlattenDeploymentActionSlugPrimaryPackages_EmptyFlattensToNil
✅ TestFlattenDeploymentActionSlugPrimaryPackages_IgnoresPackages_NoPrimaryPackagesAfterFlattening
✅ TestFlattenDeploymentActionSlugPrimaryPackages_IgnoresPackages_ArrayFlattensCorrectly
✅ TestExpandDeploymentAction
✅ TestFlattenDeploymentAction
✅ TestGetSliceFromTerraformTypeList
✅ TestAzureServiceFabricTargetResource
✅ TestAzureWebAppTargetResource
✅ TestSSHKeyBasic
✅ TestAccOctopusDeployStaticWorkerPoolBasic
✅ TestAccOctopusDeployRunKubectlScriptAction
✅ TestAccDataSourceChannels
✅ TestAccOctopusDeployAzureServicePrincipalAccountBasic
✅ TestProjectChannelResource
✅ TestAccKubernetesClusterDeploymentTargetBasic
✅ TestK8sTargetResource
✅ TestProjectScheduledTriggerResources
✅ TestWorkerPoolResource
✅ TestAccOctopusDeployDeployWindowsServiceAction
✅ TestAccRunScriptAction
✅ TestAccDataSourceProjects
✅ TestAzureAccountResource
✅ TestAccOctopusDeployChannelBasic
✅ TestAccKubernetesClusterDeploymentTargetGcp
✅ TestAccSpaceBasic
✅ TestAccDataSourceWorkerPools
✅ TestKubernetesDeploymentTargetData
✅ TestAccProjectGroup
✅ TestTokenAccountBasic
✅ TestAccUserRolePermissions
✅ TestAccOctopusDeployDeployKubernetesSecretAction
✅ TestAccOctopusDeployManualInterventionAction

✅ github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework

✅ TestAccDataSourceScriptModules
✅ TestAccDataSourceFeeds
✅ TestAccDataSourceLifecycles
✅ TestAccOctopusDeployLibraryVariableSetBasic
✅ TestAccOctopusDeployLibraryVariableSetWithUpdate
✅ TestProjectWithDollarSignsExport
✅ TestVariableResource
✅ TestAccDataSourceSpaces
✅ TestAccLifecycleWithUpdate
✅ TestProjectTerraformPackageScriptExport
✅ TestTenantProjectResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccUserBasic
✅ TestAccUsernamePasswordBasic
✅ TestAccOctopusDeployGoogleFeed
✅ TestAccLifecycleComplex
✅ TestProjectWithGitUsernameExport
✅ TestTagSetResource
✅ TestAccTenantCommonVariableBasic
✅ TestTenantsResource
✅ TestUsersAndTeams
✅ TestNugetFeed_UpgradeFromSDK_ToPluginFramework
✅ TestDockerFeedResource
✅ TestAccLifecycleBasic
✅ TestLifecycleResource
✅ TestUsernamePasswordAccountResource
✅ TestAccDataSourceProjectGroups
✅ TestAccDataSourceSpaces
✅ TestAccOctopusDeployAzureFeed
✅ TestEnvironmentResource_UpgradeFromSDK_ToPluginFramework
✅ TestGithubFeedResource
✅ TestAccOctopusDeployLibraryVariableSetComplex
✅ TestProjectGroupResource
✅ TestProjectInSpaceResource
✅ TestHelmFeedResource
✅ TestProjectWithScriptActions
✅ TestTagSetAndTag
✅ TestArtifactoryGenericFeedResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccDataSourceUsers
✅ TestGitHubRepositoryFeed
✅ TestAccMachineProxyBasic
✅ TestMavenFeedResource
✅ TestRunbookResource
✅ TestAccOctopusDeployScriptModuleBasic
✅ TestAccTenantBasic
✅ TestMavenResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccOctopusDeployEnvironmentMinimum
✅ TestAccOctopusDeployLibraryVariableSetWithVariable
✅ TestAccProjectBasic
✅ TestAccOctopusStepTemplateBasic
✅ TestSpaceResource_UpgradeFromSDK_ToPluginFramework
⚪ TestRunbookResource_UpgradeFromSDK_ToPluginFramework
⚪ TestAccOctopusDeployVariableBasic
✅ TestAccDataSourceTagSets
✅ TestAccPreCheck
✅ TestEcrFeedResource
✅ TestGitCredentialsResource
✅ TestExpandLifecycleWithNil
✅ TestExpandLifecycle
✅ TestExpandPhasesWithEmptyInput
✅ TestExpandPhasesWithNullInput
✅ TestExpandPhasesWithUnknownInput
✅ TestExpandAndFlattenPhasesWithSensibleDefaults
✅ TestExpandAndFlattenMultiplePhasesWithSensibleDefaults
✅ TestAccOctopusDeployMavenFeed
✅ TestExpandTagSet
✅ TestTenantResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccOctopusDeployOCIRegistryFeed
✅ TestAccTag
✅ TestAccTenantProjectVariableBasic
✅ TestTentacleCertificateResource
✅ TestUsernamePasswordVariableResource
✅ TestAccDataSourceTenants
✅ TestAccOctopusDeployDockerContainerRegistry
✅ TestAccOctopusDeployEnvironmentBasic
✅ TestAccOctopusDeployNuGetFeedBasic
✅ TestAccOctopusDeployS3Feed
✅ TestAccUserImportBasic
✅ TestAccDataSourceEnvironments
✅ TestGitCredentialBasic
✅ TestAccOctopusDeployHelmFeed
✅ TestScriptModuleResource
✅ TestTenantVariablesResource
✅ TestVariableSetResource
✅ TestGitHubFeed_UpgradeFromSDK_ToPluginFramework
✅ TestAccOctopusDeployArtifactoryGenericFeed
✅ TestEnvironmentResource
✅ TestAccProjectWithUpdate
✅ TestProjectTerraformInlineScriptExport
✅ TestAccUsernamePasswordAccountImport
✅ TestHelmFeedResource_UpgradeFromSDK_ToPluginFramework
✅ TestNugetFeedResource
✅ TestProjectResource

✅ github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework/schemas

✅ TestDatasourceSchemaDefinitionIsUsingCorrectTypes
✅ TestResourceSchemaDefinitionIsUsingCorrectTypes
✅ TestExpandPromptedDisplaySettingsWithNilInput
✅ TestExpandPromptedDisplaySettingsWithEmptyInput
✅ TestExpandPromptedDisplaySettingsWithCheckbox
✅ TestExpandPromptedDisplaySettingsWithSelect
✅ TestExpandPromptedVariableSettingsWithNilInput
✅ TestExpandPromptedVariableSettingsWithEmptyInput
✅ TestExpandSelectOptionsWithNilInput
✅ TestExpandSelectOptionsWithEmptyInput
✅ TestFlattenPromptedVariableDisplaySettingsWithNilInput
✅ TestFlattenPromptedVariableSettingsWithNilInput
✅ TestFlattenSelectOptionsWithNilInput
✅ TestExpandVariableScope
✅ TestFlattenVariableScope