2021-05-03 19:01:36 +00:00
|
|
|
import VERSION from 'data/version'
|
|
|
|
import { productSlug } from 'data/metadata'
|
|
|
|
import ProductDownloadsPage from '@hashicorp/react-product-downloads-page'
|
|
|
|
import { generateStaticProps } from '@hashicorp/react-product-downloads-page/server'
|
|
|
|
import s from './style.module.css'
|
2020-04-06 20:27:35 +00:00
|
|
|
|
2021-05-03 19:01:36 +00:00
|
|
|
export default function DownloadsPage(staticProps) {
|
2020-04-06 20:27:35 +00:00
|
|
|
return (
|
2021-05-03 19:01:36 +00:00
|
|
|
<ProductDownloadsPage
|
|
|
|
getStartedDescription="Follow step-by-step tutorials on the essentials of Consul."
|
|
|
|
getStartedLinks={[
|
|
|
|
{
|
|
|
|
label: 'CLI Quickstart',
|
|
|
|
href:
|
|
|
|
'https://learn.hashicorp.com/collections/consul/getting-started',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'HCP Consul',
|
|
|
|
href:
|
|
|
|
'https://learn.hashicorp.com/collections/consul/cloud-get-started',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'HCS on Azure',
|
|
|
|
href: 'https://learn.hashicorp.com/collections/consul/hcs-azure',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Kubernetes Quickstart',
|
|
|
|
href:
|
|
|
|
'https: //learn.hashicorp.com/collections/consul/gs-consul-service-mesh',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'View all Consul tutorials',
|
|
|
|
href: 'https://learn.hashicorp.com/consul',
|
|
|
|
},
|
|
|
|
]}
|
|
|
|
logo={
|
|
|
|
<img
|
|
|
|
className={s.logo}
|
|
|
|
alt="Consul"
|
2021-05-05 15:15:27 +00:00
|
|
|
src={require('@hashicorp/mktg-logos/product/consul/primary/color.svg')}
|
2021-05-03 19:01:36 +00:00
|
|
|
/>
|
|
|
|
}
|
|
|
|
tutorialLink={{
|
|
|
|
href: 'https://learn.hashicorp.com/consul',
|
|
|
|
label: 'View Tutorials at HashiCorp Learn',
|
2021-04-16 20:20:20 +00:00
|
|
|
}}
|
2021-05-03 19:01:36 +00:00
|
|
|
merchandisingSlot={
|
|
|
|
<>
|
2020-04-13 22:36:31 +00:00
|
|
|
<p>
|
2021-05-03 19:01:36 +00:00
|
|
|
<a href="/docs/download-tools">» Download Consul Tools</a>
|
2020-04-13 22:36:31 +00:00
|
|
|
</p>
|
2021-05-03 19:01:36 +00:00
|
|
|
<div className={s.releaseCandidate}>
|
|
|
|
<p>Note for ARM users:</p>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li>Use Armelv5 for all 32-bit armel systems</li>
|
|
|
|
<li>Use Armhfv6 for all armhf systems with v6+ architecture</li>
|
|
|
|
<li>Use Arm64 for all v8 64-bit architectures</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
The following commands can help determine the right version for
|
|
|
|
your system:
|
|
|
|
</p>
|
2020-04-13 22:36:31 +00:00
|
|
|
|
2021-05-03 19:01:36 +00:00
|
|
|
<code>$ uname -m</code>
|
|
|
|
<br />
|
|
|
|
<code>
|
|
|
|
$ readelf -a /proc/self/exe | grep -q -c Tag_ABI_VFP_args && echo
|
|
|
|
"armhf" || echo "armel"
|
|
|
|
</code>
|
|
|
|
</div>
|
|
|
|
<div className={s.releaseCandidate}>
|
|
|
|
<p>
|
2021-05-07 19:03:50 +00:00
|
|
|
A beta for Consul v1.10.0 is available! The release can be{' '}
|
2021-05-27 16:22:17 +00:00
|
|
|
<a href="https://releases.hashicorp.com/consul/1.10.0-beta3/">
|
2021-05-03 19:01:36 +00:00
|
|
|
downloaded here
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</>
|
|
|
|
}
|
|
|
|
{...staticProps}
|
|
|
|
/>
|
2020-04-06 20:27:35 +00:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export async function getStaticProps() {
|
2021-05-03 19:01:36 +00:00
|
|
|
return generateStaticProps({
|
|
|
|
product: productSlug,
|
|
|
|
latestVersion: VERSION,
|
|
|
|
})
|
2020-04-06 20:27:35 +00:00
|
|
|
}
|