Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
orangejenny committed Sep 17, 2024
1 parent 92dc576 commit aa88861
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,10 @@ jobs:
- name: Make data directory if needed
run: |
mkdir -p /home/runner/work/couchdb-cluster-admin/couchdb-cluster-admin/data
- name: Docker are you there
run: |
docker ps
- name: Set up docker clusters
run: |
docker build -t couchdb-cluster - < docker-couchdb-cluster/Dockerfile
docker ps
docker run -d --name couchdb-cluster -p 15984:15984 -p 15986:15986 -p 25984:25984 -p 25986:25986 -p 35984:35984 -p 35986:35986 -p 45984:45984 -p 45986:45986 -t couchdb-cluster --with-admin-party-please -n 4
#-v $(pwd)/data:/usr/src/couchdb/dev/lib/ \
docker run -d --name couchdb-cluster -v $(pwd)/data:/usr/src/couchdb/dev/lib/ -p 15984:15984 -p 15986:15986 -p 25984:25984 -p 25986:25986 -p 35984:35984 -p 35986:35986 -p 45984:45984 -p 45986:45986 -t couchdb-cluster --with-admin-party-please -n 4
- name: Run tests
run: |
pytest tests.py
# - |
# while :
# do
# curl http://localhost:15984/${db_name} -sv 2>&1 | grep '^< HTTP/.* 200 OK' && break || continue
# sleep 1
# done

0 comments on commit aa88861

Please sign in to comment.