Skip to content

Commit

Permalink
INFRA-466: Create env file when only artifacts change a (#46)
Browse files Browse the repository at this point in the history
* INFRA-466: Create env file when only artifacts change and fetch private artfacts for dockerComposeFromArtifact project type

* Add comment to getArtifactsScript
  • Loading branch information
enyachoke authored Jun 18, 2024
1 parent 0d7f989 commit ce87c43
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions node-scripts/src/pipeline3/impl/dockerComposeFromArtifact.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ module.exports = {
mavenProject,
"maven",
dockerDirPath,
null
instanceDef.deployment.value.mavenUrl
);
}
return script;
Expand Down Expand Up @@ -220,7 +220,8 @@ module.exports = {
return script;
},
getArtifactsScript: function(instanceDef) {
return "";
// `dockerComposeFromArtifact` deployment type requires to apply deployment scripts changes even upon artifact changes.
return this.getDeploymentScript(instanceDef);
}
},
startInstance: {
Expand Down

0 comments on commit ce87c43

Please sign in to comment.