Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Add cmd scripts for SemVer 2.0.0 V3 jobs #157

Merged
merged 8 commits into from
Apr 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/Ng/Ng.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,14 @@
<None Include="packages.config">
<SubType>Designer</SubType>
</None>
<None Include="Scripts\Catalog2LuceneV3-Reg2.cmd" />
<None Include="Scripts\Catalog2LuceneV3-Reg2-Secondary.cmd" />
<None Include="Scripts\Catalog2LuceneV3-Reg1-Secondary.cmd" />
<None Include="Scripts\Catalog2LuceneV3-Reg1.cmd" />
<None Include="Scripts\Catalog2LuceneV3.cmd" />
<None Include="Scripts\Catalog2DnxV3.cmd" />
<None Include="Scripts\Catalog2RegistrationV3-Reg2.cmd" />
<None Include="Scripts\Catalog2RegistrationV3-Reg2-Secondary.cmd" />
<None Include="Scripts\Catalog2RegistrationV3-Reg1-Secondary.cmd" />
<None Include="Scripts\Catalog2RegistrationV3-Reg1.cmd" />
<None Include="Scripts\Catalog2RegistrationV3.cmd" />
Expand Down
4 changes: 4 additions & 0 deletions src/Ng/Ng.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@
<file src="Scripts\Catalog2LuceneV3.cmd" />
<file src="Scripts\Catalog2LuceneV3-Reg1.cmd" />
<file src="Scripts\Catalog2LuceneV3-Reg1-Secondary.cmd" />
<file src="Scripts\Catalog2LuceneV3-Reg2.cmd" />
<file src="Scripts\Catalog2LuceneV3-Reg2-Secondary.cmd" />

<file src="Scripts\Catalog2RegistrationV3.cmd" />
<file src="Scripts\Catalog2RegistrationV3-Reg1.cmd" />
<file src="Scripts\Catalog2RegistrationV3-Reg1-Secondary.cmd" />
<file src="Scripts\Catalog2RegistrationV3-Reg2.cmd" />
<file src="Scripts\Catalog2RegistrationV3-Reg2-Secondary.cmd" />

<file src="Scripts\DB2Catalog.cmd" />

Expand Down
26 changes: 26 additions & 0 deletions src/Ng/Scripts/Catalog2LuceneV3-Reg2-Secondary.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
@echo OFF

cd Ng

:Top
echo "Starting job - #{Jobs.catalog2lucenev3reg2secondary.Title}"

title #{Jobs.catalog2lucenev3reg2secondary.Title}

start /w ng.exe catalog2lucene ^
-source #{Jobs.catalog2lucenev3reg2secondary.Source} ^
-luceneDirectoryType azure ^
-luceneStorageAccountName #{Jobs.common.v3.Storage.Secondary.Name} ^
-luceneStorageKeyValue #{Jobs.common.v3.Storage.Secondary.Key} ^
-luceneStorageContainer #{Jobs.catalog2lucenev3reg2secondary.LuceneContainer} ^
-registration #{Jobs.catalog2lucenev3reg2secondary.Registration} ^
-instrumentationkey #{Jobs.common.v3.Logging.InstrumentationKey} ^
-vaultName #{Deployment.Azure.KeyVault.VaultName} ^
-clientId #{Deployment.Azure.KeyVault.ClientId} ^
-certificateThumbprint #{Deployment.Azure.KeyVault.CertificateThumbprint} ^
-verbose true ^
-interval #{Jobs.common.v3.Interval}

echo "Finished #{Jobs.catalog2lucenev3reg2secondary.Title}"

goto Top
26 changes: 26 additions & 0 deletions src/Ng/Scripts/Catalog2LuceneV3-Reg2.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
@echo OFF

cd Ng

:Top
echo "Starting job - #{Jobs.catalog2lucenev3reg2.Title}"

title #{Jobs.catalog2lucenev3reg2.Title}

start /w ng.exe catalog2lucene ^
-source #{Jobs.common.v3.Source} ^

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this Jobs.common.v3.Source but the source for secondary above is Jobs.catalog2lucenev3reg2secondary.Source?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The secondary registration and lucene jobs read from a different catalog URL.

-luceneDirectoryType azure ^
-luceneStorageAccountName #{Jobs.common.v3.Storage.Primary.Name} ^
-luceneStorageKeyValue #{Jobs.common.v3.Storage.Primary.Key} ^
-luceneStorageContainer #{Jobs.catalog2lucenev3reg2.LuceneContainer} ^
-registration #{Jobs.catalog2lucenev3reg2.Registration} ^
-instrumentationkey #{Jobs.common.v3.Logging.InstrumentationKey} ^
-vaultName #{Deployment.Azure.KeyVault.VaultName} ^
-clientId #{Deployment.Azure.KeyVault.ClientId} ^
-certificateThumbprint #{Deployment.Azure.KeyVault.CertificateThumbprint} ^
-verbose true ^
-interval #{Jobs.common.v3.Interval}

echo "Finished #{Jobs.catalog2lucenev3reg2.Title}"

goto Top
37 changes: 37 additions & 0 deletions src/Ng/Scripts/Catalog2RegistrationV3-Reg2-Secondary.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@echo OFF

cd Ng

:Top
echo "Starting job - #{Jobs.catalog2registrationv3reg2secondary.Title}"

title #{Jobs.catalog2registrationv3reg2secondary.Title}

start /w ng.exe catalog2registration ^
-source #{Jobs.catalog2registrationv3reg2secondary.Source} ^
-contentBaseAddress #{Jobs.catalog2registrationv3reg2secondary.ContentBaseAddress} ^
-storageType azure ^
-instrumentationkey #{Jobs.common.v3.Logging.InstrumentationKey} ^
-vaultName #{Deployment.Azure.KeyVault.VaultName} ^
-clientId #{Deployment.Azure.KeyVault.ClientId} ^
-certificateThumbprint #{Deployment.Azure.KeyVault.CertificateThumbprint} ^
-verbose true ^
-interval #{Jobs.common.v3.Interval} ^
-storageBaseAddress #{Jobs.catalog2registrationv3reg2secondary.StorageBaseAddress} ^
-storageAccountName #{Jobs.common.v3.Storage.Secondary.Name} ^
-storageKeyValue #{Jobs.common.v3.Storage.Secondary.Key} ^
-storageContainer #{Jobs.catalog2registrationv3reg2secondary.StorageContainer} ^
-useCompressedStorage #{Jobs.catalog2registrationv3reg2secondary.UseCompressedStorage} ^
-compressedStorageBaseAddress #{Jobs.catalog2registrationv3reg2secondary.StorageBaseAddressCompressed} ^
-compressedStorageAccountName #{Jobs.common.v3.Storage.Secondary.Name} ^
-compressedStorageKeyValue #{Jobs.common.v3.Storage.Secondary.Key} ^
-compressedStorageContainer #{Jobs.catalog2registrationv3reg2secondary.StorageContainerCompressed} ^
-useSemVer2Storage #{Jobs.catalog2registrationv3reg2secondary.UseSemVer2Storage} ^
-semVer2StorageBaseAddress #{Jobs.catalog2registrationv3reg2secondary.StorageBaseAddressSemVer2} ^
-semVer2StorageAccountName #{Jobs.common.v3.Storage.Secondary.Name} ^
-semVer2StorageKeyValue #{Jobs.common.v3.Storage.Secondary.Key} ^
-semVer2StorageContainer #{Jobs.catalog2registrationv3reg2secondary.StorageContainerSemVer2}

echo "Finished #{Jobs.catalog2registrationv3reg2secondary.Title}"

goto Top
37 changes: 37 additions & 0 deletions src/Ng/Scripts/Catalog2RegistrationV3-Reg2.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@echo OFF

cd Ng

:Top
echo "Starting job - #{Jobs.catalog2registrationv3reg2.Title}"

title #{Jobs.catalog2registrationv3reg2.Title}

start /w ng.exe catalog2registration ^
-source #{Jobs.common.v3.Source} ^
-contentBaseAddress #{Jobs.catalog2registrationv3reg2.ContentBaseAddress} ^
-storageType azure ^
-instrumentationkey #{Jobs.common.v3.Logging.InstrumentationKey} ^
-vaultName #{Deployment.Azure.KeyVault.VaultName} ^
-clientId #{Deployment.Azure.KeyVault.ClientId} ^
-certificateThumbprint #{Deployment.Azure.KeyVault.CertificateThumbprint} ^
-verbose true ^
-interval #{Jobs.common.v3.Interval} ^
-storageBaseAddress #{Jobs.catalog2registrationv3reg2.StorageBaseAddress} ^
-storageAccountName #{Jobs.common.v3.c2r.StorageAccountName} ^
-storageKeyValue #{Jobs.common.v3.c2r.StorageAccountKey} ^
-storageContainer #{Jobs.catalog2registrationv3reg2.StorageContainer} ^
-useCompressedStorage #{Jobs.catalog2registrationv3reg2.UseCompressedStorage} ^
-compressedStorageBaseAddress #{Jobs.catalog2registrationv3reg2.StorageBaseAddressCompressed} ^
-compressedStorageAccountName #{Jobs.common.v3.c2r.StorageAccountName} ^
-compressedStorageKeyValue #{Jobs.common.v3.c2r.StorageAccountKey} ^
-compressedStorageContainer #{Jobs.catalog2registrationv3reg2.StorageContainerCompressed} ^
-useSemVer2Storage #{Jobs.catalog2registrationv3reg2.UseSemVer2Storage} ^
-semVer2StorageBaseAddress #{Jobs.catalog2registrationv3reg2.StorageBaseAddressSemVer2} ^
-semVer2StorageAccountName #{Jobs.common.v3.c2r.StorageAccountName} ^
-semVer2StorageKeyValue #{Jobs.common.v3.c2r.StorageAccountKey} ^
-semVer2StorageContainer #{Jobs.catalog2registrationv3reg2.StorageContainerSemVer2}

echo "Finished #{Jobs.catalog2registrationv3reg2.Title}"

goto Top