File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
17
* #1517 OP prompts for logout when no OP session
18
18
* #1512 client_secret not marked sensitive
19
19
* #1521 Fix 0012 migration loading access token table into memory
20
+ * #1584 Fix IDP container in docker compose environment could not find templates and static files.
20
21
<!--
21
22
### Security
22
23
-->
Original file line number Diff line number Diff line change @@ -57,7 +57,10 @@ ENV DATABASE_URL="sqlite:////data/db.sqlite3"
57
57
COPY --from=builder /opt/venv /opt/venv
58
58
ENV PATH="/opt/venv/bin:$PATH"
59
59
COPY --from=builder /code /code
60
- RUN mkdir -p /code/tests/app/idp/static /code/tests/app/idp/templates
60
+ RUN mkdir -p /data/static /data/templates
61
+ COPY --from=builder /code/tests/app/idp/static /data/static
62
+ COPY --from=builder /code/tests/app/idp/templates /data/templates
63
+
61
64
WORKDIR /code/tests/app/idp
62
65
RUN apt-get update && apt-get install -y \
63
66
libpq5 \
Original file line number Diff line number Diff line change @@ -325,6 +325,28 @@ Reviewing and Merging PRs
325
325
326
326
PRs that are incorrectly merged may (reluctantly) be reverted by the Project Leads.
327
327
328
+ End to End Testing
329
+ ------------------
330
+
331
+ There is a demonstration Identity Provider (IDP) and Relying Party (RP) to allow for
332
+ end to end testing. They can be launched directly by following the instructions in
333
+ /test/apps/README.md or via docker compose. To launch via docker compose
334
+
335
+ .. code-block :: bash
336
+
337
+ # build the images with the current code
338
+ docker compose build
339
+ # wipe any existing services and volumes
340
+ docker compose rm -v
341
+ # start the services
342
+ docker compose up -d
343
+
344
+ Please verify the RP behaves as expected by logging in, reloading, and logging out.
345
+
346
+ open http://localhost:5173 in your browser and login with the following credentials:
347
+
348
+ username: superuser
349
+ password: password
328
350
329
351
Publishing a Release
330
352
--------------------
You can’t perform that action at this time.
0 commit comments