Skip to content

Commit a449b51

Browse files
committed
testing
1 parent 1a1ae59 commit a449b51

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ jobs:
156156
python -m pip install '.[test]'
157157
- name: Run RStudio Connect
158158
run: |
159-
docker compose up --build -d
160159
pip freeze > requirements.txt
161160
make dev
162161
env:

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,7 @@ promote-docs-in-s3:
156156
RSC_API_KEYS=vetiver-testing/rsconnect_api_keys.json
157157

158158
dev:
159-
docker compose up -d
160-
# Docker compose needs a little time to start up
161-
sleep 4
159+
docker compose up -d --wait
162160
docker compose exec -T rsconnect bash < vetiver-testing/setup-rsconnect/add-users.sh
163161
python vetiver-testing/setup-rsconnect/dump_api_keys.py $(RSC_API_KEYS)
164162

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@ services:
1515
environment:
1616
RSTUDIO_CONNECT_HASTE: "enabled"
1717
RSC_LICENSE: ${RSC_LICENSE}
18+
healthcheck:
19+
test: ["CMD", "curl", "-f", "http://localhost:3939/__health__"]
20+
interval: 10s
21+
timeout: 5s
22+
retries: 90
23+
start_period: 120s

0 commit comments

Comments
 (0)