Skip to content
Closed
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
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ jobs:
python -m pip install '.[test]'
- name: Run RStudio Connect
run: |
docker compose up --build -d
pip freeze > requirements.txt
make dev
env:
Expand Down
11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,17 @@ promote-docs-in-s3:

RSC_API_KEYS=vetiver-testing/rsconnect_api_keys.json

# Export RSC_LICENSE so it's available to docker compose
export RSC_LICENSE

dev:
docker compose up -d
# Docker compose needs a little time to start up
sleep 4
@echo "Waiting for RStudio Connect to be ready..."
@until docker compose exec -T rsconnect curl -sf http://localhost:3939/__ping__ > /dev/null 2>&1; do \
echo "Connect not ready yet, waiting..."; \
sleep 5; \
done
@echo "Connect is ready!"
docker compose exec -T rsconnect bash < vetiver-testing/setup-rsconnect/add-users.sh
python vetiver-testing/setup-rsconnect/dump_api_keys.py $(RSC_API_KEYS)

Expand Down
Loading