Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
fix: apply container name to elastic-agent Docker services (#1336)
Browse files Browse the repository at this point in the history
* fix: apply container name to elastic-agent Docker services

* chore: do not override container name for elastic-agent
  • Loading branch information
mdelapenya authored Jul 20, 2021
1 parent 1d4b190 commit 787b976
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ version: '2.4'
services:
elastic-agent:
image: docker.elastic.co/observability-ci/centos-systemd:latest
container_name: ${centos_systemdContainerName}
entrypoint: "/usr/sbin/init"
platform: ${stackPlatform:-linux/amd64}
privileged: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ version: '2.4'
services:
elastic-agent:
image: "docker.elastic.co/${elasticAgentDockerNamespace:-beats}/elastic-agent${elasticAgentDockerImageSuffix}:${elasticAgentTag:-8.0.0-SNAPSHOT}"
container_name: ${elasticAgentContainerName}
depends_on:
elasticsearch:
condition: service_healthy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ version: '2.4'
services:
elastic-agent:
image: docker.elastic.co/observability-ci/debian-systemd:latest
container_name: ${debian_systemdContainerName}
entrypoint: "/sbin/init"
platform: ${stackPlatform:-linux/amd64}
privileged: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ version: '2.4'
services:
elastic-agent:
image: "docker.elastic.co/${elasticAgentDockerNamespace:-beats}/elastic-agent${elasticAgentDockerImageSuffix}:${elasticAgentTag:-8.0.0-SNAPSHOT}"
container_name: ${elasticAgentContainerName}
depends_on:
elasticsearch:
condition: service_healthy
Expand Down
1 change: 0 additions & 1 deletion e2e/_suites/fleet/stand-alone.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ func (fts *FleetTestSuite) startStandAloneAgent(image string, flavour string, en

containerName := fmt.Sprintf("%s_%s_%d", common.FleetProfileName, common.ElasticAgentServiceName, 1)

common.ProfileEnv["elasticAgentContainerName"] = containerName
common.ProfileEnv["elasticAgentTag"] = dockerImageTag

for k, v := range env {
Expand Down

0 comments on commit 787b976

Please sign in to comment.