简体   繁体   English

章鱼部署触手和2个Nuget包?

[英]Octopus Deploy tentacles and 2 Nuget packages?

I'm learning about the environments and machines of Octopus. 我正在学习八达通的环境和机器。 I have a Web project that is packaged into a Nuget package and deployed to Azure Websites, and I also have a DB project that is packaged into a separate Nuget package to SQL Azure. 我有一个打包到Nuget包中并部署到Azure网站的Web项目,还有一个数据库项目,它打包到了SQL Azure的单独Nuget包中。 When Octo picks them up and deploys, is it better to have two separate machines have tentacles for each in the same environment, or should they be on one machine (in the case that the website deployment passes and the DB doesn't)? 当Octo拿起它们并进行部署时,最好是在同一环境中让两台单独的计算机在每台计算机上都有触角,还是应该将它们放在一台计算机上(如果网站部署通过而数据库却没有)?

If you're deploying to Azure, it doesn't really matter - 1 tentacle is enough for ALL environments (regardless of project type). 如果要部署到Azure,则没关系-1个触手足以应付所有环境(无论项目类型如何)。 We do this all the time for our Azure projects. 我们始终为Azure项目执行此操作。 You can think of the tentacle being a PowerShell script runner against Azure; 您可以认为触手是针对Azure的PowerShell脚本运行程序; nothing really happens on the actual server itself. 没有什么发生在实际的服务器本身。

You can have multiple Octopus "environments" using the same tentacle (especially for Azure) - as you can reuse the same tentacle. 您可以使用同一触手(尤其是Azure)使用多个章鱼“环境”,因为您可以重复使用同一触手。 This will allow you to use different scopes for your variables to apply the appropriate values per each logical environment, all the while targeting just one server which does runs scripts against Azure. 这将允许您对变量使用不同的作用域,以在每个逻辑环境中应用适当的值,同时始终仅针对一台针对Azure运行脚本的服务器。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 DBup 与 octopus 部署错误,(此平台不支持 System.Data.SqlClient。) - Using DBup with octopus deploy error, (System.Data.SqlClient is not supported on this platform.) 尝试使用Powershell从Azure还原数据库时,八达通部署找不到SQL凭据 - Octopus deploy can't find SQL Credential when trying to restore a database from Azure using powershell 在没有rdp的msdb中部署多个ssis包 - Deploy multiple ssis packages in msdb without rdp 尝试将SSIS程序包部署到远程服务器时出现权限提升错误 - Elevated Rights Error when trying to deploy SSIS packages to a remote server 为什么 powershell 命令删除我的 nuget 包,相同的命令需要? - Why powershell command delete my nuget packages which the same command requires? Azure 部署:配置数据库依赖项引发错误“无法配置 NuGet 包” - Azure deployment: Configuring database dependency throws error "Failed to configure NuGet packages" 如何在 Visual Studio 中使用我的设置和部署项目部署和安排 SSIS 包? - How to I deploy & schedule SSIS packages with my Setup and Deployment Project in Visual Studio? SyntaxError:lib/python3.8/site-packages/sql_server/pyodbc/base.py django deploy on Linux 上的语法无效 - SyntaxError: invalid syntax on lib/python3.8/site-packages/sql_server/pyodbc/base.py django deploy on Linux 通过Octopus和TeamCity将数据库包部署到SQL Server - Deploying a database package to SQL Server through Octopus & TeamCity 如何获得对章鱼数据库安装后的访问权限? - How do I gain access to Octopus' database post-installation?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM