AWS Lambda Testing
In order to pass scripts using Octopus, script should be created in the tool registry.
Script values can be stored in DB.
We can use this script for passing it via Octopus and use it in the Octopus Deploy step configuration.
Pre-Requisites:
Zip file should be placed in Github.
Repository and component should be created in Nexus tool.
Feed should be created for the Nexus repo created under the used octopus tool in the pipeline.
Mentioned feed should be selected in the pipeline config.
Creating Scripts
Login tohttps://portal.opsera.io -> Tool Registry -> Click Scripts tab->Click on New Script
Click on the new script give Name, select language as Powershell and give script details and click on the Create button. Values will be stored in DB.
INLINE FLOW:
2. Create a pipeline with Command Line Build ->Nexus Repo ->Octopus Deploy. Select Octopus Platform type -> Script, Script Type -> Inline. Select created script from Opsera Script library dropdown.
3. Click Start Pipeline button for execution.
4. Login to Octopus portal.
5. Click on Process in the project.