Azure Kubernetes -Octopus
Registering the Octopus tool in Tool Registry
Job Creation for Build Type Docker in Tool Registry
Enabling Azure Connection, YAML Script in Tool Registry
Pipeline setup and Configuration
Octopus Deploy
Registering the Octopus tool in Tool Registry
Login to https://portal.opsera.io -> Tool Registry -> Click “+New Tool” Button
Locate “Octopus Deploy” and click ‘Select Tool’
Fill out the Create New Tool form and click Create for the tool to be registered
Navigate to registered tool, in Connections tab enter connection details - URL, ID and password and click ‘Save’
“Test Connection” to be successful to ensue the credentials are valid
Job Creation for Build Type Docker in Tool Registry
Login to https://portal.opsera.io -> Tool Registry -> Go to Specific Tool Details → Click on Jobs
Click on Create Job
Select Job Type as “Azure Docker Push”, Agent Label as “Ubuntu Agent” and Build Type will be Docker.
Enabling Azure Connection, YAML Script in Tool Registry
Login to https://portal.opsera.io -> Tool Registry -> Go to Specific Tool Details → Click on Connections
Go to Scripts Tab, Click on Create New Script and Provide Script Name & Select Language type as “YAML”
Click on Create button.
Pipeline setup and configuration:
The pipeline requires the following steps:
Jenkins Build - Jenkins tool
Docker Push - Azure ACR Push tool
Octopus Deploy - Octopus Deploy tool
Begin with the Jenkins Build step. The prerequisite to this step is having a configured Jenkins tool with a build Job and an SCM Account.
In Step Setup, set a name for the tool and select Jenkins as tool. Save and select the gear icon to enter Step Configuration. Select the following values:
2. Click Create Job and Save.
Continue with the Docker Push step.
3. Create a new step in the pipeline workflow and in Step Setup set a name and select Azure ACR Push as the tool. The prerequisite to this step is having a configured Jenkins tool with a push Job and a configured Azure tool.
4. Click the gear icon to open Step Configuration and enter the following values:
5. Click Save.
Continue with the Octopus Deploy step.
6. Create a new step in the pipeline workflow and in Step Setup set a name and select Octopus Deploy as the tool. The prerequisite to this step is having a configured Octopus Tool.
7. Set the following values:
8. Click Save.