build: remove 32 bit builds (#11941)

All builds are now 64 bit, which is what we want to support from 6.0
onward.
This commit is contained in:
Court Ewing 2017-05-25 16:15:25 -04:00 committed by GitHub
parent 9b87c98bf9
commit c57a775060
9 changed files with 27 additions and 71 deletions

View file

@ -40,14 +40,13 @@ out an open PR:
### Snapshot Builds ### Snapshot Builds
For the daring, snapshot builds are available. These builds are created nightly and have undergone no formal QA, so they should never be run in production. For the daring, snapshot builds are available. These builds are created nightly and have undergone no formal QA, so they should never be run in production. All builds are 64 bit.
| platform | | | platform | |
| --- | --- | | --- | --- |
| OSX | [tar](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-darwin-x86_64.tar.gz) | | OSX | [tar](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-darwin-x86_64.tar.gz) |
| Linux x64 | [tar](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-linux-x86_64.tar.gz) [deb](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-amd64.deb) [rpm](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-x86_64.rpm) | | Linux | [tar](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-linux-x86_64.tar.gz) [deb](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-amd64.deb) [rpm](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-x86_64.rpm) |
| Linux x86 | [tar](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-linux-x86.tar.gz) [deb](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-i386.deb) [rpm](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-i686.rpm) | | Windows | [zip](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-windows-x86_64.zip) |
| Windows | [zip](https://snapshots.elastic.co/downloads/kibana/kibana-6.0.0-alpha2-SNAPSHOT-windows-x86.zip) |
## Documentation ## Documentation

View file

@ -4,6 +4,7 @@
This section discusses the changes that you need to be aware of when migrating This section discusses the changes that you need to be aware of when migrating
your application to Kibana 6.0. your application to Kibana 6.0.
[float] [float]
=== Removed option to use unsupported scripting languages === Removed option to use unsupported scripting languages
*Details:* Kibana 5.x allowed users to create scripted fields using any scripting language enabled in Elasticsearch. *Details:* Kibana 5.x allowed users to create scripted fields using any scripting language enabled in Elasticsearch.
@ -12,6 +13,7 @@ Kibana 6.0 will only support Painless and Lucene expression based scripts.
*Impact:* You will need to migrate your groovy, python, javascript, etc. scripted fields to Painless or Lucene expressions. *Impact:* You will need to migrate your groovy, python, javascript, etc. scripted fields to Painless or Lucene expressions.
[float] [float]
=== Changed response format of status API === Changed response format of status API
*Details:* In an effort to align with our style guidelines and provide a digestible response, *Details:* In an effort to align with our style guidelines and provide a digestible response,
@ -22,10 +24,17 @@ the status API has changed:
*Impact:* You will need to update anything using the status API and expecting the previous response format. *Impact:* You will need to update anything using the status API and expecting the previous response format.
[float] [float]
=== Timelion requires comma to separate queries === Timelion requires comma to separate queries
*Details:* Kibana 5.x allowed users to use spaces as a query separator in timelion `.es(400) .es(500)`. *Details:* Kibana 5.x allowed users to use spaces as a query separator in timelion `.es(400) .es(500)`.
This is no longer the case. Now, only commas are a valid query separator: e.g. `.es(400), .es(500)` This is no longer the case. Now, only commas are a valid query separator: e.g. `.es(400), .es(500)`
*Impact:* You will need to migrate your stored timelion queries to the new syntax. *Impact:* You will need to migrate your stored timelion queries to the new syntax.
[float]
=== Requires 64 bit operating system
*Details:* Kibana 6.0.0 and onward only support 64 bit operating systems.
*Impact:* You will need to install Kibana 6.x on a 64 bit operating system. No extra data migration steps are necessary when moving from 32 bit to 64 bit.

View file

@ -1,6 +1,8 @@
[[install]] [[install]]
== Installing Kibana == Installing Kibana
NOTE: Starting with version 6.0.0, Kibana only supports 64 bit operating systems.
Kibana is provided in the following package formats: Kibana is provided in the following package formats:
[horizontal] [horizontal]

View file

@ -106,7 +106,6 @@ ifeval::["{release-state}"!="unreleased"]
The Debian package for Kibana v{version} can be downloaded from the website and installed as follows: The Debian package for Kibana v{version} can be downloaded from the website and installed as follows:
*64 bit:*
["source","sh",subs="attributes"] ["source","sh",subs="attributes"]
-------------------------------------------- --------------------------------------------
wget https://artifacts.elastic.co/downloads/kibana/kibana-{version}-amd64.deb wget https://artifacts.elastic.co/downloads/kibana/kibana-{version}-amd64.deb
@ -116,16 +115,6 @@ sudo dpkg -i kibana-{version}-amd64.deb
<1> Compare the SHA produced by `sha1sum` or `shasum` with the <1> Compare the SHA produced by `sha1sum` or `shasum` with the
https://artifacts.elastic.co/downloads/kibana/kibana-{version}-amd64.deb.sha1[published SHA]. https://artifacts.elastic.co/downloads/kibana/kibana-{version}-amd64.deb.sha1[published SHA].
*32 bit:*
["source","sh",subs="attributes"]
--------------------------------------------
wget https://artifacts.elastic.co/downloads/kibana/kibana-{version}-i386.deb
sha1sum kibana-{version}-i386.deb <1>
sudo dpkg -i kibana-{version}-i386.deb
--------------------------------------------
<1> Compare the SHA produced by `sha1sum` or `shasum` with the
https://artifacts.elastic.co/downloads/kibana/kibana-{version}-i386.deb.sha1[published SHA].
endif::[] endif::[]
include::init-systemd.asciidoc[] include::init-systemd.asciidoc[]

View file

@ -97,7 +97,6 @@ ifeval::["{release-state}"!="unreleased"]
The RPM for Kibana v{version} can be downloaded from the website and installed as follows: The RPM for Kibana v{version} can be downloaded from the website and installed as follows:
*64 bit:*
["source","sh",subs="attributes"] ["source","sh",subs="attributes"]
-------------------------------------------- --------------------------------------------
wget https://artifacts.elastic.co/downloads/kibana/kibana-{version}-x86_64.rpm wget https://artifacts.elastic.co/downloads/kibana/kibana-{version}-x86_64.rpm
@ -107,16 +106,6 @@ sudo rpm --install kibana-{version}-x86_64.rpm
<1> Compare the SHA produced by `sha1sum` or `shasum` with the <1> Compare the SHA produced by `sha1sum` or `shasum` with the
https://artifacts.elastic.co/downloads/kibana/kibana-{version}-x86_64.rpm.sha1[published SHA]. https://artifacts.elastic.co/downloads/kibana/kibana-{version}-x86_64.rpm.sha1[published SHA].
*32 bit:*
["source","sh",subs="attributes"]
--------------------------------------------
wget https://artifacts.elastic.co/downloads/kibana/kibana-{version}-i686.rpm
sha1sum kibana-{version}-i686.rpm <1>
sudo rpm --install kibana-{version}-i686.rpm
--------------------------------------------
<1> Compare the SHA produced by `sha1sum` or `shasum` with the
https://artifacts.elastic.co/downloads/kibana/kibana-{version}-i686.rpm.sha1[published SHA].
endif::[] endif::[]
include::init-systemd.asciidoc[] include::init-systemd.asciidoc[]

View file

@ -21,7 +21,7 @@ endif::[]
ifeval::["{release-state}"!="unreleased"] ifeval::["{release-state}"!="unreleased"]
The 64-bit Linux archive for Kibana v{version} can be downloaded and installed as follows: The Linux archive for Kibana v{version} can be downloaded and installed as follows:
["source","sh",subs="attributes"] ["source","sh",subs="attributes"]
-------------------------------------------- --------------------------------------------
@ -37,33 +37,6 @@ cd kibana/ <2>
endif::[] endif::[]
[[install-linux32]]
==== Download and install the Linux 32-bit package
ifeval::["{release-state}"=="unreleased"]
Version {version} of Kibana has not yet been released.
endif::[]
ifeval::["{release-state}"!="unreleased"]
The 32-bit Linux archive for Kibana v{version} can be downloaded and installed as follows:
["source","sh",subs="attributes"]
--------------------------------------------
wget https://artifacts.elastic.co/downloads/kibana/kibana-{version}-linux-x86.tar.gz
sha1sum kibana-{version}-linux-x86.tar.gz <1>
tar -xzf kibana-{version}-linux-x86.tar.gz
cd kibana/ <2>
--------------------------------------------
<1> Compare the SHA produced by `sha1sum` or `shasum` with the
https://artifacts.elastic.co/downloads/kibana/kibana-{version}-linux-x86.tar.gz.sha1[published SHA].
<2> This directory is known as `$KIBANA_HOME`.
endif::[]
[[install-darwin64]] [[install-darwin64]]
==== Download and install the Darwin package ==== Download and install the Darwin package

View file

@ -20,16 +20,16 @@ endif::[]
ifeval::["{release-state}"!="unreleased"] ifeval::["{release-state}"!="unreleased"]
Download the `.zip` windows archive for Kibana v{version} from Download the `.zip` windows archive for Kibana v{version} from
https://artifacts.elastic.co/downloads/kibana/kibana-{version}-windows-x86.zip https://artifacts.elastic.co/downloads/kibana/kibana-{version}-windows-x86_64.zip
Unzip it with your favourite unzip tool. This will create a folder called Unzip it with your favourite unzip tool. This will create a folder called
kibana-{version}-windows-x86, which we will refer to as `$KIBANA_HOME`. In a kibana-{version}-windows-x86_64, which we will refer to as `$KIBANA_HOME`. In a
terminal window, `CD` to the `$KIBANA_HOME` directory, for instance: terminal window, `CD` to the `$KIBANA_HOME` directory, for instance:
["source","sh",subs="attributes"] ["source","sh",subs="attributes"]
---------------------------- ----------------------------
CD c:\kibana-{version}-windows-x86 CD c:\kibana-{version}-windows-x86_64
---------------------------- ----------------------------
endif::[] endif::[]

View file

@ -14,7 +14,7 @@ export default (grunt) => {
grunt.file.mkdir(targetDir); grunt.file.mkdir(targetDir);
config.get('platforms') config.get('platforms')
.filter(({ name }) => /linux-x86(_64)?$/.test(name)) .filter(({ name }) => /linux-x86_64$/.test(name))
.forEach(({ buildDir, debArch, rpmArch }) => { .forEach(({ buildDir, debArch, rpmArch }) => {
const baseOptions = [ const baseOptions = [
'--force', '--force',

View file

@ -1,5 +1,3 @@
import { endsWith } from 'lodash';
import { resolve } from 'path'; import { resolve } from 'path';
module.exports = function (grunt) { module.exports = function (grunt) {
@ -11,17 +9,14 @@ module.exports = function (grunt) {
return [ return [
'darwin-x64', 'darwin-x64',
'linux-x64', 'linux-x64',
'linux-x86', 'windows-x64'
'windows-x86'
].map(function (baseName) { ].map(function (baseName) {
const win = baseName === 'windows-x86'; const win = baseName === 'windows-x64';
const nodeUrl = win ? `${baseUri}/win-x86/node.exe` : `${baseUri}/node-v${nodeVersion}-${baseName}.tar.gz`; const nodeUrl = win ? `${baseUri}/win-x64/node.exe` : `${baseUri}/node-v${nodeVersion}-${baseName}.tar.gz`;
const nodeDir = resolve(rootPath, `.node_binaries/${nodeVersion}/${baseName}`); const nodeDir = resolve(rootPath, `.node_binaries/${nodeVersion}/${baseName}`);
const name = endsWith(baseName, '-x64') const name = baseName.replace('-x64', '-x86_64');
? baseName.replace('-x64', '-x86_64')
: baseName;
const nodeShaSums = `${baseUri}/SHASUMS256.txt`; const nodeShaSums = `${baseUri}/SHASUMS256.txt`;
@ -41,11 +36,11 @@ module.exports = function (grunt) {
let debArch; let debArch;
let rpmArch; let rpmArch;
if (name.match('linux')) { if (name.match('linux')) {
debArch = name.match('x86_64') ? 'amd64' : 'i386'; debArch = 'amd64';
debName = `kibana-${version}-${debArch}.deb`; debName = `kibana-${version}-${debArch}.deb`;
debPath = resolve(rootPath, `target/${debName}`); debPath = resolve(rootPath, `target/${debName}`);
rpmArch = name.match('x86_64') ? 'x86_64' : 'i686'; rpmArch = 'x86_64';
rpmName = `kibana-${version}-${rpmArch}.rpm`; rpmName = `kibana-${version}-${rpmArch}.rpm`;
rpmPath = resolve(rootPath, `target/${rpmName}`); rpmPath = resolve(rootPath, `target/${rpmName}`);
} }