-
Notifications
You must be signed in to change notification settings - Fork 116
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
Add suffix to compose project names #1846
Conversation
@@ -106,7 +106,7 @@ func (d *CustomAgentDeployer) SetUp(ctx context.Context, svcInfo ServiceInfo) (D | |||
|
|||
service := dockerComposeDeployedService{ | |||
ymlPaths: ymlPaths, | |||
project: "elastic-package-service", | |||
project: fmt.Sprintf("elastic-package-service-%s", svcInfo.Test.RunID), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated this service deployer to keep consistency.
But it would not be needed, since this deployer is not used with independent Elastic Agents.
Would it be better to revert the change in this file?
This would make mandatory to change test configuration files for oracle
package using the placeholders {{Hostname}}
and {{Port}}
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, it doesn't do any harm, right? Keep the change in case this continues to be used.
💚 Build Succeeded
History
cc @mrodm |
@@ -106,7 +106,7 @@ func (d *CustomAgentDeployer) SetUp(ctx context.Context, svcInfo ServiceInfo) (D | |||
|
|||
service := dockerComposeDeployedService{ | |||
ymlPaths: ymlPaths, | |||
project: "elastic-package-service", | |||
project: fmt.Sprintf("elastic-package-service-%s", svcInfo.Test.RunID), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, it doesn't do any harm, right? Keep the change in case this continues to be used.
Follows #1838
Add suffix (run ID string) to compose project created by terraform and custom agent service deployers.