Skip to content

Commit

Permalink
Disable zypper repos on suse step-by-step e2e tests (#26641)
Browse files Browse the repository at this point in the history
(cherry picked from commit 751a8b9)
  • Loading branch information
alopezz authored and github-actions[bot] committed Jun 13, 2024
1 parent 3b75c07 commit b6e53c5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ func (is *stepByStepSuite) StepByStepSuseTest(VMclient *common.TestClient) {
fileManager := VMclient.FileManager
var err error

// Disable all existing non-datadog repos to avoid issues during refresh (which is hard to prevent zypper from doing spontaneously);
// we don't need them to install the Agent anyway
ExecuteWithoutError(nil, VMclient, "sudo rm /etc/zypp/repos.d/*.repo")

fileContent := fmt.Sprintf("[datadog]\n"+
"name = Datadog, Inc.\n"+
"baseurl = %s\n"+
Expand Down

0 comments on commit b6e53c5

Please sign in to comment.