From 151e5da755ed95fb6be4394cda4d2f6f908a62fb Mon Sep 17 00:00:00 2001 From: Vincent Fiduccia Date: Tue, 8 May 2018 11:53:24 -0700 Subject: [PATCH] Build script, search index, tags --- .../en/installation/server-tags/_index.md | 6 ++--- gulpfile.babel.js | 6 ++--- scripts/dev | 25 +++++++++++++++---- 3 files changed, 26 insertions(+), 11 deletions(-) diff --git a/content/rancher/v2.x/en/installation/server-tags/_index.md b/content/rancher/v2.x/en/installation/server-tags/_index.md index 37383ad1129..19ee8ed3362 100644 --- a/content/rancher/v2.x/en/installation/server-tags/_index.md +++ b/content/rancher/v2.x/en/installation/server-tags/_index.md @@ -9,8 +9,8 @@ weight: 200 The images can be found on [DockerHub](https://hub.docker.com/r/rancher/rancher/tags/). -- `rancher/rancher:latest`: Our latest development builds. These builds are validated through our CI automation framework. These releases aren't for production environments. +- `rancher/rancher:latest`: Our latest development release. These builds are validated through our CI automation framework. These releases are not recommended for production environments. - + -Please don't use the `master` tag or any release with a `rc{n}` suffix. These builds are meant for the {{< product >}} team to test out builds. +Any tag with a `-rc` or other suffix is meant for the {{< product >}} testing team to validate. You should not use these tags, and upgrading from or to a `rc` build is not supported. diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 210b2bb96b0..b412734efdd 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -34,19 +34,19 @@ gulp.task('dev', ['build-dev'], () => { }); gulp.task('build', (cb) => { - runSequence('pub-delete', 'sass', 'build:vendor', 'build:app', 'fonts', 'img', 'hugo' /*, 'hugo-search-index'*/, () => { + runSequence('pub-delete', 'sass', 'build:vendor', 'build:app', 'fonts', 'img', 'hugo' , 'hugo-search-index', () => { cb(); }); }); gulp.task('build-staging', (cb) => { - runSequence('pub-delete', 'sass', 'build:vendor', 'build:app', 'fonts', 'img', 'hugo-staging' /*, 'hugo-search-index'*/, () => { + runSequence('pub-delete', 'sass', 'build:vendor', 'build:app', 'fonts', 'img', 'hugo-staging' , 'hugo-search-index', () => { cb(); }); }); gulp.task('build-dev', (cb) => { - runSequence('pub-delete', 'sass', 'build:vendor', 'build:app', 'fonts', 'img', 'hugo-dev' /*, 'hugo-search-index'*/, () => { + runSequence('pub-delete', 'sass', 'build:vendor', 'build:app', 'fonts', 'img', 'hugo-dev' , 'hugo-search-index', () => { cb(); }); }); diff --git a/scripts/dev b/scripts/dev index 62d0a96d660..6b0dc7f2e20 100755 --- a/scripts/dev +++ b/scripts/dev @@ -1,7 +1,11 @@ #!/bin/bash +set -e PORT=9001 +IMAGE=rancher/docs +TAG=dev THEME= +BUILD= # cd to app root CWD=$(dirname $0) @@ -16,8 +20,9 @@ print_help() cat 1>&2 <