Github user JonZeolla commented on a diff in the pull request: https://github.com/apache/metron/pull/1261#discussion_r236253505 --- Diff: metron-deployment/development/centos6_docker_build/build_and_run.sh --- @@ -0,0 +1,144 @@ +#!/usr/bin/env bash + +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +shopt -s nocasematch + +function help { + echo " " + echo "usage: ${0}" + echo " --skip-vagrant-up skip vagrant up" + echo " --force-docker-build force build docker machine" + echo " --skip-tags='tag,tag2,tag3' the ansible skip tags" + echo " -h/--help Usage information." + echo " " + echo "example: to skip vagrant up and force docker build with two tags" + echo " build_and_run.sh -skip-vagrant-up --force-docker-build --skip-tags='solr,sensors'" --- End diff -- `s/-skip-vagrant-up/--skip-vagrant-up/`
---