Skip to content

Commit 95a7667

Browse files
committed
chore(deprecation): update compose commands to v2
* Linked to deprecation of Docker Compose v1 in Github Actions: actions/runner-images#9692 * Fixes invenio-accounts to 5.1.0. Co-Authored-by: Pascal Repond <[email protected]>
1 parent fb75d39 commit 95a7667

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/continuous-integration-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
node-version: '16'
2222

2323
- name: Docker compose up
24-
run: docker-compose up -d
24+
run: docker compose up -d
2525

2626
- name: Set up Python 3.9
2727
uses: actions/setup-python@v5

docker/wait-for-services.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ check_ready() {
3030
fi
3131
done
3232
}
33-
_db_check(){ docker-compose exec --user postgres db bash -c "pg_isready" &>/dev/null; }
33+
_db_check(){ docker compose exec --user postgres db bash -c "pg_isready" &>/dev/null; }
3434
check_ready "postgres" _db_check
3535

3636
_es_check(){ [[ $(curl -sL -w "%{http_code}\\n" "http://localhost:9200/" -o /dev/null)==200 ]]; }
3737
check_ready "Elasticsearch" _es_check
3838

39-
_redis_check(){ [[ $(docker-compose exec cache bash -c "redis-cli ping")=="PONG" ]]; }
39+
_redis_check(){ [[ $(docker compose exec cache bash -c "redis-cli ping")=="PONG" ]]; }
4040
check_ready "redis" _redis_check
4141

42-
_rabbit_check(){ docker-compose exec mq bash -c "rabbitmqctl status" &>/dev/null; }
42+
_rabbit_check(){ docker compose exec mq bash -c "rabbitmqctl status" &>/dev/null; }
4343
check_ready "RabbitMQ" _rabbit_check

poetry.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ invenio-rest = ">=1.3.0,<2.0.0"
5151
invenio-theme = ">3.0.0,<4.0.0"
5252
# Invenio auth bundle
5353
invenio-access = ">=2.0.0,<3.0.0"
54-
invenio-accounts = ">=5.0.0,<6.0.0"
54+
invenio-accounts = "<5.1.0"
5555
invenio-oauth2server = ">=2.3.0,<3.0.0"
5656
invenio-oauthclient = ">=4.0.0,<5.0.0"
5757
# Invenio metadata bundle

0 commit comments

Comments
 (0)