summaryrefslogtreecommitdiffstats
path: root/etc/patches/functest/disable-api-validation/apply.sh
blob: 09ff912e6cfa2852988a63918b8b6302d09303ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
##############################################################################
# Copyright (c) 2019 opnfv.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

set -e
set -u

# without setting the user, git does not allow to create a commit
git config --global user.email "ovp-support@lfnetworking.org"
git config --global user.name "Dovetail"

cd /src/tempest
git am $(dirname $0)/0001-Allow-additional-properties-in-API-responses.patch

exit 0