Skip to content

Commit

Permalink
fix(deploy): Fix baseconfig loading for jar-backed templates (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwander authored Apr 14, 2017
1 parent 7dca740 commit b451098
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,7 @@ protected Profile getBaseProfile(String name, String version, String outputFile)

@Override
protected void setProfile(Profile profile, DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
profile.appendContents(profile.getBaseContents());
System.out.println(profile.getContents());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ protected String commentPrefix() {

@Override
protected void setProfile(Profile profile, DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
super.setProfile(profile, deploymentConfiguration, endpoints);
profile.setExecutable(true);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ protected String commentPrefix() {

@Override
protected void setProfile(Profile profile, DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
super.setProfile(profile, deploymentConfiguration, endpoints);
profile.setExecutable(true);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ protected String commentPrefix() {

@Override
protected void setProfile(Profile profile, DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
super.setProfile(profile, deploymentConfiguration, endpoints);
profile.setExecutable(true);
}
}

0 comments on commit b451098

Please sign in to comment.