From 8f8997f45d5e642d0e6679b1cde149da12e1472e Mon Sep 17 00:00:00 2001 From: Runhang Li Date: Thu, 8 Sep 2016 16:43:04 -0700 Subject: [PATCH] Config version macro. --- website/config.yaml | 4 ++-- website/content/docs/getting-started.md | 2 +- .../deployment/schedulers/aurora-local-setup.md | 12 ++++++------ website/content/docs/upgrade-storm-to-heron.md | 12 ++++++------ 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/website/config.yaml b/website/config.yaml index 6c5670b1c15..32c9e07eadb 100755 --- a/website/config.yaml +++ b/website/config.yaml @@ -20,8 +20,8 @@ params: author: Twitter, Inc. description: A realtime, distributed, fault-tolerant stream processing engine from Twitter versions: - heron: 0.14.2 - bazel: 0.3.0 + heron: 0.14.3 + bazel: 0.3.1 assets: favicon: small: /img/favicon-16x16.png diff --git a/website/content/docs/getting-started.md b/website/content/docs/getting-started.md index d986033b375..986343bc776 100644 --- a/website/content/docs/getting-started.md +++ b/website/content/docs/getting-started.md @@ -66,7 +66,7 @@ To check Heron is successfully installed, run: ```bash $ heron version -heron.build.version : 0.14.2 +heron.build.version : {{% heronVersion %}} heron.build.time : Sat Aug 6 12:35:47 PDT 2016 heron.build.timestamp : 1470512147000 heron.build.host : ${HOSTNAME} diff --git a/website/content/docs/operators/deployment/schedulers/aurora-local-setup.md b/website/content/docs/operators/deployment/schedulers/aurora-local-setup.md index e0155e9b4b0..1026b1eb67c 100644 --- a/website/content/docs/operators/deployment/schedulers/aurora-local-setup.md +++ b/website/content/docs/operators/deployment/schedulers/aurora-local-setup.md @@ -75,17 +75,17 @@ $ vagrant ssh ### Step 1.a : Download installation script files You can download the script files that match your Linux distribution from -https://github.com/twitter/heron/releases/tag/0.14.2 +https://github.com/twitter/heron/releases/tag/{{% heronVersion %}} -For example for the 0.14.2 release the files you need to download For Ubuntu will be the following. +For example for the {{% heronVersion %}} release the files you need to download For Ubuntu will be the following. -* `heron-client-install-0.14.2-ubuntu.sh` -* `heron-tools-install-0.14.2-ubuntu.sh` +* `heron-client-install-{{% heronVersion %}}-ubuntu.sh` +* `heron-tools-install-{{% heronVersion %}}-ubuntu.sh` Optionally - You want need the following for the steps in the blog post -* `heron-api-install-0.14.2-ubuntu.sh` -* `heron-core-0.14.2-ubuntu.tar.gz` +* `heron-api-install-{{% heronVersion %}}-ubuntu.sh` +* `heron-core-{{% heronVersion %}}-ubuntu.tar.gz` ### Step 1.b: Execute the client and tools shell scripts diff --git a/website/content/docs/upgrade-storm-to-heron.md b/website/content/docs/upgrade-storm-to-heron.md index 7cc1691a5ea..2ed11d9978e 100644 --- a/website/content/docs/upgrade-storm-to-heron.md +++ b/website/content/docs/upgrade-storm-to-heron.md @@ -23,8 +23,8 @@ Once the script is downloaded, run it while setting the `--user` and `--maven` flags: ```bash -$ chmod +x heron-api-install-0.14.2-PLATFORM.sh -$ ./heron-api-install-0.14.2-PLATFORM.sh --user --maven +$ chmod +x heron-api-install-{{% heronVersion %}}-PLATFORM.sh +$ ./heron-api-install-{{% heronVersion %}}-PLATFORM.sh --user --maven Heron API installer ------------------- @@ -36,12 +36,12 @@ Heron API is now installed! See http://heronstreaming.io/docs/getting-started for how to use Heron. -heron.build.version : '0.14.2' -heron.build.time : Sat Aug 6 12:35:47 PDT 2016 -heron.build.timestamp : 1470512147000 +heron.build.version : '{{% heronVersion %}}' +heron.build.time : ... +heron.build.timestamp : ... heron.build.host : ${HOSTNAME} heron.build.user : ${USERNAME} -heron.build.git.revision : 26bb4096130a05f9799510bbce6c37a69a7342ef +heron.build.git.revision : ... heron.build.git.status : Clean ```