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

Add workers data source #818

Merged
merged 9 commits into from
Nov 19, 2024

Use correct expected value for worker

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

Add workers data source #818

Use correct expected value for worker
76686c2
Select commit
Loading
Failed to load commit list.
GitHub Actions / Go Tests succeeded Nov 19, 2024 in 0s

199 passed, 0 failed and 12 skipped

Tests passed successfully

✅ junit-test-summary.xml

211 tests were completed in 400s with 199 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 93✅ 2⚪ 153s
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
✅ TestAccDataSourceAccounts
✅ TestProvider
✅ TestAccAWSAccountBasic
✅ TestAccOctopusDeployCertificateBasic
✅ TestGcpAccountResource
✅ TestAccGcpAccountBasic
✅ TestTerraformApplyStepWithWorkerPool
✅ TestSshAccountResource
✅ TestAccDataSourceWorkerPools
✅ TestOfflineDropTargetResource
✅ TestAccOctopusDeployAzureSubscriptionAccountBasic
✅ TestAccOctopusDeployDeploymentProcessBasic
✅ TestAccKubernetesClusterDeploymentTargetAws
✅ TestK8sPodAuthTargetResource
✅ TestAccUserRoleBasic
✅ TestAccDataSourceSpaces
✅ TestAccCloudRegionDeploymentTargetImportBasic
✅ TestAccKubernetesClusterDeploymentTargetGcp
✅ TestPollingSubscriptionIdResource
✅ TestWorkerPoolResource
✅ TestAwsAccountExport
✅ TestAzureAccountResource
✅ TestCertificateResource
✅ TestAccOctopusDeployChannelBasicWithUpdate
✅ TestAccCloudRegionDeploymentTargetBasic
✅ TestAccDataSourceSpaces
✅ TestCloudRegionTargetResource
✅ TestK8sTargetWithCertResource
✅ TestAccTeamBasic
✅ TestAccOctopusDeployWindowsServiceFeature
✅ TestAccOctopusDeployDeploymentProcessWithImpliedPrimaryPackage
✅ TestPackageFeedCreateReleaseTriggerResources
✅ TestKubernetesDeploymentTargetResource
✅ TestAccProjectGroup
✅ TestTokenAccountBasic
✅ TestAccOctopusDeployAzureWebAppDeploymentTargetBasic
✅ TestDeploymentProcessWithGitDependency
✅ TestAccOctopusDeployApplyTerraformAction
✅ TestAzureServiceFabricTargetResource
✅ TestAzureWebAppTargetResource
✅ TestProjectTriggerResource
✅ TestSSHKeyBasic
⚪ TestAccAWSOIDCAccountBasic
⚪ TestAccOctopusDeployAzureOpenIDConnectAccountBasic
⚪ TestAccOctopusDeployChannelWithOneRule
⚪ TestAccOctopusDeployChannelWithOneRuleWithUpdate
⚪ TestAccOctopusDeployChannelWithTwoRules
⚪ TestAccOctopusDeployDeploymentProcessWithActionTemplate
⚪ TestAccOctopusDeployDynamicWorkerPoolBasic
⚪ TestAccListeningTentacleDeploymentTarget
⚪ TestAccScopedUserRole
⚪ TestAccTeamUserRole
✅ TestAccDataSourceProjects
✅ TestProvider_impl
✅ TestAzureCloudServiceTargetResource
✅ TestAccOctopusDeployAzureServicePrincipalAccountBasic
✅ TestProjectChannelResource
✅ TestAccKubernetesClusterDeploymentTargetBasic
✅ TestK8sTargetResource
✅ TestAccSpaceImportBasic
✅ TestAccUserRolePermissions
✅ 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
✅ TestListeningTargetResource
✅ TestMachinePolicyResource
✅ TestProjectScheduledTriggerResources
✅ TestAccOctopusDeployStaticWorkerPoolBasic
✅ TestAccOctopusDeployDeployWindowsServiceAction
✅ TestAccRunScriptAction
✅ TestAccDataSourceChannels
✅ TestAccOctopusDeployChannelBasic
✅ TestAccSpaceBasic
✅ TestTokenAccountResource
✅ TestAccOctopusDeployRunKubectlScriptAction
✅ TestAzureSubscriptionAccountResource
✅ TestKubernetesDeploymentTargetData
✅ TestPollingTargetResource
✅ TestSpaceResource
✅ TestSshTargetResource
✅ TestAccOctopusDeployDeployKubernetesSecretAction
✅ TestAccOctopusDeployManualInterventionAction

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

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

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

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