Skip to content

Commit

Permalink
Merge #2889 Redeploy Inflator after builds
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Oct 17, 2019
2 parents 3969dda + 6db3a01 commit 9992941
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ env:
- BUILD_RELEASE_MONO_VERSION=5.16.0
- DOCKERHUB_USERNAME=kspckanbuilder
- secure: "UGXJG9jB9tGwjJXxG0Beu4Poz0leuiCBItnfTTKRm1a/NxXf1eoOH9p9icY5Ur2xHwqh0uWSznuL2aNr58CXtzTcMpXrcUhRsO63FB3Cz6tSdZEb+pKQJ23zmC9929DklKRGUT2D/eBcJcnV+/eAtkarrfLBU1avUQAVJgqXvMI="
- AWS_DEFAULT_REGION=us-west-2
- AWS_ACCESS_KEY_ID=AKIAZA4K6RW77XSCAMI2
- secure: "F4Ee6zQoAjG8a7n7c+wbeWMMzx00bQ/ci5rhKE7EZeMTYsvuiMSorUb4ShvRqbnuLKQH7NxOibnsQHXuQqUw6ZYyESU1xnFAYwhDRQrTdwPOrAOOiUzOhjB4yp3mdzMa8VOcFUUzk+QyrYpds3EUQAqE1a3Ht9Aji586QgK+sY8="
matrix:
- BUILD_CONFIGURATION=Debug
- BUILD_CONFIGURATION=Release
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ All notable changes to this project will be documented in this file.
- [Multiple] Normalize install paths (#2887 by: HebaruSan; reviewed: DasSkelett)
- [Multiple] Fixes for KSP in Windows drive root (#2857 by: HebaruSan; reviewed: DasSkelett)

### Internal

- [Build] Redeploy Inflator after builds (#2889 by: HebaruSan; reviewed: techman83)

## v1.26.4 (Orion)

### Features
Expand Down
18 changes: 18 additions & 0 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,24 @@ Task("docker-inflator")
);
DockerTag(mainTag, latestTag);
DockerPush(latestTag);

// Restart the Inflator
var netkanImage = "kspckan/netkan";
DockerPull(netkanImage);
DockerRun(new DockerContainerRunSettings()
{
Env = new string[]
{
"AWS_ACCESS_KEY_ID",
"AWS_SECRET_ACCESS_KEY",
"AWS_DEFAULT_REGION"
}
},
netkanImage,
"redeploy-service",
"--cluster", "NetKANCluster",
"--service-name", "Inflator"
);
});

Task("osx")
Expand Down

0 comments on commit 9992941

Please sign in to comment.