Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INFRA-466: Create env file when only artifacts change a #46

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

enyachoke
Copy link
Collaborator

@enyachoke enyachoke commented Jun 14, 2024

The PR fixes to bugs

  • dockerComposeFromArtifact type not able to fetch private artifacts
  • dockerComposeFromArtifact type not creating a necessary env file when only artifacts change.

Copy link
Member

@rbuisson rbuisson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me at first glance.
If that works, then we're good.

@rbuisson
Copy link
Member

@enyachoke could you reuse the logic from this function, instead of copying it?

getDeploymentScript: function(instanceDef) {

…te artfacts for dockerComposeFromArtifact project type
@@ -220,7 +220,7 @@ module.exports = {
return script;
},
getArtifactsScript: function(instanceDef) {
return "";
return this.getDeploymentScript(instanceDef);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return this.getDeploymentScript(instanceDef);
// `dockerComposeFromArtifact` deployment type requires to apply deployment scripts changes even upon artifact changes.
return this.getDeploymentScript(instanceDef);

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have made the change.

@enyachoke enyachoke changed the title WIP: Create env file when only artifacts change INFRA-466: Create env file when only artifacts change a Jun 18, 2024
@enyachoke enyachoke merged commit ce87c43 into mekomsolutions:master Jun 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants