diff --git a/.octopus/deployment_process.ocl b/.octopus/deployment_process.ocl new file mode 100644 index 0000000..50d69b3 --- /dev/null +++ b/.octopus/deployment_process.ocl @@ -0,0 +1,29 @@ +step "hello-world" { + name = "hello world" + + action { + action_type = "Octopus.Script" + properties = { + Octopus.Action.RunOnServer = "true" + Octopus.Action.Script.ScriptBody = <<-EOT + image=$(get_octopusvariable "Octopus.Action.Package[shipped23].Image") + + echo "deploying image: $image" + EOT + Octopus.Action.Script.ScriptSource = "Inline" + Octopus.Action.Script.Syntax = "Bash" + } + worker_pool = "hosted-ubuntu" + + packages "shipped23" { + acquisition_location = "NotAcquired" + feed = "github-container-registry" + package_id = "mjrichardson/shipped23" + properties = { + Extract = "False" + Purpose = "" + SelectionMode = "immediate" + } + } + } +} \ No newline at end of file diff --git a/.octopus/deployment_settings.ocl b/.octopus/deployment_settings.ocl new file mode 100644 index 0000000..562e7dd --- /dev/null +++ b/.octopus/deployment_settings.ocl @@ -0,0 +1,7 @@ +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/schema_version.ocl b/.octopus/schema_version.ocl new file mode 100644 index 0000000..4548a61 --- /dev/null +++ b/.octopus/schema_version.ocl @@ -0,0 +1 @@ +version = 6 \ No newline at end of file diff --git a/.octopus/variables.ocl b/.octopus/variables.ocl new file mode 100644 index 0000000..e69de29