mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 08:06:31 +00:00
make installer and upload it to cdn as part of the publish process
remove login pass
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
public class PythonConfig
|
||||
{
|
||||
public string ZeroMqHost { get; set; }
|
||||
public string ZeroMqHost { get; set; } = "";
|
||||
public int ZeroMqPort { get; set; }
|
||||
public double OneTryTimeoutSeconds { get; set; }
|
||||
public int RetryCount {get;set;}
|
||||
|
||||
+1
-1
@@ -25,9 +25,9 @@ EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{CF141A48-8002-4006-81CF-6B85AE5B0B5F}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
build\publish.cmd = build\publish.cmd
|
||||
build\download.py = build\download.py
|
||||
build\requirements.txt = build\requirements.txt
|
||||
build\build_downloader.cmd = build\build_downloader.cmd
|
||||
build\installer.iss = build\installer.iss
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Azaion.Common\Azaion.Common.csproj" />
|
||||
<ProjectReference Include="..\Azaion.Annotator\Azaion.Annotator.csproj" />
|
||||
<ProjectReference Include="..\Azaion.Dataset\Azaion.Dataset.csproj" />
|
||||
<ProjectReference Include="..\Dummy\Azaion.Annotator\Azaion.Annotator.csproj" />
|
||||
<ProjectReference Include="..\Dummy\Azaion.Dataset\Azaion.Dataset.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -55,8 +55,8 @@
|
||||
|
||||
<Target Name="PostBuild" AfterTargets="Build">
|
||||
<MakeDir Directories="$(TargetDir)dummy" />
|
||||
<Copy SourceFiles="$(TargetDir)Azaion.Annotator.dll" DestinationFolder="$(TargetDir)dummy" />
|
||||
<Copy SourceFiles="$(TargetDir)Azaion.Dataset.dll" DestinationFolder="$(TargetDir)dummy" />
|
||||
<Move SourceFiles="$(TargetDir)Azaion.Annotator.dll" DestinationFolder="$(TargetDir)dummy" />
|
||||
<Move SourceFiles="$(TargetDir)Azaion.Dataset.dll" DestinationFolder="$(TargetDir)dummy" />
|
||||
<Exec Command="upload.cmd $(ConfigurationName) stage" />
|
||||
</Target>
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
BorderBrush="DimGray"
|
||||
BorderThickness="0,0,0,1"
|
||||
HorizontalAlignment="Left"
|
||||
Text="admin@azaion.com"
|
||||
Text=""
|
||||
/>
|
||||
<TextBlock Text="Пароль"
|
||||
Grid.Row="2"
|
||||
@@ -89,7 +89,7 @@
|
||||
Width="300"
|
||||
BorderThickness="0,0,0,1"
|
||||
HorizontalAlignment="Left"
|
||||
Password="Az@1on1000Odm$n"/>
|
||||
Password=""/>
|
||||
</Grid>
|
||||
<Button x:Name="LoginBtn"
|
||||
Content="Вхід"
|
||||
|
||||
+4
-3
@@ -47,10 +47,11 @@ move dist\start.exe ..\dist\azaion-inference.exe
|
||||
copy config.yaml ..\dist
|
||||
|
||||
echo Download onnx model
|
||||
cd ..\build
|
||||
call onnx_downloader.exe
|
||||
call cdn_manager.exe download models azaion.onnx.big
|
||||
move azaion.onnx.big ..\dist\
|
||||
cd ..
|
||||
|
||||
echo Copy ico
|
||||
copy logo.ico dist\
|
||||
copy logo.ico dist\
|
||||
iscc build\installer.iss
|
||||
call cdn_manager.exe upload suite AzaionSuiteInstaller.exe
|
||||
Reference in New Issue
Block a user