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

Debian installer is broken #1200

@mdelapenya

Description

@mdelapenya

7.x: broken https://beats-ci.elastic.co/blue/organizations/jenkins/e2e-tests%2Fe2e-testing-mbp%2F7.x/detail/7.x/545/pipeline
master: broken too https://beats-ci.elastic.co/blue/organizations/jenkins/e2e-tests%2Fe2e-testing-mbp%2Fmaster/detail/master/908/pipeline

[2021-05-26T05:39:10.992Z] time="2021-05-26T05:39:10Z" level=fatal msg="Sorry, we currently do not support this installer" image=debian installer=tar

@adam-stokes I think we broke the debian builds with #1163. When reviewing it, I noticed we changed the code to retrieve an installer in elasticagent.go#GetElasticAgentInstaller:

// TODO: convert to new installer code
	if "docker" == image && "default" == installerType {
		installer, err = newDockerInstaller(false, version)
	} else if "docker" == image && "ubi8" == installerType {
		installer, err = newDockerInstaller(true, version)
	} else {
		log.WithFields(log.Fields{
			"image":     image,
			"installer": installerType,
		}).Fatal("Sorry, we currently do not support this installer")
		return ElasticAgentInstaller{}
	}

I'm thinking about a revert for that commit, leaving the team the responsibility to rework on top of the revert.

Metadata

Metadata

Assignees

Labels

Team:AutomationLabel for the Observability productivity teamarea:testAnything related to the Test automationbugSomething isn't workingpriority:blockerWork is on-hold for a product team, business is at risk until resolution of issuesize:Sless than 1 day

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions