Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion integration_tests/fixtures/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:slim

RUN apt-get update && \
apt-get install -y \
curl netcat-openbsd && \
curl netcat-openbsd procps && \
rm -rf /var/lib/apt/lists/*

RUN npm install -g json http-server
Expand Down
3 changes: 2 additions & 1 deletion integration_tests/fixtures/app/sensor.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
#!/bin/bash -x

/bin/containerpilot -template
/bin/containerpilot -putmetric 'containerpilot_app_some_counter=42'
1 change: 1 addition & 0 deletions integration_tests/tests/test_telemetry/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ docker-compose up -d app

app="$(docker-compose ps -q app)"
IP=$(docker inspect -f '{{ .NetworkSettings.Networks.testtelemetry_default.IPAddress }}' "$app")
docker exec -it "$app" /bin/containerpilot -putmetric 'containerpilot_app_some_other_counter=42'

# This interface takes a while to converge
for _ in $(seq 0 20); do
Expand Down