Introduce support for building the site in "preliminary" mode. (#1052)

This commit is contained in:
Martin Taillefer 2018-03-05 11:05:26 -08:00 committed by GitHub
parent b4d664bf35
commit 8d8fd08399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 32 additions and 7 deletions

View File

@ -1,4 +1,5 @@
version: 0.6 (preliminary)
version: 0.6
preliminary: false
archive: false
archive_date: DD-MMM-YYYY
search_engine_id: "013699703217164175118:veyyqmfmpj4"

View File

@ -91,9 +91,9 @@ curl -L https://git.io/getLatestIstio | sh -
* The `istioctl` client binary in the `bin/` directory. `istioctl` is used when manually injecting Envoy as a sidecar proxy and for creating routing rules and policies.
* The `istio.VERSION` configuration file
1. Change directory to istio package. For example, if the package is istio-{{ site.data.istio.version }}
1. Change directory to istio package. For example, if the package is istio-{{site.data.istio.version}}
```bash
cd istio-{{ site.data.istio.version }}
cd istio-{{site.data.istio.version}}
```
1. Add the `istioctl` client to your PATH.
@ -191,7 +191,7 @@ kubectl create -f <(istioctl kube-inject -f <your-app-spec>.yaml)
kubectl delete -f install/kubernetes/istio-sidecar-injector-with-ca-bundle.yaml
```
* Uninstall Istio core components. For the {{ site.data.istio.version }} release, the uninstall
* Uninstall Istio core components. For the {{site.data.istio.version}} release, the uninstall
deletes the RBAC permissions, the `istio-system` namespace, and hierarchically all resources under it.
It is safe to ignore errors for non-existent resources because they may have been deleted hierarchically.

View File

@ -6,6 +6,6 @@ type: markdown
{% include home.html %}
Istio is designed and built to be platform-independent. For our
{{ site.data.istio.version }} release, Istio supports environments running
{{site.data.istio.version}} release, Istio supports environments running
container orchestration platforms such as Kubernetes (v1.7.4 or greater)
and Nomad (with Consul).

View File

@ -45,7 +45,13 @@
<div class="row">
<div class="col-12">
<p class="description text-center" role="contentinfo">
Istio {{site.data.istio.version}}, Copyright &copy; 2018 Istio Authors<br>
Istio
{% if site.data.istio.archive %}
Archive
{% elsif site.data.istio.preliminary %}
Preliminary
{% endif %}
{{site.data.istio.version}}, Copyright &copy; 2018 Istio Authors<br>
{% if site.data.istio.archive %}
Archived on {{site.data.istio.archive_date}}
{% else %}

View File

@ -14,8 +14,10 @@
<img class="logo" src="{{home}}/img/istio-logo.svg" alt="Istio Logo"/>
{% if site.data.istio.archive %}
<span class="brand-name">Istioldie {{site.data.istio.version}}</span>
{% elsif site.data.istio.preliminary %}
<span class="brand-name">Istio Prelim {{site.data.istio.version}}</span>
{% else %}
<span class="brand-name">Istio</span>
<span class="brand-name">Istio {{site.data.istio.version}}</span>
{% endif %}
</a>

View File

@ -32,6 +32,12 @@ layout: compress
{% else %}
<title>Istioldie {{site.data.istio.version}} / {{ page.title }}</title>
{% endif %}
{% elsif site.data.istio.preliminary %}
{% if page.title == 'Istio' %}
<title>Istio Prelim {{site.data.istio.version}}</title>
{% else %}
<title>Istio Prelim {{site.data.istio.version}} / {{ page.title }}</title>
{% endif %}
{% else %}
{% if page.title == 'Istio' %}
<title>Istio</title>

View File

@ -0,0 +1,4 @@
$mainBrandColor: #466BB0;
$secondBrandColor: #68AAF7;
$textBrandColor: #FFFFFF;
$textBrandColorLight: #CCCCCC;

View File

@ -3,6 +3,8 @@
{% if site.data.istio.archive %}
@import "base/brand_colors_archive";
{% elsif site.data.istio.preliminary %}
@import "base/brand_colors_preliminary";
{% else %}
@import "base/brand_colors_normal";
{% endif %}

View File

@ -3,6 +3,8 @@
{% if site.data.istio.archive %}
@import "base/brand_colors_archive";
{% elsif site.data.istio.preliminary %}
@import "base/brand_colors_preliminary";
{% else %}
@import "base/brand_colors_normal";
{% endif %}

View File

@ -8,6 +8,8 @@ title: Istio
<div class="container">
{% if site.data.istio.archive %}
<h1 class="hero-label">Istio Archive {{site.data.istio.version}}</h1>
{% elsif site.data.istio.preliminary %}
<h1 class="hero-label">Istio Preliminary {{site.data.istio.version}}</h1>
{% else %}
<h1 class="hero-label">Istio</h1>
{% endif %}