29 lines
758 B
Makefile
29 lines
758 B
Makefile
.SILENT:
|
|
|
|
make_and_deploy:
|
|
docker build --tag aptly-resource .
|
|
docker tag aptly-resource:latest docker.datentonne.net/concourse/aptly-resource:latest
|
|
docker push docker.datentonne.net/concourse/aptly-resource:latest
|
|
|
|
test_check:
|
|
HTTPS_PROXY="http://localhost:8080" \
|
|
CURL_CA_BUNDLE="${HOME}/.mitmproxy/mitmproxy-ca-cert.pem" \
|
|
./check_test.py
|
|
|
|
test_in:
|
|
HTTPS_PROXY="http://localhost:8080" \
|
|
CURL_CA_BUNDLE="${HOME}/.mitmproxy/mitmproxy-ca-cert.pem" \
|
|
./in_test.py
|
|
|
|
test_out:
|
|
HTTPS_PROXY="http://localhost:8080" \
|
|
CURL_CA_BUNDLE="${HOME}/.mitmproxy/mitmproxy-ca-cert.pem" \
|
|
./out_test.py
|
|
|
|
proxy:
|
|
mitmproxy \
|
|
--set keep_host_header=true \
|
|
--set console_flowlist_layout=list \
|
|
--set console_mouse=false \
|
|
--set view_order_reversed=true
|