Skip to content

Commit

Permalink
maint: call docker compose for containers (#216)
Browse files Browse the repository at this point in the history
* call docker compose for containers

* remove griffe pin x2
  • Loading branch information
isabelizimm authored Aug 27, 2024
1 parent 857298d commit eeab40e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install -e .[docs]
python -m pip install griffe==0.32.3
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: build docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
echo {{ github.sha }}
- name: run Connect
run: |
docker-compose up --build -d
docker compose up --build -d
pip freeze > requirements.txt
make dev
cat requirements.txt
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: run Connect
run: |
docker-compose up --build -d
docker compose up --build -d
make dev
env:
RSC_LICENSE: ${{ secrets.RSC_LICENSE }}
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- name: run Connect
run: |
docker-compose up --build -d
docker compose up --build -d
make dev
env:
RSC_LICENSE: ${{ secrets.RSC_LICENSE }}
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
- name: run Connect
run: |
docker-compose up --build -d
docker compose up --build -d
make dev
env:
RSC_LICENSE: ${{ secrets.RSC_LICENSE }}
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
- name: run Connect
run: |
docker-compose up --build -d
docker compose up --build -d
make dev
env:
RSC_LICENSE: ${{ secrets.RSC_LICENSE }}
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ develop: clean-pyc
dev: vetiver/tests/rsconnect_api_keys.json

dev-start:
docker-compose up -d
docker-compose exec -T rsconnect bash < script/setup-rsconnect/add-users.sh
docker compose up -d
docker compose exec -T rsconnect bash < script/setup-rsconnect/add-users.sh
# curl fails with error 52 without a short sleep....
sleep 5
curl -s --retry 10 --retry-connrefused http://localhost:3939

dev-stop:
docker-compose down
docker compose down
rm -f $(RSC_API_KEYS)

typecheck:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ dev =

docs =
quartodoc
griffe==0.32.3
griffe

statsmodels =
statsmodels
Expand Down

0 comments on commit eeab40e

Please sign in to comment.