Skip to main content

Deploy to Linux VM

Overview

The Deploy to Linux VM pipeline template automates the deployment of a .NET application to a Linux VM. It includes steps for building, scanning, testing, and publishing the application. The template also creates a systemd service for the application, configures Nginx for reverse proxy, and ensures proper service and server reloads, providing a comprehensive solution for seamless deployment and operation on the Linux environment.

Input Variables

Input Variable NameDescriptionDefault ValuesTypeSupported Values
pipeline_number_prefixPrefix for the pipeline number.1.0string
gl_package_usernameGitLab package username for authentication.myGitLabUserstring
gl_package_pathPath to the GitLab package repository.https://gitlab.example.com/api/packages/nuget/index.jsonstring
gl_package_tokenGitLab package token for authentication.myGitLabTokenstring