
Explore continuous integration and delivery with TeamCity and Octopus Deploy, learning how changes from developers compile into packages, run unit tests, and deploy across dev, testing, pre-production, and production environments.
Understand how TeamCity watches source control, triggers builds, and runs compilation on build agents; plan a setup with a load balancer, shared database (MySQL or SQL Server), and network storage.
Skip this lecture if you do not use Windows to run TeamCity Server
Install TeamCity on Ubuntu using MySQL as the database, create a TeamCity database and user, configure Java, download 2019.2, and run the server on port 8111 with an admin user.
Install TeamCity on a Mac by installing the JDK, downloading the Mac OS package, and running runAll.sh to start the TeamCity server and build agent for local development.
Learn what build agents are in TeamCity, the fixed and AWS cloud types, how they connect, and licensing limits: up to three agents, plus cost considerations.
Install a TeamCity build agent on Windows by configuring the agent as a Windows service, installing required SDKs, and authorizing the agent to connect securely over HTTPS to TeamCity.
Install and configure a TeamCity build agent on Ubuntu, including updating the system, installing OpenJDK, downloading and extracting the build agent, configuring server address, and authorizing the agent for connection.
Understand how TeamCity uses projects as containers for build configurations and templates, with root project inheritance to share settings, and how to create, organize, and configure projects and build configurations.
Create a build configuration in TeamCity, connect to a git repository via a VCS root using HTTPS and credentials, then run the build and check the work directory and logs.
Configure a build configuration in TeamCity by adding build steps to restore dependencies and publish a .NET core project, then review logs and the build artifact in the work folder.
Learn how a build artifact—the files produced by compilation—is packaged into a zip via artifact paths in the build configuration, and how ant syntax adds files for Octopus Deploy.
Create and manage multiple build configurations with parameterized VCS routes in TeamCity, leveraging project-level version control settings and repository name variables for reusable, scalable CI/CD workflows.
Parameterize TeamCity build configurations to replace duplicate .NET core steps with a single, reusable workflow by defining repository, solution, and project name parameters and prompts.
Master deployment flows with Octopus Deploy, integrating TeamCity, Artifactory, and Docker to deploy to Windows and Linux targets. Understand tentacles, Calamari, and cloud licensing for scalable automation.
Install Octopus Deploy on Windows with the MSI, set up Octopus Manager, configure SQL Server, apply a starter license, and access the server via the browser.
Explore how to structure Octopus Deploy with spaces and create development, staging, and production environments, then add a tentacle to a target server to enable deployments.
Install and configure a Windows tentacle for Octopus Deploy, choosing listening or polling, register to the dev environment, update calamari, and verify health.
Install and configure an Octopus Deploy tentacle on a Linux machine, register it with the Octopus Deploy server, update calamari, and enable listening tentacles for Windows and Linux web servers.
Learn how to name and version packages for Octopus Deploy, including tag selectors, and apply branch-based versions like 10.20.30-development or -rc to control QA and production deployments.
Learn to compile a chosen branch in TeamCity and include the build number and branch name in the artifact, preparing branch-aware packages for Octopus Deploy.
Install Octopus Deploy plugin in TeamCity, create an API key in Octopus, and configure a build step to publish packages and metadata to Octopus Deploy, including space and version details.
Define and deploy a project in Octopus Deploy by creating a project, adding steps (such as deploy to IIS), and configuring environments, lifecycles, and rolling deployments.
Create a release, gain sign-off from stakeholders, and deploy to chosen environments using Octopus Deploy; schedule deployments, monitor task logs, and roll back to earlier package versions if needed.
Define and manage project variables in Octopus Deploy, apply environment and target scopes, and reference values with hashtag curly brackets to adapt deployments across dev and prod.
Explore system variables in Octopus Deploy and learn to access environment, package, release, and deployment details using Octopus.Environment.Name and similar variables.
Learn how to use cloud agents in TeamCity with Amazon Web Services to launch on-demand EC2 instances, terminate idle agents, and optimize costs through profiles, images, keys, and instance types.
Define and customize triggers in TeamCity to auto build on code changes, using VCS and scheduled triggers with branch filters, quiet time, and rules to optimize CI/CD with Octopus Deploy.
Explore how TeamCity Build Features automate builds with assemblyinfo patcher, automatic merge, and commit status publisher, and integrate with GitHub and other VCS for deployment readiness.
Connect TeamCity to GitHub with SSH keys by loading the private key in the VCS route project and the public key on GitHub.
Master TeamCity administration by managing users, groups, and roles to control project-level permissions, assign users to groups, enable roles, and tailor permissions like run build and stop/start cloud agent.
Enable Google open authentication in TeamCity by adding the HTTP-OAUTHv2 module and configuring Google's OAuth client ID, secret, scope, and redirect URI to allow login via Google.
Octopus Deploy uses life cycles to gate deployments through dev, qa, and prod environments, enforcing branch-based rules (master, rc, development) and manual vs automatic promotions.
Create a production channel to enforce that deployments to production come from the rc branch, using pre-release tags and version rules to restrict eligible packages.
Discover how tenants enable per-client configurations in Octopus Deploy, connect tenants to projects and environments, and enable tenanted deployments across production and development environments.
Learn to transform configuration files in CI/CD by using TeamCity and Octopus Deploy variables to replace appsettings.json values per environment, enabling prod.database.local and dev.database.local values.
Configure AWS or Azure accounts in Octopus Deploy, supply access keys via IAM, use account variables to copy packages to S3 for deployments to prod and dev environments with templates.
Learn to use Octopus Deploy filters to normalize environment names and route deployments, applying ToLower and other string helpers to ensure correct S3 bucket matching for dev and prod.
Configure Octopus Deploy security by mapping users, roles, and groups to spaces and audits; manage release creators, project deployers, and viewers, and review user activity through audit trails.
Are you interested in learning about Continuous Integration and Delivery (CI/CD) using the powerful combination of TeamCity and Octopus Deploy? Look no further than this comprehensive course on Udemy!
With TeamCity and Octopus Deploy, software development teams can launch their CI/CD ecosystem quickly and efficiently, just like Microsoft, NASA, and Stackoverflow (the three users of Octopus Deploy) did.
This course is designed for developers and DevOps engineers who want to learn the essential skills of Continuous Integration and delivery skills.
The course is structured into four sections, starting with the basics and progressing to more advanced topics. You'll begin with TeamCity Level 1, designed for beginners, before moving on to Octopus Deploy Level 1 for a quick and easy launch of your CI/CD. From there, TeamCity Level 2 and Octopus Deploy Level 2 cover more advanced topics such as Life Cycles, Cloud Support, and Channels.
No prior knowledge about TeamCity, Octopus Deploy, or CI/CD is required, and you don't need an AWS or Azure account to get started. You can set up everything on your local machine, making it easy to follow.
This course teaches you how a CI/CD system is implemented and how to deploy one for free without requiring a license if you follow the architecture offered in this course. It was produced by a CI/CD expert who implemented CI/CD with TeamCity and Octopus Deploy for many renowned companies.
Don't miss out on the opportunity to master CI/CD with TeamCity and Octopus Deploy—enroll in this course today and take your skills to the next level!