This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
162 lines (154 loc) · 3.94 KB
/
docker-compose.yml
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
##
## SPDX-FileCopyrightText: 2021 Splunk, Inc. <[email protected]>
## SPDX-License-Identifier: LicenseRef-Splunk-8-2021
##
##
version: "3.7"
services:
test:
environment:
- SAUCE_USERNAME=${SAUCE_USERNAME}
- SAUCE_PASSWORD=${SAUCE_PASSWORD}
- TEST_SET=${TEST_SET}
- TEST_TYPE=${TEST_TYPE}
- JOB_NAME=${JOB_NAME}
- SAUCE_TUNNEL_ID=${SAUCE_IDENTIFIER}
- SAUCE_TUNNEL_PARENT=none
- UI_TEST_HEADLESS=${UI_TEST_HEADLESS}
- RERUN_COUNT=${RERUN_COUNT}
- TEST_BROWSER=${TEST_BROWSER}
- IMAGE_TAG=${IMAGE_TAG}
- TEST_DEBUG=${TEST_DEBUG}
env_file:
- test_credentials.env
build:
context: .
dockerfile: Dockerfile-tests
args:
IMAGE_TAG: ${IMAGE_TAG}
links:
- splunk
- sc4s
- http_proxy
- socks5
volumes:
- results:/home/circleci/work
sc4s:
image: ghcr.io/splunk/splunk-connect-for-syslog/container2:${SC4S_VERSION}
hostname: sc4s
#When this is enabled test_common will fail
# command: -det
ports:
- "514"
- "601"
- "514/udp"
- "5000-5050"
- "5000-5050/udp"
- "6514"
stdin_open: true
tty: true
environment:
- SPLUNK_HEC_URL=https://splunk:8088
- SPLUNK_HEC_TOKEN=${SPLUNK_HEC_TOKEN}
- SC4S_SOURCE_TLS_ENABLE=no
- SC4S_DEST_SPLUNK_HEC_TLS_VERIFY=no
- SC4S_LISTEN_JUNIPER_NETSCREEN_TCP_PORT=5000
- SC4S_LISTEN_CISCO_ASA_TCP_PORT=5001
- SC4S_LISTEN_CISCO_IOS_TCP_PORT=5002
- SC4S_LISTEN_CISCO_MERAKI_TCP_PORT=5003
- SC4S_LISTEN_JUNIPER_IDP_TCP_PORT=5004
- SC4S_LISTEN_PALOALTO_PANOS_TCP_PORT=5005
- SC4S_LISTEN_PFSENSE_TCP_PORT=5006
- SC4S_LISTEN_CISCO_ASA_UDP_PORT=5001
- SC4S_LISTEN_CISCO_IOS_UDP_PORT=5002
- SC4S_LISTEN_CISCO_MERAKI_UDP_PORT=5003
- SC4S_LISTEN_JUNIPER_IDP_UDP_PORT=5004
- SC4S_LISTEN_PALOALTO_PANOS_UDP_PORT=5005
- SC4S_LISTEN_PFSENSE_UDP_PORT=5006
- SC4S_ARCHIVE_GLOBAL=no
- SC4S_LISTEN_CHECKPOINT_SPLUNK_NOISE_CONTROL=yes
- TEST_SC4S_ACTIVATE_EXAMPLES=yes
socks5:
image: serjs/go-socks5-proxy:latest
hostname: socks5
ports:
- "1080"
stdin_open: true
tty: true
links:
- splunk
environment:
- PROXY_USER=splunk_socks5
- PROXY_PASSWORD=splunk_socks5
splunk:
build:
context: .
dockerfile: Dockerfile-splunk-local
args:
SPLUNK_APP_ID: ${SPLUNK_APP_ID}
SPLUNK_APP_PACKAGE: ${SPLUNK_APP_PACKAGE}
SPLUNK_VERSION: ${SPLUNK_VERSION}
hostname: splunk
ports:
- "8000"
- "8088"
- "8089"
- "9997"
environment:
- SPLUNK_PASSWORD=Chang3d!
- SPLUNK_START_ARGS=--accept-license
- SPLUNK_HEC_TOKEN=${SPLUNK_HEC_TOKEN}
- TEST_SET=${TEST_SET}
env_file:
- test_credentials.env
volumes:
- backend_results:/home/circleci/work_backend
links:
- sc4s
sauceconnect:
build:
context: .
dockerfile: Dockerfile-saucelabs
environment:
- SAUCE_USERNAME=${SAUCE_USERNAME}
- SAUCE_PASSWORD=${SAUCE_PASSWORD}
- SAUCE_TUNNEL_ID=${SAUCE_IDENTIFIER}
- SAUCE_TUNNEL_PARENT=none
hostname: sauceconnect
ports:
- "4445"
http_proxy:
build:
context: .
dockerfile: Dockerfile-http_proxy
hostname: http_proxy
ports:
- "3128"
stdin_open: true
environment:
- PROXY_USERNAME=user1
- PROXY_PASSWORD=123456
tty: true
uf:
build:
context: .
dockerfile: Dockerfile-uf
args:
SPLUNK_APP_ID: ${SPLUNK_APP_ID}
SPLUNK_APP_PACKAGE: ${SPLUNK_APP_PACKAGE}
SPLUNK_VERSION: ${SPLUNK_VERSION}
hostname: uf
ports:
- "8089"
links:
- splunk
environment:
- SPLUNK_PASSWORD=Chang3d!
- SPLUNK_START_ARGS=--accept-license
volumes:
- results:/home/circleci/work
volumes:
results:
external: false
backend_results:
external: false