make installer and upload it to cdn as part of the publish process

remove login pass
This commit is contained in:
Alex Bezdieniezhnykh
2025-03-03 01:22:16 +02:00
parent d93da15528
commit f108cca5f5
5 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
public class PythonConfig public class PythonConfig
{ {
public string ZeroMqHost { get; set; } public string ZeroMqHost { get; set; } = "";
public int ZeroMqPort { get; set; } public int ZeroMqPort { get; set; }
public double OneTryTimeoutSeconds { get; set; } public double OneTryTimeoutSeconds { get; set; }
public int RetryCount {get;set;} public int RetryCount {get;set;}
+1 -1
View File
@@ -25,9 +25,9 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{CF141A48-8002-4006-81CF-6B85AE5B0B5F}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{CF141A48-8002-4006-81CF-6B85AE5B0B5F}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
build\publish.cmd = build\publish.cmd build\publish.cmd = build\publish.cmd
build\download.py = build\download.py
build\requirements.txt = build\requirements.txt build\requirements.txt = build\requirements.txt
build\build_downloader.cmd = build\build_downloader.cmd build\build_downloader.cmd = build\build_downloader.cmd
build\installer.iss = build\installer.iss
EndProjectSection EndProjectSection
EndProject EndProject
Global Global
+4 -4
View File
@@ -31,8 +31,8 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\Azaion.Common\Azaion.Common.csproj" /> <ProjectReference Include="..\Azaion.Common\Azaion.Common.csproj" />
<ProjectReference Include="..\Azaion.Annotator\Azaion.Annotator.csproj" /> <ProjectReference Include="..\Dummy\Azaion.Annotator\Azaion.Annotator.csproj" />
<ProjectReference Include="..\Azaion.Dataset\Azaion.Dataset.csproj" /> <ProjectReference Include="..\Dummy\Azaion.Dataset\Azaion.Dataset.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@@ -55,8 +55,8 @@
<Target Name="PostBuild" AfterTargets="Build"> <Target Name="PostBuild" AfterTargets="Build">
<MakeDir Directories="$(TargetDir)dummy" /> <MakeDir Directories="$(TargetDir)dummy" />
<Copy SourceFiles="$(TargetDir)Azaion.Annotator.dll" DestinationFolder="$(TargetDir)dummy" /> <Move SourceFiles="$(TargetDir)Azaion.Annotator.dll" DestinationFolder="$(TargetDir)dummy" />
<Copy SourceFiles="$(TargetDir)Azaion.Dataset.dll" DestinationFolder="$(TargetDir)dummy" /> <Move SourceFiles="$(TargetDir)Azaion.Dataset.dll" DestinationFolder="$(TargetDir)dummy" />
<Exec Command="upload.cmd $(ConfigurationName) stage" /> <Exec Command="upload.cmd $(ConfigurationName) stage" />
</Target> </Target>
+2 -2
View File
@@ -74,7 +74,7 @@
BorderBrush="DimGray" BorderBrush="DimGray"
BorderThickness="0,0,0,1" BorderThickness="0,0,0,1"
HorizontalAlignment="Left" HorizontalAlignment="Left"
Text="admin@azaion.com" Text=""
/> />
<TextBlock Text="Пароль" <TextBlock Text="Пароль"
Grid.Row="2" Grid.Row="2"
@@ -89,7 +89,7 @@
Width="300" Width="300"
BorderThickness="0,0,0,1" BorderThickness="0,0,0,1"
HorizontalAlignment="Left" HorizontalAlignment="Left"
Password="Az@1on1000Odm$n"/> Password=""/>
</Grid> </Grid>
<Button x:Name="LoginBtn" <Button x:Name="LoginBtn"
Content="Вхід" Content="Вхід"
+3 -2
View File
@@ -47,10 +47,11 @@ move dist\start.exe ..\dist\azaion-inference.exe
copy config.yaml ..\dist copy config.yaml ..\dist
echo Download onnx model echo Download onnx model
cd ..\build call cdn_manager.exe download models azaion.onnx.big
call onnx_downloader.exe
move azaion.onnx.big ..\dist\ move azaion.onnx.big ..\dist\
cd .. cd ..
echo Copy ico echo Copy ico
copy logo.ico dist\ copy logo.ico dist\
iscc build\installer.iss
call cdn_manager.exe upload suite AzaionSuiteInstaller.exe