Skip to content

Commit cf21bd4

Browse files
authored
Fix Docker releases (#718)
* Update Dockerfile * Update Dockerfile.alpine * Update Dockerfile.cbl-mariner * Update Dockerfile.chiseled * Update Dockerfile.ubuntu * update version for release
1 parent 6d635c5 commit cf21bd4

7 files changed

+10
-5
lines changed

.azure/pipelines/azure-pipelines-external-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
######################################
22
# NOTE: Before running this pipeline to generate a new nuget package, update the version string in two places
33
# 1) update the name: string below (line 6) -- this is the version for the nuget package (e.g. 1.0.0)
4-
# 2) update \libs\host\GarnetServer.cs readonly string version (~line 53) -- NOTE - these two values need to be the same
4+
# 2) update \libs\host\GarnetServer.cs readonly string version (~line 32) -- NOTE - these two values need to be the same
55
######################################
6-
name: 1.0.31
6+
name: 1.0.32
77
trigger:
88
branches:
99
include:

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ COPY libs/cluster/*.csproj libs/cluster/
88
COPY libs/common/*.csproj libs/common/
99
COPY libs/host/*.csproj libs/host/
1010
COPY libs/server/*.csproj libs/server/
11+
COPY libs/resources/*.csproj libs/resources/
1112
COPY libs/storage/Tsavorite/cs/src/core/*.csproj libs/storage/Tsavorite/cs/src/core/
1213
COPY libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/*.csproj libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/
1314
COPY main/GarnetServer/*.csproj main/GarnetServer/

Dockerfile.alpine

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ COPY libs/cluster/*.csproj libs/cluster/
88
COPY libs/common/*.csproj libs/common/
99
COPY libs/host/*.csproj libs/host/
1010
COPY libs/server/*.csproj libs/server/
11+
COPY libs/resources/*.csproj libs/resources/
1112
COPY libs/storage/Tsavorite/cs/src/core/*.csproj libs/storage/Tsavorite/cs/src/core/
1213
COPY libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/*.csproj libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/
1314
COPY main/GarnetServer/*.csproj main/GarnetServer/

Dockerfile.cbl-mariner

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ COPY libs/cluster/*.csproj libs/cluster/
88
COPY libs/common/*.csproj libs/common/
99
COPY libs/host/*.csproj libs/host/
1010
COPY libs/server/*.csproj libs/server/
11+
COPY libs/resources/*.csproj libs/resources/
1112
COPY libs/storage/Tsavorite/cs/src/core/*.csproj libs/storage/Tsavorite/cs/src/core/
1213
COPY libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/*.csproj libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/
1314
COPY main/GarnetServer/*.csproj main/GarnetServer/

Dockerfile.chiseled

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ COPY libs/cluster/*.csproj libs/cluster/
1212
COPY libs/common/*.csproj libs/common/
1313
COPY libs/host/*.csproj libs/host/
1414
COPY libs/server/*.csproj libs/server/
15+
COPY libs/resources/*.csproj libs/resources/
1516
COPY libs/storage/Tsavorite/cs/src/core/*.csproj libs/storage/Tsavorite/cs/src/core/
1617
COPY libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/*.csproj libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/
1718
COPY main/GarnetServer/*.csproj main/GarnetServer/

Dockerfile.ubuntu

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ COPY libs/cluster/*.csproj libs/cluster/
88
COPY libs/common/*.csproj libs/common/
99
COPY libs/host/*.csproj libs/host/
1010
COPY libs/server/*.csproj libs/server/
11+
COPY libs/resources/*.csproj libs/resources/
1112
COPY libs/storage/Tsavorite/cs/src/core/*.csproj libs/storage/Tsavorite/cs/src/core/
1213
COPY libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/*.csproj libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/
1314
COPY main/GarnetServer/*.csproj main/GarnetServer/

libs/host/GarnetServer.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ namespace Garnet
2828
/// </summary>
2929
public class GarnetServer : IDisposable
3030
{
31+
// IMPORTANT: Keep the version in sync with .azure\pipelines\azure-pipelines-external-release.yml line ~6.
32+
readonly string version = "1.0.32";
33+
3134
internal GarnetProvider Provider;
3235

3336
private readonly GarnetServerOptions opts;
@@ -51,9 +54,6 @@ public class GarnetServer : IDisposable
5154
/// </summary>
5255
protected StoreWrapper storeWrapper;
5356

54-
// IMPORTANT: Keep the version in sync with .azure\pipelines\azure-pipelines-external-release.yml line ~6.
55-
readonly string version = "1.0.31";
56-
5757
/// <summary>
5858
/// Resp protocol version
5959
/// </summary>

0 commit comments

Comments
 (0)