Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Jun 24, 2020
2 parents 13dc4fd + 86fd405 commit fc2b342
Show file tree
Hide file tree
Showing 12 changed files with 50 additions and 28 deletions.
8 changes: 8 additions & 0 deletions .kodiak.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# .kodiak.toml
version = 1

[merge]
require_automerge_label = false # merge everything
method = "squash"
delete_branch_on_merge = true
block_on_reviews_requested = true
5 changes: 3 additions & 2 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#### 0.1.6 August 16 2019 ####
* Added cluster singleton for pricing entity startup.
#### 0.2.0 June 24 2020 ####
* Upgraded to latest version of Akka.NET
* Upgraded all K8s files to support latest v1 stable APIs
8 changes: 6 additions & 2 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ Target "Clean" (fun _ ->
CleanDir outputPerfTests
CleanDir outputNuGet
CleanDir "docs/_site"
CleanDirs !! "./**/bin"
CleanDirs !! "./**/obj"
)

Target "AssemblyInfo" (fun _ ->
Expand Down Expand Up @@ -285,7 +287,6 @@ Target "PublishCode" (fun _ ->
Project = project
Configuration = configuration
VersionSuffix = overrideVersionSuffix project
AdditionalArgs = ["--no-restore --output bin/Release/netcoreapp2.1/publish"] // would be ideal to change publish dir via MSBuild
})

projects |> Seq.iter (runSingleProject)
Expand All @@ -306,6 +307,9 @@ Target "BuildDockerImages" (fun _ ->

let remoteRegistryUrl = getBuildParamOrDefault "remoteRegistry" ""

let composedGetFileNameWithoutExtension (p:string) =
System.IO.Path.GetFileNameWithoutExtension p

let buildDockerImage imageName projectPath =

let args =
Expand Down Expand Up @@ -341,7 +345,7 @@ Target "BuildDockerImages" (fun _ ->
info.Arguments <- args) (System.TimeSpan.FromMinutes 5.0) (* Reasonably long-running task. *)

let runSingleProject project =
let projectName = Path.GetFileNameWithoutExtension project
let projectName = composedGetFileNameWithoutExtension project
let imageName = mapDockerImageName projectName
let result = match imageName with
| None -> 0
Expand Down
5 changes: 4 additions & 1 deletion k8s/jaeger-all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
apiVersion: v1
kind: List
items:
- apiVersion: extensions/v1beta1
- apiVersion: apps/v1
kind: Deployment
metadata:
namespace: akka-cqrs
Expand All @@ -26,6 +26,9 @@ items:
app.kubernetes.io/component: all-in-one
spec:
replicas: 1
selector:
matchLabels:
app: jaeger
strategy:
type: Recreate
template:
Expand Down
5 changes: 4 additions & 1 deletion k8s/mongodb-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ spec:
selector:
app: mongodb
---
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: akka-cqrs
name: mongodb
spec:
replicas: 1
selector:
matchLabels:
app: mongodb
template:
metadata:
labels:
Expand Down
5 changes: 4 additions & 1 deletion k8s/statsd-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
app: statsd
type: LoadBalancer
---
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: akka-cqrs
Expand All @@ -49,6 +49,9 @@ metadata:
app: statsd
spec:
replicas: 1
selector:
matchLabels:
app: statsd
template:
metadata:
labels:
Expand Down
2 changes: 1 addition & 1 deletion src/Akka.CQRS.Pricing.Cli/Akka.CQRS.Pricing.Cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Configurations>Debug;Release;Phobos</Configurations>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Petabridge.Cmd.Host" Version="0.6.1" />
<PackageReference Include="Petabridge.Cmd.Host" Version="0.8.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Phobos|AnyCPU'">
<OutputPath>bin\Release\$(NetCoreVersion)\</OutputPath>
<OutputPath>bin\Release\</OutputPath>
</PropertyGroup>

<ItemGroup>
Expand All @@ -17,10 +17,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Akka.HealthCheck.Persistence" Version="0.2.1" />
<PackageReference Include="Akka.Persistence.MongoDb" Version="1.3.12" />
<PackageReference Include="Akka.HealthCheck.Persistence" Version="0.3.0" />
<PackageReference Include="Akka.Persistence.MongoDb" Version="1.4.5" />
<PackageReference Include="Petabridge.Cmd.Cluster" Version="$(PetabridgeCmdVersion)" />
<PackageReference Include="Petabridge.Cmd.Cluster.Sharding" Version="$(PetabridgeCmdVersion)-beta" />
<PackageReference Include="Petabridge.Cmd.Cluster.Sharding" Version="$(PetabridgeCmdVersion)" />
<PackageReference Include="Petabridge.Cmd.Remote" Version="$(PetabridgeCmdVersion)" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions src/Akka.CQRS.Pricing.Web/Akka.CQRS.Pricing.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<Configurations>Debug;Release;Phobos</Configurations>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Phobos|AnyCPU'">
<OutputPath>bin\Release\$(NetCoreVersion)\</OutputPath>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Phobos|AnyCPU'">
<OutputPath>bin\Release\</OutputPath>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<Configurations>Debug;Release;Phobos</Configurations>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Phobos|AnyCPU'">
<OutputPath>bin\Release\$(NetCoreVersion)\</OutputPath>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Phobos|AnyCPU'">
<OutputPath>bin\Release\</OutputPath>
</PropertyGroup>

<ItemGroup>
Expand All @@ -18,7 +18,7 @@

<ItemGroup>
<PackageReference Include="Petabridge.Cmd.Cluster" Version="$(PetabridgeCmdVersion)" />
<PackageReference Include="Petabridge.Cmd.Cluster.Sharding" Version="$(PetabridgeCmdVersion)-beta" />
<PackageReference Include="Petabridge.Cmd.Cluster.Sharding" Version="$(PetabridgeCmdVersion)" />
<PackageReference Include="Petabridge.Cmd.Remote" Version="$(PetabridgeCmdVersion)" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Phobos|AnyCPU'">
<OutputPath>bin\Release\$(NetCoreVersion)\</OutputPath>
<OutputPath>bin\Release\</OutputPath>
</PropertyGroup>

<ItemGroup>
Expand All @@ -17,10 +17,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Akka.HealthCheck.Persistence" Version="0.2.1" />
<PackageReference Include="Akka.Persistence.MongoDb" Version="1.3.12" />
<PackageReference Include="Akka.HealthCheck.Persistence" Version="0.3.0" />
<PackageReference Include="Akka.Persistence.MongoDb" Version="1.4.5" />
<PackageReference Include="Petabridge.Cmd.Cluster" Version="$(PetabridgeCmdVersion)" />
<PackageReference Include="Petabridge.Cmd.Cluster.Sharding" Version="$(PetabridgeCmdVersion)-beta" />
<PackageReference Include="Petabridge.Cmd.Cluster.Sharding" Version="$(PetabridgeCmdVersion)" />
<PackageReference Include="Petabridge.Cmd.Remote" Version="$(PetabridgeCmdVersion)" />
</ItemGroup>
<ItemGroup>
Expand Down
14 changes: 7 additions & 7 deletions src/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
<PropertyGroup>
<NBenchVersion>1.2.2</NBenchVersion>
<XunitVersion>2.4.1</XunitVersion>
<TestSdkVersion>15.9.0</TestSdkVersion>
<AkkaVersion>1.3.14</AkkaVersion>
<AkkaBootstrapVersion>0.2.1</AkkaBootstrapVersion>
<AkkaPersistenceExtrasVersion>0.4.3</AkkaPersistenceExtrasVersion>
<FluentAssertionsVersion>5.6.0</FluentAssertionsVersion>
<GoogleProtobufVersion>3.4.0</GoogleProtobufVersion>
<PetabridgeCmdVersion>0.6.3</PetabridgeCmdVersion>
<TestSdkVersion>16.6.1</TestSdkVersion>
<AkkaVersion>1.4.8</AkkaVersion>
<AkkaBootstrapVersion>0.4.0</AkkaBootstrapVersion>
<AkkaPersistenceExtrasVersion>0.5.0</AkkaPersistenceExtrasVersion>
<FluentAssertionsVersion>5.10.3</FluentAssertionsVersion>
<GoogleProtobufVersion>3.12.3</GoogleProtobufVersion>
<PetabridgeCmdVersion>0.8.0</PetabridgeCmdVersion>
</PropertyGroup>
<PropertyGroup>
<NetCoreVersion>netcoreapp2.1</NetCoreVersion>
Expand Down

0 comments on commit fc2b342

Please sign in to comment.