Octopus Environment and Octous Tentacle
Setting up Octopus to go with TeamCity. Mainly what Octopus does is
that it takes over the deployment phase. TeamCity builds and creates a
package of the application (according to the artifacts specified - will
get to that in the next blog), and at this point, Octopus acquires the
package created by TeamCity, and deploy it to target environments.
This will be installed on the same server that the TeamCity installed in.
Prerequisites:
Sources:
https://octopus.com/docs/deployment-examples/package-deployments/deploy-packages-to-your-octopus-server
https://octopus.com/docs/infrastructure/deployment-targets/windows-targets#configure-a-listening-tentacle-recommended
This will be installed on the same server that the TeamCity installed in.
Prerequisites:
- Octopus Tentacle https://octopus.com/downloads/tentacle
- Installing SQL server 2017
- Octopus Tentacle: according to Octopus documentation "If you want to
deploy a package on your Octopus Server, you should install a Tentacle
on your Octopus Server and treat it just like any other deployment
target."
- I downloaded the x64.msi file and run it.
- Click Next. Select the communication style to be Listening Tentacle
- Click Next. Select the folders that the Tentacle will use to store the logs and applications
- Click Next. Now we need to get the Thumbprint
- Before you continue, you need to browse Octopus Server, navigate to
Infrastructure, and from the left side navigation select Deployment
Targets.
- Click on Add Deployment Targets and select Windows. Then select Listening Tentacle
- You will get the thumbprint that we will use to continue installing
Octopus Tentacle, go back to Tentacle installation and paste that
Thumbprint
- Click Next and Finish
- This will open the Tentacle Manager where you can check the status of the service
- The last thing to do here is to connect Octopus with the Tentacle
Going back to Octopus web portal, enter the hostname or IP address of the machine the Tentacle is installed on and click NEXT.
- I downloaded the x64.msi file and run it.
Sources:
https://octopus.com/docs/deployment-examples/package-deployments/deploy-packages-to-your-octopus-server
https://octopus.com/docs/infrastructure/deployment-targets/windows-targets#configure-a-listening-tentacle-recommended
Comments
Post a Comment