...
1#!/bin/bash
2
3# This script is used by the CloudBuild ct_testbase docker image.
4# It's executed as the default command by that image in order to run a
5# full presubmit/integration test.
6
7./scripts/presubmit.sh ${PRESUBMIT_OPTS} || exit 1
8
9# Check re-generation didn't change anything
10status=$(git status --porcelain | egrep -v 'coverage|go\.(mod|sum)') || :
11if [[ -n ${status} ]]; then
12 echo "Regenerated files differ from checked-in versions: ${status}"
13 git status
14 git diff
15 #exit 1
16fi
17
18if [[ "${WITH_ETCD}" == "true" ]]; then
19 export ETCD_DIR="${GOPATH}/bin"
20fi
21
22./trillian/integration/integration_test.sh
23
24HAMMER_OPTS="--operations=1500" ./trillian/integration/ct_hammer_test.sh
View as plain text