Skip to content

Commit

Permalink
Merge pull request #19 from petabridge/dev
Browse files Browse the repository at this point in the history
v0.2.3 Deployment
  • Loading branch information
Aaronontheweb authored Feb 8, 2019
2 parents 908600b + 7ecbe05 commit a427bd7
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 25 deletions.
16 changes: 3 additions & 13 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -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
#### 0.2.3 Feb 08 2019 ####
* Made it possible to tag all WebCrawler docker images more easily via `build.fsx`.
* Made `build.sh` executable.
34 changes: 26 additions & 8 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Empty file modified build.sh
100644 → 100755
Empty file.
7 changes: 3 additions & 4 deletions src/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
<PropertyGroup>
<Copyright>Copyright © 2015-2019 Petabridge, LLC</Copyright>
<Authors>Petabridge</Authors>
<VersionPrefix>0.2.2</VersionPrefix>
<PackageReleaseNotes>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)</PackageReleaseNotes>
<VersionPrefix>0.2.3</VersionPrefix>
<PackageReleaseNotes>Made it possible to tag all WebCrawler docker images more easily via `build.fsx`.
Made `build.sh` executable.</PackageReleaseNotes>
<PackageIconUrl>
</PackageIconUrl>
<PackageProjectUrl>
Expand Down

0 comments on commit a427bd7

Please sign in to comment.