Upgrade the migration service to version 1.1.0

master
Tudor Stanciu 2022-02-18 23:07:05 +02:00
parent 24b32301ba
commit 46d46896e5
6 changed files with 12 additions and 6 deletions

View File

@ -1,7 +1,7 @@
<Project> <Project>
<Import Project="dependencies.props" /> <Import Project="dependencies.props" />
<PropertyGroup> <PropertyGroup>
<Version>1.1.2</Version> <Version>1.1.3</Version>
<Authors>Tudor Stanciu</Authors> <Authors>Tudor Stanciu</Authors>
<Company>STA</Company> <Company>STA</Company>
<PackageTags>IdentityServer</PackageTags> <PackageTags>IdentityServer</PackageTags>

View File

@ -45,7 +45,7 @@ namespace IdentityServer.Api
services.AddSwagger("Identity Server API", AuthorizationType.None); services.AddSwagger("Identity Server API", AuthorizationType.None);
// Data access // Data access
services.AddMigration(DatabaseType.SQLServer); services.AddMigration(DatabaseType.SQLServer, MetadataLocation.Database);
services.AddDataAccess(); services.AddDataAccess();
// Application // Application

View File

@ -43,4 +43,10 @@
◾ Store and compare passwords as hash to improve system security ◾ Store and compare passwords as hash to improve system security
</Content> </Content>
</Note> </Note>
<Note>
<Version>1.1.3</Version>
<Content>
◾ Upgrade the migration service to version 1.1.0. Migration metadata is now stored in the sql server database.
</Content>
</Note>
</ReleaseNotes> </ReleaseNotes>

View File

@ -2,7 +2,7 @@
# chmod u+x build-amd64.sh # chmod u+x build-amd64.sh
echo "Welcome!" echo "Welcome!"
version="1.1.2" version="1.1.3"
localRegistryPass="***REMOVED***" localRegistryPass="***REMOVED***"
echo "Create docker image with version $version." echo "Create docker image with version $version."

View File

@ -12,6 +12,6 @@
<EntityFrameworkCorePackageVersion>5.0.12</EntityFrameworkCorePackageVersion> <EntityFrameworkCorePackageVersion>5.0.12</EntityFrameworkCorePackageVersion>
<NDBExtensionsSwaggerPackageVersion>1.0.2</NDBExtensionsSwaggerPackageVersion> <NDBExtensionsSwaggerPackageVersion>1.0.2</NDBExtensionsSwaggerPackageVersion>
<NDBApplicationPackageVersion>1.0.0</NDBApplicationPackageVersion> <NDBApplicationPackageVersion>1.0.0</NDBApplicationPackageVersion>
<NDBDatabaseMigrationPackageVersion>1.0.2</NDBDatabaseMigrationPackageVersion> <NDBDatabaseMigrationPackageVersion>1.1.0</NDBDatabaseMigrationPackageVersion>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
echo "Welcome!" echo "Welcome!"
version="1.0.1" version="1.1.3"
oldver="1.0.0" oldver="1.1.2"
echo "Pull docker image identity-server:$version from registry." echo "Pull docker image identity-server:$version from registry."
docker pull alpine-nexus:8500/identity/identity-server:$version docker pull alpine-nexus:8500/identity/identity-server:$version