diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 16062f69..3786ae8d 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,17 +1,2 @@ -#### 0.1.4 July 29 2019 #### -* Fixed issue with `pbm` not being found on the PATH inside Docker containers. -* Fixed ASP.NET Core base image for Akka.CQRS.Pricing.Web. - -#### 0.1.3 June 20 2019 #### -* Condensed Docker images to 1/10 previous size using `dotnet-runtime` base image. - -#### 0.1.2 May 31 2019 #### -* Reorganized pricing and pricing-processor Dockerfiles to comport with Docker best practices. -* Enabled Phobos. - -#### 0.1.1 May 31 2019 #### -*Reorganized trader and trade-processor Dockerfiles to comport with Docker best practices. - -#### 0.1.0 May 26 2019 #### -* Fixed `NullReferenceException` when recovering `MatchAggregatorSnapshot` records with no price and volume updates. -* Fixed issue with BSON serialization for `MatchAggregatorSnapshot` records. \ No newline at end of file +#### 0.1.5 August 14 2019 #### +* Upgraded to Akka.NET v1.3.14 and Phobos v0.7.0 \ No newline at end of file diff --git a/deployK8sServices.sh b/deployK8sServices.sh new file mode 100644 index 00000000..a04cf1ee --- /dev/null +++ b/deployK8sServices.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +# deploys all Kubernetes services + +find ./k8s -name "*.yaml" | while read fname; do + echo "Deploying $fname" + kubectl apply -f "$fname" + + echo "Waiting 10s before start of next deployment." + sleep 10 +done diff --git a/docker-compose.yaml b/docker-compose.yaml index 9d0727f5..fa2a781a 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -99,6 +99,7 @@ services: STATSD_PORT: 8125 STATSD_URL: "graphite" JAEGER_AGENT_HOST: "jaeger" + ENABLE_PHOBOS: "true" restart: on-failure depends_on: - "mongo" @@ -115,6 +116,7 @@ services: STATSD_PORT: 8125 STATSD_URL: "graphite" JAEGER_AGENT_HOST: "jaeger" + ENABLE_PHOBOS: "true" restart: on-failure depends_on: - "mongo" @@ -130,6 +132,7 @@ services: STATSD_PORT: 8125 STATSD_URL: "graphite" JAEGER_AGENT_HOST: "jaeger" + ENABLE_PHOBOS: "true" restart: on-failure depends_on: - "pricing-engine" \ No newline at end of file diff --git a/k8s/pricing-deploy.yaml b/k8s/pricing-deploy.yaml index 796f1d39..c1f02605 100644 --- a/k8s/pricing-deploy.yaml +++ b/k8s/pricing-deploy.yaml @@ -33,7 +33,7 @@ spec: terminationGracePeriodSeconds: 35 containers: - name: pricing - image: akka.cqrs.pricing:0.1.4 + image: akka.cqrs.pricing:0.1.5 lifecycle: preStop: exec: diff --git a/k8s/pricing-web-deploy.yaml b/k8s/pricing-web-deploy.yaml index 87b947a6..3536b79f 100644 --- a/k8s/pricing-web-deploy.yaml +++ b/k8s/pricing-web-deploy.yaml @@ -51,7 +51,7 @@ spec: terminationGracePeriodSeconds: 35 containers: - name: pricing-web - image: akka.cqrs.pricing.web:0.1.4 + image: akka.cqrs.pricing.web:0.1.5 lifecycle: preStop: exec: diff --git a/k8s/tradeprocessor-deploy.yaml b/k8s/tradeprocessor-deploy.yaml index 055f7a5b..7f37c4e8 100644 --- a/k8s/tradeprocessor-deploy.yaml +++ b/k8s/tradeprocessor-deploy.yaml @@ -33,7 +33,7 @@ spec: terminationGracePeriodSeconds: 35 containers: - name: trade-processor - image: akka.cqrs.tradeprocessor:0.1.4 + image: akka.cqrs.tradeprocessor:0.1.5 lifecycle: preStop: exec: diff --git a/k8s/traders-deploy.yaml b/k8s/traders-deploy.yaml index a97b88ff..0bf96f0a 100644 --- a/k8s/traders-deploy.yaml +++ b/k8s/traders-deploy.yaml @@ -33,7 +33,7 @@ spec: terminationGracePeriodSeconds: 35 containers: - name: traders - image: akka.cqrs.traders:0.1.4 + image: akka.cqrs.traders:0.1.5 lifecycle: preStop: exec: diff --git a/src/common.props b/src/common.props index 988d030e..532c07ac 100644 --- a/src/common.props +++ b/src/common.props @@ -2,9 +2,8 @@ Copyright © 2015-2019 Petabridge Petabridge - 0.1.4 - Fixed issue with `pbm` not being found on the PATH inside Docker containers. -Fixed ASP.NET Core base image for Akka.CQRS.Pricing.Web. + 0.1.5 + Upgraded to Akka.NET v1.3.14 and Phobos v0.7.0 @@ -17,21 +16,21 @@ Fixed ASP.NET Core base image for Akka.CQRS.Pricing.Web. 1.2.2 2.4.1 15.9.0 - 1.3.13 + 1.3.14 0.2.1 0.4.3 5.6.0 3.4.0 - 0.6.0 + 0.6.3 netcoreapp2.1 netstandard2.0 - 0.6.0 - 0.5.1 - 0.7.0 + 0.7.0 + 0.6.0 + 0.8.0 $(DefineConstants);RELEASE; \ No newline at end of file diff --git a/stopK8sServices.sh b/stopK8sServices.sh new file mode 100644 index 00000000..da8d2fac --- /dev/null +++ b/stopK8sServices.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +# destroys all K8s services + +kubectl -n akka-cqrs delete statefulsets,deployments,po,svc --all \ No newline at end of file