This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<global-configuration> | |
<storage-accounts> | |
<storage-account name="lemurcommit" key="vXP8rlanB+wxyMvQOFrtDoUi2exlV0v38Lejp1SLJqoqt/80hsUqxEH9y+CxprS/Hn2R87ssDPugBwnipjJnJw==" /> | |
<storage-account name="lemurtesting" key="KSk5ULwSFOMeYDm8CEFaaN3i7U6oAvii2eCVgjVzeo5FXzuCuGGPQcce3UO2ZegYQPsp4iqTz8RHqCRa+vlC9w==" /> | |
<storage-account name="lemurnightly" key="kZfv/kiv3mRF9b1vjnhFY+mXRkx8DD8gjiXMX8mlT4t70oeU8VdTeQRUucGtxmYRssc8eIWJkEi2uAHgzm/yfg==" /> | |
</storage-accounts> | |
<sql-databases> | |
<sql-database name="lemurtesting" server="tcp:ltvl7kkqa6.database.windows.net,1433;Database=LemurTesting" database-name="LemurTesting" userid="lemuradmin@ltvl7kkqa6" password="Lemur123" | |
connection-string="Server=tcp:ltvl7kkqa6.database.windows.net,1433;Database=LemurTesting;User ID=lemuradmin@ltvl7kkqa6;Password=Lemur123;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the task file (backup-database-task.ps1) | |
properties { | |
$config = read-globalconfiguration($path) | |
$source = $config.Environments[$sourceEnv] | |
$dest = $config.Environments[$destEnv] | |
} | |
task default -depends exportDatabase | |
task exportDatabase { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd "d:\projects\lemur technologies\tools" | |
. .\load-buildsystem.ps1 | |
$cmd = new-object Lemur.AzureManagement.ImportDatabaseFromFile | |
$cmd.DatabaseName = "foo" | |
$cmd.Server = "bar" | |
$cmd.Username = "war" | |
$cmd.Password = "waz" | |
$cmd.Filename = "fee" | |
Invoke-BuildCommand $cmd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class LocalizableDateTime | |
{ | |
private string _tzid; | |
private TimeZoneInfo _tzi; | |
private DateTime _utc; | |
public string TimeZoneId | |
{ | |
get { return _tzid; } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Build azure project | |
MSBuild | |
Build file: build/build.msbuild | |
Targets: Build | |
Package for deployment | |
MSBuild | |
Build file: build/build.msbuild | |
Targets: CreateDeploymentPackage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> | |
<PropertyGroup> | |
<BaseDir>$(MSBuildProjectDirectory)\..\</BaseDir> | |
<Configuration Condition="'$(Configuration)'==''" >Release</Configuration> | |
<BuildSettings>.\buildsettings.xml</BuildSettings> | |
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |
<MSBuildExtensions>.\MSBuild.Community.Tasks.dll</MSBuildExtensions> | |
</PropertyGroup> | |
<Target Name="Build"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<BuildSettings xmlns="http://andromeda.com/build-settings"> | |
<OutputDir /> | |
<SolutionDir /> | |
<Pacakage name="" pathToNuspecTemplate="" version="" pathToProject=""/> | |
<Project group="" pathToProjectFile="" /> | |
<Test group="" pathToProjectFile="" /> | |
<Database name="" connectionString="" /> | |
<StorageAccount name="" accountKey="" subscriptionId="" /> | |
<HostedService name="" subscriptionId="" pathToManagementCertificate="" pathToDeploymentPackage="" /> | |
<ServiceConfiguration name="" path="" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net; | |
using System.Threading; | |
using Lemur.Foundation.Logging; | |
using Microsoft.WindowsAzure.ServiceRuntime; | |
using log4net.Config; | |
namespace LemurMVP.AzureRuntime | |
{ | |
public class WorkerRoleEntryPoint : RoleEntryPoint, ILoggingSource |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Configuration; | |
using Castle.MicroKernel.Registration; | |
using Castle.Windsor; | |
using Lemur.Foundation.Azure; | |
using Lemur.Foundation.BusinessComponent; | |
using Lemur.Foundation.Communication; | |
using Lemur.Foundation.HostRuntime; | |
using Lemur.Foundation.Logging; | |
using Lemur.Foundation.Notifications; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Category("Smoke Tests")] | |
[TestFixture] | |
public class CompositeSmokeTests : ILoggingSource | |
{ | |
private Browser _browser; | |
private SmokeTestBootstrapper _bootstrapper; | |
[TestFixtureSetUp] | |
public void InitializeDatabase() | |
{ |