Skip to content

Commit 8467325

Browse files
authored
Pin oteapi docker image to pre-pydantic v2 (#188)
1 parent 38acbda commit 8467325

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/ci_tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ jobs:
136136
.github/utils/wait_for_it.sh localhost:${OTEAPI_PORT} -t 240
137137
sleep 5
138138
env:
139-
DOCKER_OTEAPI_VERSION: latest
139+
# Pin to 1.20231108.329 until #163 has been closed.
140+
# Related issue: https://github.com/SINTEF/oteapi-optimade/issues/187
141+
DOCKER_OTEAPI_VERSION: '1.20231108.329'
140142

141143
- name: Run end-2-end tests
142144
run: python .github/utils/end2end_test.py

docs/examples/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,17 @@ docker run \
8080
--env OTEAPI_INCLUDE_REDISADMIN=False \
8181
--env OTEAPI_EXPOSE_SECRETS=True \
8282
--env OTEAPI_PLUGIN_PACKAGES=oteapi-optimade \
83-
ghcr.io/emmc-asbl/oteapi:latest
83+
ghcr.io/emmc-asbl/oteapi:1.20231108.329
8484
```
8585

8686
!!! note
8787
To use the `/triples` endpoint, an AllegroGraph triplestore needs to be running.
8888
For more information see the [OTEAPI Services README](https://github.com/EMMC-ASBL/oteapi-services#run-a-triplestore-allegrograph) to see how to set this up and run it.
8989

90+
!!! important
91+
Pinning to version '1.20231108.329' of the OTEAPI image is important, as the latest version is currently not compatible with this plugin.
92+
To follow this issue, please see [GitHub issue #187](https://github.com/SINTEF/oteapi-optimade/issues/187) and [GitHub issue #163](https://github.com/SINTEF/oteapi-optimade/issues/163).
93+
9094
#### Using Docker Compose
9195

9296
Download the Docker Compose file from the [OTEAPI Services repository](https://github.com/EMMC-ASBL/oteapi-services/blob/master/docker-compose.yml):

0 commit comments

Comments
 (0)