Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Officially sanctioned worker images for Octopus Deploy

Notifications You must be signed in to change notification settings

nathanwoctopusdeploy/WorkerTools

 
 

Repository files navigation

Worker Tools

Officially sanctioned worker images for Octopus Deploy available on docker hub

Operating System Installed Tools and Versions
Ubuntu 18.04 Dockerfile
Windows Server Core 2019 Dockerfile

Management

The Worker Tools images provided by this repository are currently updated on a best-effort basis. This repository should contain the latest stable versions of all of the tools.

If you want a tool version that is not yet available, PRs are welcome.

If the tools or the way they are managed don't fit your particular use case, it is easy to create your own images to use as execution containers.

Getting Started

See the docs to get started using the octopusdeploy/worker-tools image as an execution container for workers.

The images we publish are semantically versioned. To ensure stability within your deployment processes, we recommend using the full major.minor.patch tag when using the octopusdeploy/worker-tools image - for example, use 2.0.2-ubuntu.18.04, not ubuntu.18.04.

Contributing

Testing

To run these tests, you can see the instructions for Ubuntu and Windows

N.B. all commands below should be run from the project root directory.

Ubuntu

Our tests are implemented in Pester, which relies on PowerShell.

Option 1: Build and Test scripts

./build.sh --image-directory='ubuntu.18.04'

Runs a build and test of the ubuntu.18.04 container

Option 2: DIY

cd ubuntu.18.04
docker build . -t worker-tools
docker build . -t worker-tools-tests -f Tests.Dockerfile --build-arg ContainerUnderTest=worker-tools
docker run -it -v `pwd`:/app worker-tools-tests pwsh

Then within the running docker container

/app/scripts/run-tests.ps1

Windows

Option 1: Build and Test scripts

build.ps1 -image-directory 'windows.ltsc2019'

Runs a build and test of the windows.ltsc2019 container

Option 2: DIY

cd windows.ltsc2019
docker build . -t worker-tools
docker build . -t worker-tools-tests -f Tests.Dockerfile --build-arg ContainerUnderTest=worker-tools
docker run -it -v ${pwd}:c:\app worker-tools-tests pwsh

Then within the running docker container

/app/scripts/run-tests.ps1

About

Officially sanctioned worker images for Octopus Deploy

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell 37.9%
  • Dockerfile 31.0%
  • C# 21.1%
  • Shell 8.0%
  • Batchfile 2.0%