fuel-library/utils/jenkins/tasks_run_tests.sh
Kamil Sambor 8daddeea0b Use validator lib to validate deployment tasks
* add new requirements file with validator, we
  need this version to correctly validate tasks per release
  in any need when we change tasks schema we need to update also
  tasks validator version to newer if we want to use it for this
  release

Change-Id: Ib413fa8dcc33967c73ded3814f0857de975ecd4d
2015-03-25 05:49:49 +00:00

26 lines
914 B
Bash
Executable File

#!/bin/bash
# Copyright 2015 Mirantis, Inc.
#
# Licensed 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.
set -eu
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
WORK_DIR="${DIR}/../../deployment"
type tasks-validator >/dev/null 2>&1 || { echo >&2 "fuel-tasks-validator is required to be installed to run tests."; exit 1; }
echo "Starting tasks-validator..."
tasks-validator -d $WORK_DIR