-
Notifications
You must be signed in to change notification settings - Fork 2
/
test_integration.sh
executable file
·64 lines (48 loc) · 1.54 KB
/
test_integration.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash
pushd ./test/code/lookup/quicktest_local_fs
./test_one_run.sh
./test_one_run_yaml.sh
./test_two_runs.sh
./test_one_run_webapi.sh
popd
pushd ./test/code/py_calc
./test_one_run_json.sh
./test_one_run_yaml.sh
popd
pushd ./test/code/tag_and_denormalize
./test_one_run.sh
./test_two_runs.sh
popd
pushd ./test/code/portfolio/quicktest_local_fs
./test_one_run.sh
popd
pushd ./test/code/proto_file_reader_creator
./test_one_run.sh
popd
pushd ./test/code/fannie_mae/quicktest_local_fs
# This will take a few min
./test_one_run.sh
popd
# https
pushd ./test/code/tag_and_denormalize
./test_one_run_input_https.sh
popd
# s3
# The section below requires 3 things.
# 1. Capillaries binaries (daemon and webapi) need AWS credentials to access S3 artifacts
# export AWS_ACCESS_KEY_ID=...
# export AWS_SECRET_ACCESS_KEY=...
# export AWS_DEFAULT_REGION=us-east-1
# Make sure you set those either:
# - before running docker containers with webapi and daemon, so docker-compose.yml will pass those variables to the binaries
# - before executing webapi/daemon from the cmd line or from the debugger
# 2. The commands below need same AWS credentials to access S3 artifacts, so set those variables before running this script.
# 3. The commands below need to know the location of S3 artifacts, so, before running this script, specify something like
# export CAPILLARIES_AWS_TESTBUCKET=capillaries-testbucket
pushd ./test/code/lookup/quicktest_s3
./test_one_run_local.sh
popd
pushd ./test/code/fannie_mae/quicktest_s3
# This will take a few min
./test_one_run_local.sh
popd