mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Fleet]: updated wget command for Windows platform Fleet Server installation (#138638)
* Edited the wget command for the windows platform * Updated the install command utils tests Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
This commit is contained in:
parent
61c6217a52
commit
05b2659501
2 changed files with 4 additions and 4 deletions
|
@ -52,7 +52,7 @@ describe('getInstallCommandForPlatform', () => {
|
|||
|
||||
expect(res).toMatchInlineSnapshot(`
|
||||
"$ProgressPreference = 'SilentlyContinue'
|
||||
wget https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent--windows-x86_64.zip -OutFile elastic-agent--windows-x86_64.zip
|
||||
Invoke-WebRequest -Uri https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent--windows-x86_64.zip -OutFile elastic-agent--windows-x86_64.zip
|
||||
Expand-Archive .\\\\elastic-agent--windows-x86_64.zip
|
||||
cd elastic-agent--windows-x86_64
|
||||
.\\\\elastic-agent.exe install \`
|
||||
|
@ -169,7 +169,7 @@ describe('getInstallCommandForPlatform', () => {
|
|||
|
||||
expect(res).toMatchInlineSnapshot(`
|
||||
"$ProgressPreference = 'SilentlyContinue'
|
||||
wget https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent--windows-x86_64.zip -OutFile elastic-agent--windows-x86_64.zip
|
||||
Invoke-WebRequest -Uri https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent--windows-x86_64.zip -OutFile elastic-agent--windows-x86_64.zip
|
||||
Expand-Archive .\\\\elastic-agent--windows-x86_64.zip
|
||||
cd elastic-agent--windows-x86_64
|
||||
.\\\\elastic-agent.exe install \`
|
||||
|
@ -283,7 +283,7 @@ describe('getInstallCommandForPlatform', () => {
|
|||
|
||||
expect(res).toMatchInlineSnapshot(`
|
||||
"$ProgressPreference = 'SilentlyContinue'
|
||||
wget https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent--windows-x86_64.zip -OutFile elastic-agent--windows-x86_64.zip
|
||||
Invoke-WebRequest -Uri https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent--windows-x86_64.zip -OutFile elastic-agent--windows-x86_64.zip
|
||||
Expand-Archive .\\\\elastic-agent--windows-x86_64.zip
|
||||
cd elastic-agent--windows-x86_64
|
||||
.\\\\elastic-agent.exe install --url=http://fleetserver:8220 \`
|
||||
|
|
|
@ -32,7 +32,7 @@ function getArtifact(platform: PLATFORM_TYPE, kibanaVersion: string) {
|
|||
windows: {
|
||||
downloadCommand: [
|
||||
`$ProgressPreference = 'SilentlyContinue'`,
|
||||
`wget ${ARTIFACT_BASE_URL}/elastic-agent-${kibanaVersion}-windows-x86_64.zip -OutFile elastic-agent-${kibanaVersion}-windows-x86_64.zip`,
|
||||
`Invoke-WebRequest -Uri https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-${kibanaVersion}-windows-x86_64.zip -OutFile elastic-agent-${kibanaVersion}-windows-x86_64.zip`,
|
||||
`Expand-Archive .\\elastic-agent-${kibanaVersion}-windows-x86_64.zip`,
|
||||
`cd elastic-agent-${kibanaVersion}-windows-x86_64`,
|
||||
].join(`\n`),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue