From b3fe1acb5a0be81405a93bab26d01eef942fa456 Mon Sep 17 00:00:00 2001 From: Rhys Parry Date: Thu, 26 Nov 2026 10:09:03 +1000 Subject: [PATCH] Remove the discontinued Windows Docker image's test harness and build service The Windows Tentacle image was discontinued in September 2026. Remove the Pester test harness that only its TeamCity test used, and its service in docker-compose.build.yml. docker/windows stays as a reference for anyone building their own image, as docker/readme.md describes. --- docker-compose.build.yml | 9 -- docker-compose.yml | 69 --------- docker/Tests/OctopusRegistration.Tests.ps1 | 86 ----------- docker/Tests/OpenPorts.Tests.ps1 | 40 ------ docker/Tests/VolumeMapping.Tests.ps1 | 135 ------------------ .../Applications/.gitignore | 3 - .../TentacleHome/.gitignore | 3 - .../Import/Environments/Development.json | 8 -- .../octopus-server/Import/metadata.json | 8 -- .../octopus-server/MasterKey/.gitignore | 3 - .../octopus-server/Repository/.gitignore | 1 - .../Serilog.Sinks.TextWriter.2.1.0.nupkg | Bin 9014 -> 0 bytes .../Serilog.Sinks.TextWriter.2.1.0.nupkg | Bin 9014 -> 0 bytes .../polling-tentacle/Applications/.gitignore | 3 - .../polling-tentacle/TentacleHome/.gitignore | 3 - docker/common.ps1 | 40 ------ docker/readme.md | 2 +- docker/run-tests.ps1 | 53 ------- 18 files changed, 1 insertion(+), 465 deletions(-) delete mode 100644 docker-compose.yml delete mode 100644 docker/Tests/OctopusRegistration.Tests.ps1 delete mode 100644 docker/Tests/OpenPorts.Tests.ps1 delete mode 100644 docker/Tests/VolumeMapping.Tests.ps1 delete mode 100644 docker/Volumes/listening-tentacle/Applications/.gitignore delete mode 100644 docker/Volumes/listening-tentacle/TentacleHome/.gitignore delete mode 100644 docker/Volumes/octopus-server/Import/Environments/Development.json delete mode 100644 docker/Volumes/octopus-server/Import/metadata.json delete mode 100644 docker/Volumes/octopus-server/MasterKey/.gitignore delete mode 100644 docker/Volumes/octopus-server/Repository/.gitignore delete mode 100644 docker/Volumes/octopus-server/Repository/Serilog.Sinks.TextWriter/Serilog.Sinks.TextWriter.2.1.0.nupkg delete mode 100644 docker/Volumes/octopus-server/Repository/Spaces-1/feeds-builtin/Serilog.Sinks.TextWriter/Serilog.Sinks.TextWriter.2.1.0.nupkg delete mode 100644 docker/Volumes/polling-tentacle/Applications/.gitignore delete mode 100644 docker/Volumes/polling-tentacle/TentacleHome/.gitignore delete mode 100644 docker/common.ps1 delete mode 100644 docker/run-tests.ps1 diff --git a/docker-compose.build.yml b/docker-compose.build.yml index 75408a939..425bc324a 100644 --- a/docker-compose.build.yml +++ b/docker-compose.build.yml @@ -22,12 +22,3 @@ services: TARGETOS: linux TARGETVARIANT: ${BUILD_VARIANT} image: docker.packages.octopushq.com/octopusdeploy/kubernetes-agent-tentacle:${BUILD_NUMBER?err}-linux-${BUILD_ARCH:?err} - - octopusdeploy-tentacle-windows-2019: - build: - context: . - dockerfile: ./docker/windows/Dockerfile - args: - BUILD_DATE: ${BUILD_DATE:?err} - BUILD_NUMBER: ${BUILD_NUMBER:?err} - image: docker.packages.octopushq.com/octopusdeploy/tentacle:${BUILD_NUMBER?err}-windows-2019 diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index aceda3589..000000000 --- a/docker-compose.yml +++ /dev/null @@ -1,69 +0,0 @@ -version: "3" - -services: - db: - # There appears to be an issue with this docker image and the latest version will not start - # image: docker.packages.octopushq.com/octopusdeploy/mssql-server-windows-express:${MSSQL_SERVER_VERSION} - image: octopusdeploy/mssql-server-windows-express:latest - environment: - sa_password: "${SA_PASSWORD}" - ACCEPT_EULA: "Y" - healthcheck: - test: [ "CMD", "sqlcmd", "-U", "sa", "-P", "${SA_PASSWORD}", "-Q", "select 1" ] - interval: 10s - retries: 10 - restart: always - - octopus-server: - image: docker.packages.octopushq.com/octopusdeploy/octopusdeploy:${OCTOPUS_VERSION} - environment: - ADMIN_USERNAME: "${OCTOPUS_ADMIN_USERNAME}" - ADMIN_PASSWORD: "${OCTOPUS_ADMIN_PASSWORD}" - DB_CONNECTION_STRING: "Server=db,1433;Initial Catalog=Octopus;Persist Security Info=False;User ID=sa;Password=${SA_PASSWORD};MultipleActiveResultSets=False;Connection Timeout=30;" - SKIP_IMPORT_VERSION_CHECK: "${OCTOPUS_SKIP_IMPORT_VERSION_CHECK}" - IMPORT_PASSWORD: "${OCTOPUS_IMPORT_PASSWORD}" - ACCEPT_EULA: "Y" - ports: - - "8080" - - "10943" - depends_on: - - db - stdin_open: true #Process sits and waits for ReadLine - volumes: - - "./docker/Volumes/octopus-server/Import:C:/Import" - - "./docker/Volumes/octopus-server/Repository:C:/Repository" - - "./docker/Volumes/octopus-server/MasterKey:C:/MasterKey" - restart: always - - listening-tentacle: - image: docker.packages.octopushq.com/octopusdeploy/tentacle:${TENTACLE_VERSION} - depends_on: - - octopus-server - environment: - ServerUsername: "${OCTOPUS_ADMIN_USERNAME}" - ServerPassword: "${OCTOPUS_ADMIN_PASSWORD}" - TargetEnvironment: "Development" - TargetRole: "app-server" - ServerUrl: "http://octopus-server:8080" - stdin_open: true #Process sits and waits for ReadLine - volumes: - - "./docker/Volumes/listening-tentacle/Applications:C:/Applications" - - "./docker/Volumes/listening-tentacle/TentacleHome:C:/TentacleHome" - restart: always - - polling-tentacle: - image: docker.packages.octopushq.com/octopusdeploy/tentacle:${TENTACLE_VERSION} - depends_on: - - octopus-server - environment: - ServerUsername: "${OCTOPUS_ADMIN_USERNAME}" - ServerPassword: "${OCTOPUS_ADMIN_PASSWORD}" - TargetEnvironment: "Development" - TargetRole: "web-server" - ServerUrl: "http://octopus-server:8080" - ServerPort: "10943" - stdin_open: true #Process sits and waits for ReadLine - volumes: - - "./docker/Volumes/polling-tentacle/Applications:C:/Applications" - - "./docker/Volumes/polling-tentacle/TentacleHome:C:/TentacleHome" - restart: always diff --git a/docker/Tests/OctopusRegistration.Tests.ps1 b/docker/Tests/OctopusRegistration.Tests.ps1 deleted file mode 100644 index 6836e864d..000000000 --- a/docker/Tests/OctopusRegistration.Tests.ps1 +++ /dev/null @@ -1,86 +0,0 @@ -# Pester 5 doesn't yet support parameterised tests -[string]$script:IPAddress = $env:IPAddress -[string]$script:OctopusUsername = $env:OctopusUsername -[string]$script:OctopusPassword = $env:OctopusPassword -[string]$script:TentacleVersion = $env:TentacleVersion -[string]$script:ProjectName = $env:ProjectName - -function script:New-OctopusRepository() { - $octopusURI = "http://$($script:IPAddress):8080" - Write-Host "Using Octopus server at $octopusURI" - - $endpoint = new-object Octopus.Client.OctopusServerEndpoint $octopusURI - $repository = new-object Octopus.Client.OctopusRepository $endpoint - - $loginObj = New-Object Octopus.Client.Model.LoginCommand - $loginObj.Username = $script:OctopusUsername - $loginObj.Password = $script:OctopusPassword - $repository.Users.SignIn($loginObj) - - [Octopus.Client.OctopusRepository]$repository -} - -Describe 'Octopus Registration' { - if ([System.Environment]::OSVersion.Version -eq '10.0.14393.0') { - Write-Warning "This test does not run successfully on Windows 2016" - return - } - - BeforeAll { - $repository = script:New-OctopusRepository - - Write-Host "Enumerating machines..." - $machines = $repository.Machines.FindAll() - - Write-Host "Updating Calamari..." - $machineIds = $machines.id - $task = ($repository).Tasks.ExecuteCalamariUpdate($null, $machineIds); - $repository.Tasks.WaitForCompletion($task, 4, 3); - - Write-Host "Executing health checks..." - $task = $repository.Tasks.ExecuteHealthCheck(); - $repository.Tasks.WaitForCompletion($task, 4, 3); - } - - Context 'Polling Tentacle' { - - BeforeAll { - $tentacles = , ($machines | Where-Object { $_.Endpoint.CommunicationStyle -eq [Octopus.Client.Model.CommunicationStyle]::TentacleActive }) - } - - It 'should have been registered' { - $tentacles.Length | Should -Be 1 - } - - it 'should be healthy' { - $isHealthy = $tentacles[0].HealthStatus -eq "Healthy" -or $tentacles[0].HealthStatus -eq "HasWarnings" - $isHealthy | Should -Be $true - } - - it 'should have the correct version installed' { - $tentacles[0].Endpoint.TentacleVersionDetails.Version | Should -Be $TentacleVersion - } - - } - - Context 'Listening Tentacle' { - - BeforeAll { - $tentacles = , ($machines | Where-Object { $_.Endpoint.CommunicationStyle -eq [Octopus.Client.Model.CommunicationStyle]::TentaclePassive }) - } - - It 'should have been registered' { - $tentacles.Length | Should -Be 1 - } - - it 'should be healthy' { - $isHealthy = $tentacles[0].HealthStatus -eq "Healthy" -or $tentacles[0].HealthStatus -eq "HasWarnings" - $isHealthy | Should -Be $true - } - - it 'should have the correct version installed' { - $tentacles[0].Endpoint.TentacleVersionDetails.Version | Should -Be $TentacleVersion - } - - } -} diff --git a/docker/Tests/OpenPorts.Tests.ps1 b/docker/Tests/OpenPorts.Tests.ps1 deleted file mode 100644 index 1e9b6a334..000000000 --- a/docker/Tests/OpenPorts.Tests.ps1 +++ /dev/null @@ -1,40 +0,0 @@ -# Pester 5 doesn't yet support parameterised tests -[string]$script:IPAddress = $env:IPAddress -[string]$script:OctopusUsername = $env:OctopusUsername -[string]$script:OctopusPassword = $env:OctopusPassword -[string]$script:TentacleVersion = $env:TentacleVersion -[string]$script:ProjectName = $env:ProjectName - -. .\common.ps1 - -Describe 'Port 10933' { - - BeforeAll { - $networkName = $script:ProjectName + "_default"; - $octopusServerContainer = $script:ProjectName + "-octopus-server-1"; - $octopusListeningTentacleContainer = $script:ProjectName + "-listening-tentacle-1"; - $octopusPollingTentacleContainer = $script:ProjectName + "-polling-tentacle-1"; - $octopusDBContainer = $script:ProjectName + "-db-1"; - } - - Context 'Listening Tentacle' { - - it 'should be listening on 10933' { - $listeningTentacleIPAddress = $(Get-IPAddress $networkName $octopusListeningTentacleContainer) - - Write-Host "Testing connectivity to listening tentacle at $listeningTentacleIPAddress" - $result = Test-NetConnection -Port 10933 -ComputerName $listeningTentacleIPAddress -InformationLevel "Quiet" - $result | Should -Be $true - } - } - - Context 'Polling Tentacle' { - - it 'should not be listening on 10933' { - $pollingTentacleIPAddress = $(Get-IPAddress $networkName $octopusPollingTentacleContainer) - - $result = Test-NetConnection -Port 10933 -ComputerName $pollingTentacleIPAddress -InformationLevel "Quiet" - $result | Should -Be $false - } - } -} \ No newline at end of file diff --git a/docker/Tests/VolumeMapping.Tests.ps1 b/docker/Tests/VolumeMapping.Tests.ps1 deleted file mode 100644 index 05e368550..000000000 --- a/docker/Tests/VolumeMapping.Tests.ps1 +++ /dev/null @@ -1,135 +0,0 @@ -# Pester 5 doesn't yet support parameterised tests -[string]$script:IPAddress = $env:IPAddress -[string]$script:OctopusUsername = $env:OctopusUsername -[string]$script:OctopusPassword = $env:OctopusPassword -[string]$script:TentacleVersion = $env:TentacleVersion -[string]$script:ProjectName = $env:ProjectName - -function script:Write-DeploymentLogs($logs) { - % { $logs.LogElements } | % { Write-Host $_.MessageText } - % { $logs.Children } | % { Write-DeploymentLogs $_ } -} - -function script:New-OctopusRepository() { - $octopusURI = "http://$($script:IPAddress):8080" - Write-Host "Using Octopus server at $octopusURI" - - $endpoint = new-object Octopus.Client.OctopusServerEndpoint $octopusURI - $repository = new-object Octopus.Client.OctopusRepository $endpoint - - $loginObj = New-Object Octopus.Client.Model.LoginCommand - $loginObj.Username = $script:OctopusUsername - $loginObj.Password = $script:OctopusPassword - $repository.Users.SignIn($loginObj) - - [Octopus.Client.OctopusRepository]$repository -} - -Describe 'Volume Mounts' { - - BeforeAll { - $repository = script:New-OctopusRepository - } - - Context 'C:\TentacleHome' { - - it 'polling-tentacle should contain logs' { - Test-Path "./Volumes/polling-tentacle/TentacleHome/Logs/OctopusTentacle.txt" | Should -Be $true - } - - it 'listening-tentacle should contain logs' { - Test-Path "./Volumes/listening-tentacle/TentacleHome/Logs/OctopusTentacle.txt" | Should -Be $true - } - } - - Context 'C:\Applications' { - - function script:Clean { - $project = $repository.Projects.FindByName("MyFirstProject") - if ($null -ne $project) { - $repository.Projects.Delete($project) - } - - # We clean everything in here except .gitignore as the directory's existence needs to be preserved - # in order that the Docker bind mounts (required before our tests even start) can be wired up. - Remove-Item .\Volumes\polling-tentacle\Applications\* -Recurse -Force -Exclude ".gitignore" - Remove-Item .\Volumes\listening-tentacle\Applications\* -Recurse -Force -Exclude ".gitignore" - } - - BeforeEach { - script:Clean - } - - AfterEach { - script:Clean - } - - it 'should contain deployed packages' { - if ([System.Environment]::OSVersion.Version -eq '10.0.14393.0') { - Write-Warning "This test does not run successfully on windows 2016" - return - } - # Reindex built in library. This ensures that Octopus is aware of the - # nupkg file sitting in C:\Repository - $task = New-Object Octopus.Client.Model.TaskResource - $task.Name = "SynchronizeBuiltInPackageRepositoryIndex" - $task.Description = "Re-index built-in package repository" - $task.State = [Octopus.Client.Model.TaskState]::Queued - - $Task1 = $repository.Tasks.Create($task) - - try { - $repository.Tasks.WaitForCompletion($Task1) - } - finally { - # Write the logs from the reindex task to debug any issues - $details = $repository.Tasks.GetDetails($Task1) - $details.ActivityLogs | % { script:Write-DeploymentLogs $_ } - } - - # Create Project - $pg = $repository.ProjectGroups.FindAll()[0] - $lc = $repository.Lifecycles.FindAll()[0] - $env = $repository.Environments.FindAll()[0] - $project = $repository.Projects.CreateOrModify("MyFirstProject", $pg, $lc) - $pkg = New-Object Octopus.Client.Model.PackageResource - $pkg.PackageId = "Serilog.Sinks.TextWriter" - $pkg.FeedId = "feeds-builtin" - $project.DeploymentProcess.AddOrUpdateStep("Deploy").TargetingRoles("app-server", "web-server").AddOrUpdatePackageAction("DeploySeriLog", $pkg) - $p = $project.Save() - - # Create Release - $release = new-object Octopus.Client.Model.ReleaseResource - $release.Version = "1.0.1" - $release.ProjectId = $p.Instance.Id - $selectedPackage = New-Object Octopus.Client.Model.SelectedPackage - $selectedPackage.ActionName = "DeploySeriLog" - $selectedPackage.StepName = "DeploySeriLog" - $selectedPackage.Version = "2.1.0" - $release.SelectedPackages.Add($selectedPackage) - $release = $repository.Releases.Create($release, $true) - - # Create Deployment - $deployment = New-Object Octopus.Client.Model.DeploymentResource - $deployment.ReleaseId = $release.Id - $deployment.ProjectId = $release.ProjectId - $deployment.EnvironmentId = $env.Id - $deployment = $repository.Deployments.Create($deployment) - - # Wait For Deployment - $task = $repository.Tasks.Get($deployment.TaskId) - - try { - $repository.Tasks.WaitForCompletion($task, 4, 3) - } - finally { - # Write the logs from the deployment to debug any issues - $details = $repository.Tasks.GetDetails($task) - $details.ActivityLogs | % { Write-DeploymentLogs $_ } - } - - Test-Path "./Volumes/polling-tentacle/Applications/$($env.Name)/$($pkg.PackageId)" | Should -Be $true - Test-Path "./Volumes/listening-tentacle/Applications/$($env.Name)/$($pkg.PackageId)" | Should -Be $true - } - } -} diff --git a/docker/Volumes/listening-tentacle/Applications/.gitignore b/docker/Volumes/listening-tentacle/Applications/.gitignore deleted file mode 100644 index 74ef6bcda..000000000 --- a/docker/Volumes/listening-tentacle/Applications/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# This directory needs to exist so that our Docker containers can bind to it when we `docker-compose up -d` the universe. -* -!.gitignore \ No newline at end of file diff --git a/docker/Volumes/listening-tentacle/TentacleHome/.gitignore b/docker/Volumes/listening-tentacle/TentacleHome/.gitignore deleted file mode 100644 index 74ef6bcda..000000000 --- a/docker/Volumes/listening-tentacle/TentacleHome/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# This directory needs to exist so that our Docker containers can bind to it when we `docker-compose up -d` the universe. -* -!.gitignore \ No newline at end of file diff --git a/docker/Volumes/octopus-server/Import/Environments/Development.json b/docker/Volumes/octopus-server/Import/Environments/Development.json deleted file mode 100644 index 93f361503..000000000 --- a/docker/Volumes/octopus-server/Import/Environments/Development.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$type": "Octopus.Core.Model.Environments.DeploymentEnvironment, Octopus.Core", - "Id": "Environments-1", - "Name": "Development", - "Description": "", - "SortOrder": 0, - "UseGuidedFailure": false -} \ No newline at end of file diff --git a/docker/Volumes/octopus-server/Import/metadata.json b/docker/Volumes/octopus-server/Import/metadata.json deleted file mode 100644 index 8d3411f7c..000000000 --- a/docker/Volumes/octopus-server/Import/metadata.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$type": "Octopus.Migrator.Core.ExportProcess.ServerMetadata, Octopus.Migrator.Core", - "Id": "SKYNET", - "Name": "SKYNET", - "Created": "2017-03-10T19:34:16.8844884+10:00", - "DatabaseVersion": "0.0.0", - "Hello": "QodGbnfU53iwUAt0ayr+og==|AAAAAAAAAAAAAAAAAAAAAA==" -} \ No newline at end of file diff --git a/docker/Volumes/octopus-server/MasterKey/.gitignore b/docker/Volumes/octopus-server/MasterKey/.gitignore deleted file mode 100644 index 74ef6bcda..000000000 --- a/docker/Volumes/octopus-server/MasterKey/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# This directory needs to exist so that our Docker containers can bind to it when we `docker-compose up -d` the universe. -* -!.gitignore \ No newline at end of file diff --git a/docker/Volumes/octopus-server/Repository/.gitignore b/docker/Volumes/octopus-server/Repository/.gitignore deleted file mode 100644 index 095a4fab5..000000000 --- a/docker/Volumes/octopus-server/Repository/.gitignore +++ /dev/null @@ -1 +0,0 @@ -# This directory needs to exist so that our Docker containers can bind to it when we `docker-compose up -d` the universe. diff --git a/docker/Volumes/octopus-server/Repository/Serilog.Sinks.TextWriter/Serilog.Sinks.TextWriter.2.1.0.nupkg b/docker/Volumes/octopus-server/Repository/Serilog.Sinks.TextWriter/Serilog.Sinks.TextWriter.2.1.0.nupkg deleted file mode 100644 index 166b763f51f1078cdef7e4efa9316939d2819ae6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9014 zcmeI2Wl&wqw(oIwcY+gS0bxPVMQ{!7?#{wikRS=}5+JZ}f;$TdPH+hB9$Z3jcfw`Y zz3=UPcAZo2oNw>L?O8RuyQ=$NJ!+2G)xRD?RS^-12o4So4Gyu*L_X7IpnBrD#|RGx zhxuHaxLG;6a{>N%TaJmUAo5_LtWifi;d!$t&)Z zy=ooB&RT>Gr`SLxm%26ZoWy8@mBT!!h@@AzTrTsgtB0|5`ZU6R5nrQRlUf2on!eF{ zG^o}XB`bI<`PvPf*&1}%FE5~U$rkX>|EA#9CcCcjx;J%|bxFdvvmLPx5v=%+U^V6I~ta*1Y8hhW5eL zZ)z3%K1K*pE~KxF@xNy0V-*Ib)uU4@eyf<&bLDTmIIIwmylcN1FN3wuw{yUg$>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IECHaODVs7ko150MvGG!0|flu9c_QNeA)G7 zX;swsx|13)?&*TvN5<^wh*~l0Y4ltrqtSn%;#R|bqpCs__7pRLn^z** zdoifK1(^1$xi;OdiOdYs6;DhJbxiX!3U9MuI14uYlI1vKtdV|TRrqqf+qkC#Ob=AMNtZQ`WC;Xo;#I^}6UeCG(DCo%3Ck*p+99b$ zf$kN0erO<5D?&qk?BR4nYk&6n?VI*0no-=!yJOTmOe>8qf9F^rgmmqO1vh*L--*5h z>=i+uH0OE*$f1;}BN&A@67AcD&WF6iEWrf}aGoJt*8Wpx=~miyb!TLxrJ20~f=t=G z!(m4RCS13wSwXj4r_xAVpghzj61ONav7dFjn&yZ%ehQoOeX;1kF!DOy&=uv^G8uSd zPlF_oC)pU|Gx^9T=clN{zn$Fwil6`K$^Cyh^nW?@|1SNAtsvME>`YFfM<`*h##`==Ejr04tWTII>ELfY6_c}mva6wxZ!s;fS^hQ@WZ`-_Iw)+#*s6iV8#Tor{ zhx|JRTxkdsn2j=6Sne`?(leesL>K3By=p-TFXWk1u*doGszgkGCcoG@&tKOPvoPhp zXZPpPUQ@@&^UQ4$RrmQh2+lH0XYcNYdX>SE89Wu*N_v@x8>`Z2&CNV%*{uivR&i=E zZU!O#pI|RM0ukK5PJDQ_|1ae)X%MQ4|2XmQc>{mWx_fT^%UJP$XA%5e?C(M6KgBSf z*ZuE>p#QG<*G=k=K=z-d3g_R_eE#l#*ZljH#h;oG{Qs-@?_Oa1UHq>L{$p4DvjC|7 oGx2}2^1nOzpW+YCSs(wz .\Temp\ConsoleLogs\$($serviceName).log - exit 1 - } - - Sleep -Seconds $sleepsecs - } - - if ((($(docker inspect $serviceName) | ConvertFrom-Json).State.Health.Status) -ne "healthy") { - Write-DebugInfo @($serviceName) - Write-Error "Octopus container $serviceName failed to go healthy after $($attempts * $sleepsecs) seconds"; - docker logs $serviceName > .\Temp\ConsoleLogs\$($serviceName).log - exit 1; - } -} diff --git a/docker/readme.md b/docker/readme.md index 59da8ef54..5c1657cb4 100644 --- a/docker/readme.md +++ b/docker/readme.md @@ -41,7 +41,7 @@ docker run --publish 10931:10933 ` ``` -It is recommended that you run this using something like docker compose, so that it sets up and handles networking for you. Please see the [`docker-compose.yml` file in the Octopus Tentacle](https://github.com/OctopusDeploy/OctopusTentacle/blob/main/docker-compose.yml) repo for an example. Otherwise, use `docker network` so that the containers can talk to each other. +It is recommended that you run this using something like docker compose, so that it sets up and handles networking for you. Otherwise, use `docker network` so that the containers can talk to each other. ### Environment variables diff --git a/docker/run-tests.ps1 b/docker/run-tests.ps1 deleted file mode 100644 index 758e4e43b..000000000 --- a/docker/run-tests.ps1 +++ /dev/null @@ -1,53 +0,0 @@ -param ( - [ValidateNotNullOrEmpty()] - [string]$ProjectName, - [ValidateNotNullOrEmpty()] - [string]$OctopusVersion, - [ValidateNotNullOrEmpty()] - [string]$TentacleVersion -) - -# -SkipPublisherCheck is required because earlier versions of Pester cause conflicts if they're already installed. -Install-Module -Name "Pester" -MinimumVersion "5.0.2" -MaximumVersion "5.1.1" -Force -SkipPublisherCheck -Import-Module -Name "Pester" -MinimumVersion "5.0.2" -MaximumVersion "5.1.1" -Write-Host "Pester Version: " (Get-Module Pester).Version - -# We do this here even though it's a dependency of our tests because we can't install it more than once -# without erroring. -Install-Package Octopus.Client -source https://www.nuget.org/api/v2 -Force -SkipDependencies -Add-Type -Path (Join-Path (Get-Item ((Get-Package Octopus.Client).source)).Directory.FullName "lib/net462/Octopus.Client.dll") - -. .\common.ps1 - -$networkName = "${ProjectName}_default" -$octopusServerContainerName = "${ProjectName}-octopus-server-1" -Write-Host "Octopus Server container is $octopusServerContainerName" -$octopusServerIpAddress = Get-IPAddress $networkName $octopusServerContainerName -Write-Host "Octopus Server hosted at $octopusServerIpAddress" -$listeningTentacleContainerName = "${ProjectName}-listening-tentacle-1" -$pollingTentacleContainerName = "${ProjectName}-polling-tentacle-1" - -Wait-ForServiceToPassHealthCheck $octopusServerContainerName -Wait-ForServiceToPassHealthCheck $listeningTentacleContainerName -Wait-ForServiceToPassHealthCheck $pollingTentacleContainerName - -# Ensure that the artifacts directory exists so that we can drop test results into it -New-Item -ItemType Directory -Force -Path ../artifacts | Out-Null - -Write-Output "Running Pester Tests" -$configuration = [PesterConfiguration]::Default -$configuration.TestResult.Enabled = $true -$configuration.TestResult.OutputPath = '../artifacts/TestResults.xml' -$configuration.TestResult.OutputFormat = 'NUnitXml' -$configuration.Run.PassThru = $true -$configuration.Run.Path = "./Tests/*.Tests.ps1" -$configuration.Should.ErrorAction = 'Continue' - -$env:IPAddress = $octopusServerIpAddress; -$env:OctopusUsername = "admin"; -$env:OctopusPassword = "Passw0rd123"; -$env:OctopusVersion = $OctopusVersion; -$env:TentacleVersion = $TentacleVersion; -$env:ProjectName = $ProjectName - -Invoke-Pester -Configuration $configuration