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

Add suffix to compose project names #1846

Merged
merged 2 commits into from
May 21, 2024

Conversation

mrodm
Copy link
Contributor

@mrodm mrodm commented May 20, 2024

Follows #1838

Add suffix (run ID string) to compose project created by terraform and custom agent service deployers.

@mrodm mrodm requested a review from a team May 20, 2024 16:16
@mrodm mrodm self-assigned this May 20, 2024
@@ -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),
Copy link
Contributor Author

@mrodm mrodm May 20, 2024

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}}.

Copy link
Member

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.

@mrodm mrodm marked this pull request as ready for review May 20, 2024 16:19
@elasticmachine
Copy link
Collaborator

💚 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),
Copy link
Member

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.

@mrodm mrodm merged commit b24d091 into elastic:main May 21, 2024
3 checks passed
@mrodm mrodm deleted the add-suffix-compose-project-tf branch May 21, 2024 11:18
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.

3 participants