From 41bb9e502eecb6031ca1a091e645c908cc6ddd8d Mon Sep 17 00:00:00 2001 From: Matt Allford Date: Thu, 7 May 2026 23:25:12 +0000 Subject: [PATCH 1/7] Initial commit of project configuration --- .octopus/deploy-instance/deployment_process.ocl | 0 .octopus/deploy-instance/deployment_settings.ocl | 10 ++++++++++ .octopus/deploy-instance/schema_version.ocl | 1 + .octopus/deploy-instance/variables.ocl | 0 4 files changed, 11 insertions(+) create mode 100644 .octopus/deploy-instance/deployment_process.ocl create mode 100644 .octopus/deploy-instance/deployment_settings.ocl create mode 100644 .octopus/deploy-instance/schema_version.ocl create mode 100644 .octopus/deploy-instance/variables.ocl diff --git a/.octopus/deploy-instance/deployment_process.ocl b/.octopus/deploy-instance/deployment_process.ocl new file mode 100644 index 0000000000..e69de29bb2 diff --git a/.octopus/deploy-instance/deployment_settings.ocl b/.octopus/deploy-instance/deployment_settings.ocl new file mode 100644 index 0000000000..6a34788e19 --- /dev/null +++ b/.octopus/deploy-instance/deployment_settings.ocl @@ -0,0 +1,10 @@ +cancel_queued_tasks = true +cancel_running_tasks = true + +connectivity_policy { + allow_deployments_to_no_targets = true +} + +versioning_strategy { + template = "#{Octopus.Version.LastMajor}.#{Octopus.Version.LastMinor}.#{Octopus.Version.NextPatch}" +} \ No newline at end of file diff --git a/.octopus/deploy-instance/schema_version.ocl b/.octopus/deploy-instance/schema_version.ocl new file mode 100644 index 0000000000..500586ece7 --- /dev/null +++ b/.octopus/deploy-instance/schema_version.ocl @@ -0,0 +1 @@ +version = 10 \ No newline at end of file diff --git a/.octopus/deploy-instance/variables.ocl b/.octopus/deploy-instance/variables.ocl new file mode 100644 index 0000000000..e69de29bb2 From ec3862772e5afecea347cd4f6be55ae6f3b69036 Mon Sep 17 00:00:00 2001 From: Matt Allford Date: Thu, 7 May 2026 23:27:29 +0000 Subject: [PATCH 2/7] add deployment process from template --- .../deploy-instance/deployment_process.ocl | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.octopus/deploy-instance/deployment_process.ocl b/.octopus/deploy-instance/deployment_process.ocl index e69de29bb2..cfb33b8256 100644 --- a/.octopus/deploy-instance/deployment_process.ocl +++ b/.octopus/deploy-instance/deployment_process.ocl @@ -0,0 +1,26 @@ +process_template "run-a-process-template" { + name = "Run a Process Template" + process_template_slug = "deployment-deploy-octopus-microsite" + version_mask = "1.X" + + package_parameter "Microsite Package" { + feed = "octopus-server-built-in" + package_id = "DocsMicrosite" + } + + parameter "Azure Account" { + value = "Microsite.Azure.Account" + } + + parameter "Worker Pool" { + value = "WorkerPools-3114" + } + + parameter "DockerHub Feed" { + value = "Feeds-4847" + } + + parameter "Ephemeral Environment" { + value = "Environments-12022" + } +} \ No newline at end of file From e075c1a86e4c758ff06c8616aaf903c33ed35119 Mon Sep 17 00:00:00 2001 From: Matt Allford Date: Thu, 7 May 2026 23:27:55 +0000 Subject: [PATCH 3/7] Create runbook: Provision Infrastructure --- .../runbooks/provision-infrastructure.ocl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .octopus/deploy-instance/runbooks/provision-infrastructure.ocl diff --git a/.octopus/deploy-instance/runbooks/provision-infrastructure.ocl b/.octopus/deploy-instance/runbooks/provision-infrastructure.ocl new file mode 100644 index 0000000000..e1b979f4f4 --- /dev/null +++ b/.octopus/deploy-instance/runbooks/provision-infrastructure.ocl @@ -0,0 +1,15 @@ +name = "Provision Infrastructure" +cancel_queued_tasks = true +cancel_running_tasks = true +default_guided_failure_mode = "EnvironmentDefault" +description = "" + +connectivity_policy { + allow_deployments_to_no_targets = true +} + +run_retention_policy { + type = "Default" +} + +process {} \ No newline at end of file From bc0fd9d3e2beda950a438ce39ee61f8fe6ac10c6 Mon Sep 17 00:00:00 2001 From: Matt Allford Date: Thu, 7 May 2026 23:28:33 +0000 Subject: [PATCH 4/7] Add provisioning runbook --- .../runbooks/provision-infrastructure.ocl | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.octopus/deploy-instance/runbooks/provision-infrastructure.ocl b/.octopus/deploy-instance/runbooks/provision-infrastructure.ocl index e1b979f4f4..88c7beda02 100644 --- a/.octopus/deploy-instance/runbooks/provision-infrastructure.ocl +++ b/.octopus/deploy-instance/runbooks/provision-infrastructure.ocl @@ -12,4 +12,22 @@ run_retention_policy { type = "Default" } -process {} \ No newline at end of file +process { + process_template "run-a-process-template" { + name = "Run a Process Template" + process_template_slug = "runbook-provision-microsite" + version_mask = "1.X" + + parameter "Azure Account" { + value = "Microsite.Azure.Account" + } + + parameter "Worker Pool" { + value = "WorkerPools-3114" + } + + parameter "DockerHub Feed" { + value = "Feeds-4847" + } + } +} \ No newline at end of file From e4fadda042a62c2b6778e8e965ca57b4593fe4e7 Mon Sep 17 00:00:00 2001 From: Matt Allford Date: Thu, 7 May 2026 23:28:58 +0000 Subject: [PATCH 5/7] Create runbook: Deprovision Infrastructure --- .../runbooks/deprovision-infrastructure.ocl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .octopus/deploy-instance/runbooks/deprovision-infrastructure.ocl diff --git a/.octopus/deploy-instance/runbooks/deprovision-infrastructure.ocl b/.octopus/deploy-instance/runbooks/deprovision-infrastructure.ocl new file mode 100644 index 0000000000..b61acccd07 --- /dev/null +++ b/.octopus/deploy-instance/runbooks/deprovision-infrastructure.ocl @@ -0,0 +1,15 @@ +name = "Deprovision Infrastructure" +cancel_queued_tasks = true +cancel_running_tasks = true +default_guided_failure_mode = "EnvironmentDefault" +description = "" + +connectivity_policy { + allow_deployments_to_no_targets = true +} + +run_retention_policy { + type = "Default" +} + +process {} \ No newline at end of file From 9130e6cff4fae66e2eae71d2bfb422724a399bbc Mon Sep 17 00:00:00 2001 From: Matt Allford Date: Thu, 7 May 2026 23:30:02 +0000 Subject: [PATCH 6/7] Add deprovision runbook --- .../runbooks/deprovision-infrastructure.ocl | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.octopus/deploy-instance/runbooks/deprovision-infrastructure.ocl b/.octopus/deploy-instance/runbooks/deprovision-infrastructure.ocl index b61acccd07..9e1d5f66e8 100644 --- a/.octopus/deploy-instance/runbooks/deprovision-infrastructure.ocl +++ b/.octopus/deploy-instance/runbooks/deprovision-infrastructure.ocl @@ -12,4 +12,26 @@ run_retention_policy { type = "Default" } -process {} \ No newline at end of file +process { + process_template "run-a-process-template" { + name = "Run a Process Template" + process_template_slug = "runbook-deprovision-microsite" + version_mask = "1.X" + + parameter "Azure Account" { + value = "Microsite.Azure.Account" + } + + parameter "Worker Pool" { + value = "WorkerPools-3114" + } + + parameter "DockerHub Feed" { + value = "Feeds-4847" + } + + parameter "Manual Intervention Environment" { + value = "Environments-12021" + } + } +} \ No newline at end of file From 945cb143c280c5430c4d9004f2037e7b3e1fd896 Mon Sep 17 00:00:00 2001 From: Matt Allford Date: Thu, 7 May 2026 23:31:37 +0000 Subject: [PATCH 7/7] add project variables --- .octopus/deploy-instance/variables.ocl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.octopus/deploy-instance/variables.ocl b/.octopus/deploy-instance/variables.ocl index e69de29bb2..c5393abc37 100644 --- a/.octopus/deploy-instance/variables.ocl +++ b/.octopus/deploy-instance/variables.ocl @@ -0,0 +1,7 @@ +variable "micrositeprefix" { + value "docs" {} +} + +variable "GitHub.Repository" { + value "OctopusDeploy/Docs" {} +} \ No newline at end of file