From 1a941f8aa19394d1735ec06d005744418d10c89f Mon Sep 17 00:00:00 2001 From: Harriet Alexander <153020000+HarrietAlexander@users.noreply.github.com> Date: Thu, 20 Jun 2024 00:14:05 +0000 Subject: [PATCH 1/5] No commit message provided --- .../runbooks/harriet-testing-bug.ocl | 52 +++++++++++++++++-- 1 file changed, 49 insertions(+), 3 deletions(-) diff --git a/.octopus/harrietrunbook/runbooks/harriet-testing-bug.ocl b/.octopus/harrietrunbook/runbooks/harriet-testing-bug.ocl index ccc85e8..58f9733 100644 --- a/.octopus/harrietrunbook/runbooks/harriet-testing-bug.ocl +++ b/.octopus/harrietrunbook/runbooks/harriet-testing-bug.ocl @@ -19,9 +19,55 @@ process { properties = { Octopus.Action.Script.ScriptBody = <<-EOT "hello world" - - Testing all of the things. - 🐶 + this is me + Life should be mm-mm yeah + Fun for everyone + Every now and then I'm insecure + Let me show you life can be so pure + Seize the day + Wear a big happy smile on your face + Every life a little rain will fall + That won't change my attitude at all + You are you, I am me, we'll be free + Hello world, this is me + Life should be mm-mm yeah + Fun for everyone + Hello world come and see + Life should be + Fun for everyone + Life is easy if you wear a smile + Just be yourself, don't ever change your style + I like you, you like me + Let's have fun, be happy + Look into my eyes and tell me straight + For you I'll make the whole world wait + Let me know if it's so let it show + Hello world, this is me + Life should be mm-mm yeah + Fun for everyone + Hello world, come and see + This is me + Come on baby, don't be afraid + Come on baby, it's not too late, say you do + Won't you open up the door and let me in + Di-di-di yeah, di-di + Yeah, yeah, yeah + Open up the door for me + Yeah, yeah, mm-mm yeah + Hello world, this is me + Life should be mm-mm yeah + Fun for everyone + Hello world, come and see + Life should be + Fun for everyone + Hello world, this is me + Life should be + Fun for everyone + Fun for you and + Fun for me and + Fun for everyone + Fun for everyone + 🐴 EOT Octopus.Action.Script.ScriptSource = "Inline" Octopus.Action.Script.Syntax = "PowerShell" From 64140dde84e219ab8191088f2ef03f0565e4938f Mon Sep 17 00:00:00 2001 From: Harriet Alexander <153020000+HarrietAlexander@users.noreply.github.com> Date: Mon, 24 Mar 2025 01:53:06 +0000 Subject: [PATCH 2/5] Octopus Schema Migration to v9 --- .octopus/schema_version.ocl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.octopus/schema_version.ocl b/.octopus/schema_version.ocl index b6e3687..d55ce03 100644 --- a/.octopus/schema_version.ocl +++ b/.octopus/schema_version.ocl @@ -1 +1 @@ -version = 8 \ No newline at end of file +version = 9 \ No newline at end of file From 8ae9c4802f658fc710dfeda7e9eb61ef345aa6b5 Mon Sep 17 00:00:00 2001 From: Harriet Alexander <153020000+HarrietAlexander@users.noreply.github.com> Date: Mon, 24 Mar 2025 01:53:06 +0000 Subject: [PATCH 3/5] Create runbook: Showcase Test 1 --- .octopus/runbooks/showcase-test-1.ocl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .octopus/runbooks/showcase-test-1.ocl diff --git a/.octopus/runbooks/showcase-test-1.ocl b/.octopus/runbooks/showcase-test-1.ocl new file mode 100644 index 0000000..b26901e --- /dev/null +++ b/.octopus/runbooks/showcase-test-1.ocl @@ -0,0 +1,13 @@ +name = "Showcase Test 1" +default_guided_failure_mode = "EnvironmentDefault" +description = "" + +connectivity_policy { + allow_deployments_to_no_targets = true +} + +run_retention_policy { + quantity_to_keep = 100 +} + +process {} \ No newline at end of file From 49c3300020cf170a14667abe71e61c3cbbe12973 Mon Sep 17 00:00:00 2001 From: Harriet Alexander <153020000+HarrietAlexander@users.noreply.github.com> Date: Mon, 24 Mar 2025 01:54:07 +0000 Subject: [PATCH 4/5] Update runbook process --- .octopus/runbooks/showcase-test-1.ocl | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.octopus/runbooks/showcase-test-1.ocl b/.octopus/runbooks/showcase-test-1.ocl index b26901e..582b105 100644 --- a/.octopus/runbooks/showcase-test-1.ocl +++ b/.octopus/runbooks/showcase-test-1.ocl @@ -10,4 +10,23 @@ run_retention_policy { quantity_to_keep = 100 } -process {} \ No newline at end of file +process { + step "update-to-runbook" { + name = "Update to Runbook" + properties = { + Octopus.Action.TargetRoles = "showcase-targets" + } + + action { + action_type = "Octopus.Script" + properties = { + Octopus.Action.RunOnServer = "false" + Octopus.Action.Script.ScriptBody = "Hello World " + Octopus.Action.Script.ScriptSource = "Inline" + Octopus.Action.Script.Syntax = "PowerShell" + OctopusUseBundledTooling = "False" + } + worker_pool_variable = "" + } + } +} \ No newline at end of file From 14bf3e647196a65fa54c2b59566c58ae9a5dd7c1 Mon Sep 17 00:00:00 2001 From: Harriet Alexander <153020000+HarrietAlexander@users.noreply.github.com> Date: Tue, 11 Nov 2025 23:02:50 +0000 Subject: [PATCH 5/5] process update --- .octopus/deployment_process.ocl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.octopus/deployment_process.ocl b/.octopus/deployment_process.ocl index e69de29..2a989f0 100644 --- a/.octopus/deployment_process.ocl +++ b/.octopus/deployment_process.ocl @@ -0,0 +1,18 @@ +step "deploy-a-helm-chart" { + name = "Deploy a Helm Chart" + properties = { + Octopus.Action.TargetRoles = "feature-toggles" + } + + action { + action_type = "Octopus.HelmChartUpgrade" + properties = { + Octopus.Action.GitRepository.Source = "Project" + Octopus.Action.Helm.ResetValues = "True" + Octopus.Action.Kubernetes.ResourceStatusCheck = "True" + Octopus.Action.Script.ScriptSource = "GitRepository" + } + worker_pool = "hosted-windows" + worker_pool_variable = "" + } +} \ No newline at end of file