This repository was archived by the owner on Sep 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
src/SqlStreamStore.Server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ ARG CONTAINER_RUNTIME=alpine3.8
33
44FROM node:10.12.0-alpine AS build-javascript
55ARG CLIENT_PACKAGE=@sqlstreamstore/browser
6- ARG CLIENT_VERSION=0.9.1-alpha.0.6
6+ ARG CLIENT_VERSION=0.9.1
77ARG NPM_REGISTRY=https://www.myget.org/F/sqlstreamstore/npm/
88
99ENV REACT_APP_CLIENT_VERSION=${CLIENT_VERSION}
@@ -20,7 +20,7 @@ RUN yarn && \
2020 yarn react-scripts-ts build && \
2121 echo ${CLIENT_VERSION} > /app/.clientversion
2222
23- FROM microsoft/dotnet:2.2.103 -sdk-stretch AS build-dotnet
23+ FROM microsoft/dotnet:2.2.104 -sdk-stretch AS build-dotnet
2424ARG CLIENT_PACKAGE=@sqlstreamstore/browser
2525ARG RUNTIME=alpine-x64
2626ARG LIBRARY_VERSION=1.2.0
Original file line number Diff line number Diff line change 22
33set -e
44
5- CONTAINER_RUNTIME=${CONTAINER_RUNTIME:- alpine-3.8}
6- LIBRARY_VERSION=${LIBRARY_VERSION:- 1.2.0-beta.2}
5+ CONTAINER_RUNTIME=${CONTAINER_RUNTIME:- alpine3.8}
6+ LIBRARY_VERSION=${LIBRARY_VERSION:- 1.2.0-beta.3.6}
7+ CLIENT_VERSION=${CLIENT_VERSION:- 0.9.1}
78
89LOCAL_IMAGE=" sql-stream-store-server"
910LOCAL=" ${LOCAL_IMAGE} :latest"
@@ -16,6 +17,7 @@ docker build \
1617 --build-arg CONTAINER_RUNTIME=${CONTAINER_RUNTIME} \
1718 --build-arg RUNTIME=${RUNTIME:- alpine-x64} \
1819 --build-arg LIBRARY_VERSION=${LIBRARY_VERSION} \
20+ --build-arg CLIENT_VERSION=${CLIENT_VERSION} \
1921 --tag ${LOCAL} \
2022 .
2123
Original file line number Diff line number Diff line change 55 <TargetLatestRuntimePatch >true</TargetLatestRuntimePatch >
66 <LangVersion >latest</LangVersion >
77 <CrossGenDuringPublish >false</CrossGenDuringPublish >
8- <LibraryVersion Condition =" $(LibraryVersion) == ''" >1.2.0-beta.2 </LibraryVersion >
8+ <LibraryVersion Condition =" $(LibraryVersion) == ''" >1.2.0-beta.3 </LibraryVersion >
99 </PropertyGroup >
1010 <ItemGroup >
1111 <PackageReference Include =" ILLink.Tasks" Version =" 0.1.5-preview-1841731" />
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ CREATE DATABASE [{connectionStringBuilder.InitialCatalog}]
9898
9999 var streamStore = new MsSqlStreamStoreV3 ( settings ) ;
100100
101- await streamStore . CreateSchema ( cancellationToken ) ;
101+ await streamStore . CreateSchemaIfNotExists ( cancellationToken ) ;
102102
103103 return streamStore ;
104104 }
@@ -145,7 +145,7 @@ private static async Task<IStreamStore> CreatePostgresStreamStore(
145145
146146 var streamStore = new PostgresStreamStore ( settings ) ;
147147
148- await streamStore . CreateSchema ( cancellationToken ) ;
148+ await streamStore . CreateSchemaIfNotExists ( cancellationToken ) ;
149149
150150 return streamStore ;
151151 }
You can’t perform that action at this time.
0 commit comments