Skip to content

Commit

Permalink
[8.12] [EDR Workflows] Fix vagrant unzip (#175754) (#175755)
Browse files Browse the repository at this point in the history
# Backport

This will backport the following commits from `main` to `8.12`:
- [[EDR Workflows] Fix vagrant unzip
(#175754)](#175754)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Tomasz
Ciecierski","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-01-27T17:07:55Z","message":"[EDR
Workflows] Fix vagrant unzip
(#175754)","sha":"f4b0bd7d7b5f0fece2b61b7b5af077b20067e562","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","v8.12.1","v8.13.0"],"title":"[EDR Workflows] Fix vagrant
unzip","number":175754,"url":"https://github.com/elastic/kibana/pull/175754","mergeCommit":{"message":"[EDR
Workflows] Fix vagrant unzip
(#175754)","sha":"f4b0bd7d7b5f0fece2b61b7b5af077b20067e562"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/175754","number":175754,"mergeCommit":{"message":"[EDR
Workflows] Fix vagrant unzip
(#175754)","sha":"f4b0bd7d7b5f0fece2b61b7b5af077b20067e562"}}]}]
BACKPORT-->

Co-authored-by: Tomasz Ciecierski <[email protected]>
  • Loading branch information
kibanamachine and tomsonpl authored Jan 29, 2024
1 parent fb72093 commit e4db1de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe.skip('Response console', { tags: ['@ess', '@serverless'] }, () => {
path: `${homeFilePath}/upload.zip`,
password: 'elastic',
}).then((unzippedFileContent) => {
expect(unzippedFileContent).to.equal(fileContent);
expect(unzippedFileContent).to.contain(fileContent);
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@ Vagrant.configure("2") do |config|
config.vm.provision "file", source: cachedAgentSource, destination: "~/#{cachedAgentFilename}"
config.vm.provision "shell", inline: "mkdir #{agentDestinationFolder}"
config.vm.provision "shell", inline: "tar -zxf #{cachedAgentFilename} --directory #{agentDestinationFolder} --strip-components=1 && rm -f #{cachedAgentFilename}"
config.vm.provision "shell", inline: "sudo apt-get update"
config.vm.provision "shell", inline: "sudo apt-get upgrade"
config.vm.provision "shell", inline: "sudo apt-get install unzip"
end

0 comments on commit e4db1de

Please sign in to comment.