forked from honeycombio/honeycomb-opentelemetry-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (30 loc) · 978 Bytes
/
Makefile
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
#: cleans up smoke test output
clean-smoke-tests:
rm -rf ./smoke-tests/collector/data.json
rm -rf ./smoke-tests/collector/data-results/*.json
rm -rf ./smoke-tests/report.*
smoke-tests/collector/data.json:
@echo ""
@echo "+++ Zhuzhing smoke test's Collector data.json"
@touch $@ && chmod o+w $@
smoke-docker: smoke-tests/collector/data.json
@echo ""
@echo "+++ Spinning up the smokers."
@echo ""
docker-compose up --build collector app-custom-with-collector-ts --detach
smoke-cypress: smoke-tests/collector/data.json
@echo ""
@echo "+++ Running Cypress in chrome browser."
@echo ""
npx cypress run --browser chrome
smoke-bats: smoke-tests/collector/data.json
@echo ""
@echo "+++ Running bats smoke tests."
@echo ""
cd smoke-tests && bats ./smoke-e2e.bats --report-formatter junit --output ./
smoke: smoke-docker smoke-cypress smoke-bats
unsmoke:
@echo ""
@echo "+++ Spinning down the smokers."
@echo ""
cd smoke-tests && docker-compose down --volumes