summaryrefslogtreecommitdiffstats
path: root/etc/patches/functest/disable-api-validation/apply.sh
blob: fefa2555f7d82905a84d683768692c47c9499ad2 (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 "verified@opnfv.org"
git config --global user.name "Dovetail"

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

exit 0