IMAGE_TAG=docker-registry.zooxlabs.com/pd_canary:test

sudo docker build --tag $IMAGE_TAG .; sudo docker run \
-e MODE="pipedream" \
-e PIPEDREAM_API_URL="https://pipedream-scheduling.zooxlabs.com/v1/pipeline" \
-e ACCOUNTING_API_URL="https://pipedream-accounting.zooxlabs.com/v0/pipelines" \
-e ELASTICSEARCH_API_URL="https://search-metrics-production-c65mdhdibmbmkl4pfiqsj5yhmq.us-west-2.es.amazonaws.com" \
-e PIPELINE_NAME="canary_pd_test" \
-e CANARY_TYPE="basic" \
-e PIPELINE_PARTITION="canary" \
-e PIPELINE_TIMEOUT=300 \
-e CANARY_TIMEOUT=300 \
-e CHECK_INTERVAL=10 \
-e LOG_LEVEL=DEBUG \
-ti $IMAGE_TAG \
/usr/bin/python3 /opt/zoox/pd_canary.py

