Skip to content

Commit

Permalink
Revert changes and downgrade openjdk11 to jre-11.0.9.1_1-alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Feb 26, 2021
1 parent 6f936f2 commit 5f55efb
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 51 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/debug.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,5 @@ jobs:
- name: Install Node dependencies
run: npm install

- run: free -m

- name: Run smoke tests
run: make smokeTests

- run: free -m
if: ${{ always() }}

- name: Troubleshoot
run: make smokeTestsLogs
if: ${{ always() }}
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ smokeTests:
&& npm test \
&& docker-compose -f "$(SMOKE_TESTS_DIR)/docker-compose.yaml" stop

smokeTestsLogs:
docker-compose --file "$(SMOKE_TESTS_DIR)/docker-compose.yaml" logs kroki

installJavaScriptDependencies:
npm i --prefix bpmn
npm run prestart --prefix bpmn
Expand Down
7 changes: 6 additions & 1 deletion server/ops/docker/jdk11-alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# /!\ WARNING /!\
# Do not upgrade to "adoptopenjdk/openjdk11:jre-11.0.10_9-alpine"
# This version is based on alpine 3.13.2 and will cause a SegFault!
# https://github.com/AdoptOpenJDK/openjdk-docker/issues/520

# based on alpine 3.12
FROM adoptopenjdk/openjdk11:jre-11.0.10_9-alpine
FROM adoptopenjdk/openjdk11:jre-11.0.9.1_1-alpine

COPY --from=kroki-builder-static-svgbob:latest /home/rust/.cargo/bin/svgbob /rust/bin/svgbob
COPY --from=kroki-builder-static-erd:latest /root/.local/bin/erd /haskell/bin/erd
Expand Down
10 changes: 0 additions & 10 deletions server/ops/docker/jdk11-alpine/test

This file was deleted.

12 changes: 7 additions & 5 deletions tests/smoke/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ version: "3"

services:
kroki:
image: "yuzutech/kroki:latest"
build:
context: ../../server/
dockerfile: ops/docker/jdk11-alpine/Dockerfile
depends_on:
- blockdiag
- mermaid
Expand All @@ -17,21 +19,21 @@ services:
- "8000:8000"

blockdiag:
image: "yuzutech/kroki-blockdiag:latest"
build: ../../blockdiag
ports:
- "8001:8001"

mermaid:
image: "yuzutech/kroki-mermaid:latest"
build: ../../mermaid
ports:
- "8002:8002"

bpmn:
image: "yuzutech/kroki-bpmn:latest"
build: ../../bpmn
ports:
- "8003:8003"

excalidraw:
image: "yuzutech/kroki-excalidraw:latest"
build: ../../excalidraw
ports:
- "8004:8004"

0 comments on commit 5f55efb

Please sign in to comment.