project-config/jenkins/scripts/run-pylint.sh
Sachi King 0e6a1fcd7b Add non-voting constraints jobs to cinder
Adds all relevent -constraints jobs to cinder's check queue as non-voting

Depends-On: I7afd52517750b82dcac94b8aae68dc0e94d00e54
Implements Blueprint: Requirements-Management

Change-Id: Iaa2a60edcdc6a726e2328f9a18d2fafe3c9fd1d5
2015-11-20 15:10:21 +11:00

24 lines
746 B
Bash
Executable File

#!/bin/bash -xe
# Copyright 2013 OpenStack Foundation
#
# 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.
venv=${1:-pylint}
export UPPER_CONSTRAINTS_FILE=$(pwd)/upper-constraints.txt
set -o pipefail
tox -v -e$venv | tee pylint.txt
set +o pipefail