From 6a65fc2ec23e1e0a385729289de7f23e01b6b30d Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Thu, 7 Feb 2019 23:42:12 -0600 Subject: [PATCH 1/3] made build.sh executable (#16) --- build.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 build.sh diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 From de1d379446b90870dfd78bd3e14a985731d89979 Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Fri, 8 Feb 2019 00:08:47 -0600 Subject: [PATCH 2/3] added script for tagging docker images with remote repo (#17) --- build.fsx | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/build.fsx b/build.fsx index f32edd2..3d2726f 100644 --- a/build.fsx +++ b/build.fsx @@ -303,15 +303,33 @@ Target "BuildDockerImages" (fun _ -> -- "src/**/*Tests.csproj" // Don't publish unit tests -- "src/**/*Tests*.csproj" + let remoteRegistryUrl = getBuildParamOrDefault "remoteRegistry" "" + let buildDockerImage imageName projectPath = - let args = StringBuilder() - |> append "build" - |> append "-t" - |> append (imageName + ":" + releaseNotes.AssemblyVersion) - |> append "-t" - |> append (imageName + ":latest") - |> append "." - |> toText + + let args = + if(hasBuildParam "remoteRegistry") then + StringBuilder() + |> append "build" + |> append "-t" + |> append (imageName + ":" + releaseNotes.AssemblyVersion) + |> append "-t" + |> append (imageName + ":latest") + |> append "-t" + |> append (remoteRegistryUrl + "/" + imageName + ":" + releaseNotes.AssemblyVersion) + |> append "-t" + |> append (remoteRegistryUrl + "/" + imageName + ":latest") + |> append "." + |> toText + else + StringBuilder() + |> append "build" + |> append "-t" + |> append (imageName + ":" + releaseNotes.AssemblyVersion) + |> append "-t" + |> append (imageName + ":latest") + |> append "." + |> toText ExecProcess(fun info -> info.FileName <- "docker" From 7ecbe05df7db54a9be5201a25fa69c32aa50f3b0 Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Fri, 8 Feb 2019 00:11:43 -0600 Subject: [PATCH 3/3] added v0.2.3 release notes (#18) --- RELEASE_NOTES.md | 16 +++------------- src/common.props | 7 +++---- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 6902707..f7e0976 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,13 +1,3 @@ -#### 0.2.2 Feb 07 2019 #### -* Added shared DevOps infrastructure. -* Setting the stage for the use of Phobos in future releases. -* Resolved [Install pbm on all nodes](https://github.com/petabridge/Cluster.WebCrawler/issues/10) - -#### 0.2.1 Feb 07 2019 #### -* Made it possible to invoke `CoordinatedShutdown` automatically via the `AppDomain.CurrentDomain.ProcessExit` event in .NET Core on `TrackerService`, `Lighthouse`, `CrawlerService`, and the `Web` application. - -#### 0.2.0 Feb 06 2019 #### -Upgraded to .NET Core 2.1 for all services. - -#### 0.1.0 Feb 04 2019 #### -First release \ No newline at end of file +#### 0.2.3 Feb 08 2019 #### +* Made it possible to tag all WebCrawler docker images more easily via `build.fsx`. +* Made `build.sh` executable. \ No newline at end of file diff --git a/src/common.props b/src/common.props index f579f5e..6f94ad9 100644 --- a/src/common.props +++ b/src/common.props @@ -2,10 +2,9 @@ Copyright © 2015-2019 Petabridge, LLC Petabridge - 0.2.2 - Added shared DevOps infrastructure. -Setting the stage for the use of Phobos in future releases. -Resolved [Install pbm on all nodes](https://github.com/petabridge/Cluster.WebCrawler/issues/10) + 0.2.3 + Made it possible to tag all WebCrawler docker images more easily via `build.fsx`. +Made `build.sh` executable.