@@ -72,86 +72,6 @@ process_template "security" {
7272 }
7373}
7474
75- step "deploy-with-cli" {
76- name = "Deploy with CLI"
77-
78- action {
79- environments = ["production"]
80- is_disabled = true
81- properties = {
82- Octopus.Action.Template.Id = "ActionTemplates-4321"
83- Octopus.Action.Template.Version = "9"
84- Packages.FunctionApp = "{\"PackageId\":\"spacebuilder_azure\",\"FeedId\":\"octopus-server-built-in\"}"
85- }
86- worker_pool = "hosted-ubuntu"
87-
88- container {
89- feed = "docker-hub"
90- image = "octopuslabs/azure-workertools"
91- }
92-
93- packages "Packages.FunctionApp" {
94- acquisition_location = "Server"
95- feed = "octopus-server-built-in"
96- package_id = "spacebuilder_azure"
97- properties = {
98- Extract = "True"
99- PackageParameterName = "Packages.FunctionApp"
100- Purpose = ""
101- SelectionMode = "deferred"
102- }
103- }
104- }
105- }
106-
107- step "remove-worker-access" {
108- name = "Remove worker access"
109-
110- action {
111- environments = ["production"]
112- is_disabled = true
113- properties = {
114- Octopus.Action.Template.Id = "ActionTemplates-4322"
115- Octopus.Action.Template.Version = "0"
116- }
117- worker_pool = "hosted-ubuntu"
118-
119- container {
120- feed = "docker-hub"
121- image = "octopuslabs/azure-workertools"
122- }
123- }
124- }
125-
126- step "scan-for-security-vulnerabilities" {
127- name = "Scan for Security Vulnerabilities"
128-
129- action {
130- environments = ["security"]
131- is_disabled = true
132- properties = {
133- Octopus.Action.AutoRetry.MaximumCount = "3"
134- Octopus.Action.RunOnServer = "true"
135- Octopus.Action.Template.Id = "ActionTemplates-4361"
136- Octopus.Action.Template.Version = "3"
137- SecurityScan.Package = "{\"PackageId\":\"spacebuilder_azure\",\"FeedId\":\"octopus-server-built-in\"}"
138- }
139- worker_pool_variable = ""
140-
141- packages "ApplicationPackage" {
142- acquisition_location = "Server"
143- feed = "octopus-server-built-in"
144- package_id = "spacebuilder_azure"
145- properties = {
146- Extract = "True"
147- PackageParameterName = "SecurityScan.Package"
148- Purpose = ""
149- SelectionMode = "deferred"
150- }
151- }
152- }
153- }
154-
15575process_template "postdeploy-hook" {
15676 name = "PostDeploy Hook"
15777 process_template_slug = "project-postdeploy-hook"
0 commit comments