camunda / camunda

Distributed Workflow Engine for Microservices Orchestration
https://camunda.com/platform/
3.09k stars 562 forks source link

feat: create camunda.Dockerfile #19495

Open houssain-barouni opened 1 week ago

houssain-barouni commented 1 week ago

Description

create camunda.Dockerfile that creates docker images for C8 single application camunda.Dockerfile is mainly inspired from Dockerfile used to build Zeebe docker images camunda.Dockerfile uses ubuntu base image

Coming next:

Related issues

relates to #18670

github-actions[bot] commented 1 week ago

Tasklist Test Results

146 files  ±0  146 suites  ±0   1h 39m 45s :stopwatch: + 5m 32s 565 tests ±0  560 :white_check_mark: ±0  5 :zzz: ±0  0 :x: ±0  563 runs   - 2  558 :white_check_mark:  - 2  5 :zzz: ±0  0 :x: ±0 

Results for commit 4f5510bf. ± Comparison against base commit deb78dc0.

This pull request removes 13 and adds 13 tests. Note that renamed tests count towards both. ``` io.camunda.tasklist.webapp.api.rest.v1.controllers.external.ProcessExternalControllerTest ‑ startProcessWithEmbeddedForm(HttpStatus, String, ProcessEntity, ProcessInstanceDTO)[1] expectedHttpStatus=200 OK, bpmnProcessId=StartProcessByForm, processEntity=TenantAwareTasklistEntity[id='1', tenantId=''], providedProcessInstanceDTO=io.camunda.tasklist.webapp.graphql.entity.ProcessInstanceDTO@34e99dd4 io.camunda.tasklist.webapp.api.rest.v1.controllers.external.ProcessExternalControllerTest ‑ startProcessWithLinkedForm(HttpStatus, String, ProcessEntity, ProcessInstanceDTO)[1] expectedHttpStatus=200 OK, bpmnProcessId=StartProcessByForm, processEntity=TenantAwareTasklistEntity[id='1', tenantId=''], providedProcessInstanceDTO=io.camunda.tasklist.webapp.graphql.entity.ProcessInstanceDTO@dca69091 io.camunda.tasklist.webapp.security.sso.AuthenticationIT ‑ testLoginAndUsageOfGraphQlApi(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationIT$$Lambda/0x00007a84a9288690@50bb025d io.camunda.tasklist.webapp.security.sso.AuthenticationIT ‑ testLoginAndUsageOfRestApi(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationIT$$Lambda/0x00007a84a9288690@50bb025d io.camunda.tasklist.webapp.security.sso.AuthenticationIT ‑ testLoginFailedWithNoPermissions(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationIT$$Lambda/0x00007a84a9288690@50bb025d io.camunda.tasklist.webapp.security.sso.AuthenticationIT ‑ testLoginFailedWithNoReadPermissions(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationIT$$Lambda/0x00007a84a9288690@50bb025d io.camunda.tasklist.webapp.security.sso.AuthenticationIT ‑ testLoginSucceedWithNoWritePermissions(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationIT$$Lambda/0x00007a84a9288690@50bb025d io.camunda.tasklist.webapp.security.sso.AuthenticationIT ‑ testLoginSuccess(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationIT$$Lambda/0x00007a84a9288690@50bb025d io.camunda.tasklist.webapp.security.sso.AuthenticationIT ‑ testLogout(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationIT$$Lambda/0x00007a84a9288690@50bb025d io.camunda.tasklist.webapp.security.sso.AuthenticationWithPersistentSessionsIT ‑ testLoginFailedWithNoPermissions(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationWithPersistentSessionsIT$$Lambda/0x00007b9581342820@79cc596b … ``` ``` io.camunda.tasklist.webapp.api.rest.v1.controllers.external.ProcessExternalControllerTest ‑ startProcessWithEmbeddedForm(HttpStatus, String, ProcessEntity, ProcessInstanceDTO)[1] expectedHttpStatus=200 OK, bpmnProcessId=StartProcessByForm, processEntity=TenantAwareTasklistEntity[id='1', tenantId=''], providedProcessInstanceDTO=io.camunda.tasklist.webapp.graphql.entity.ProcessInstanceDTO@cf05339f io.camunda.tasklist.webapp.api.rest.v1.controllers.external.ProcessExternalControllerTest ‑ startProcessWithLinkedForm(HttpStatus, String, ProcessEntity, ProcessInstanceDTO)[1] expectedHttpStatus=200 OK, bpmnProcessId=StartProcessByForm, processEntity=TenantAwareTasklistEntity[id='1', tenantId=''], providedProcessInstanceDTO=io.camunda.tasklist.webapp.graphql.entity.ProcessInstanceDTO@43371d39 io.camunda.tasklist.webapp.security.sso.AuthenticationIT ‑ testLoginAndUsageOfGraphQlApi(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationIT$$Lambda/0x00007e6ed529dc68@7e2a4f3c io.camunda.tasklist.webapp.security.sso.AuthenticationIT ‑ testLoginAndUsageOfRestApi(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationIT$$Lambda/0x00007e6ed529dc68@7e2a4f3c io.camunda.tasklist.webapp.security.sso.AuthenticationIT ‑ testLoginFailedWithNoPermissions(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationIT$$Lambda/0x00007e6ed529dc68@7e2a4f3c io.camunda.tasklist.webapp.security.sso.AuthenticationIT ‑ testLoginFailedWithNoReadPermissions(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationIT$$Lambda/0x00007e6ed529dc68@7e2a4f3c io.camunda.tasklist.webapp.security.sso.AuthenticationIT ‑ testLoginSucceedWithNoWritePermissions(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationIT$$Lambda/0x00007e6ed529dc68@7e2a4f3c io.camunda.tasklist.webapp.security.sso.AuthenticationIT ‑ testLoginSuccess(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationIT$$Lambda/0x00007e6ed529dc68@7e2a4f3c io.camunda.tasklist.webapp.security.sso.AuthenticationIT ‑ testLogout(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationIT$$Lambda/0x00007e6ed529dc68@7e2a4f3c io.camunda.tasklist.webapp.security.sso.AuthenticationWithPersistentSessionsIT ‑ testLoginFailedWithNoPermissions(BiFunction)[1] orgExtractor=io.camunda.tasklist.webapp.security.sso.AuthenticationWithPersistentSessionsIT$$Lambda/0x0000783e31325380@571b8374 … ```

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 week ago

Operate Opensearch ITs Results

182 tests   182 :white_check_mark:  1m 14s :stopwatch:  19 suites    0 :zzz:  19 files      0 :x:

Results for commit 4f5510bf.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 week ago

Operate Unit Tests Results

308 tests   307 :white_check_mark:  6m 41s :stopwatch:  51 suites    1 :zzz:  51 files      0 :x:

Results for commit 4f5510bf.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 week ago

Operate Integration Tests Results

535 tests   533 :white_check_mark:  8m 15s :stopwatch:  89 suites    2 :zzz:  89 files      0 :x:

Results for commit 4f5510bf.

:recycle: This comment has been updated with latest results.

houssain-barouni commented 1 day ago

@romansmirnov I just wanted to double check these docker labels

LABEL org.opencontainers.image.authors="zeebe@camunda.com" => any other email to use here? LABEL org.opencontainers.image.url="https://zeebe.io" => https://camunda.com LABEL org.opencontainers.image.documentation="https://docs.camunda.io/docs/self-managed/zeebe-deployment/" => we need to create a new page in the docs for single app deployment LABEL org.opencontainers.image.source="https://github.com/camunda/camunda"LABEL org.opencontainers.image.vendor="Camunda Services GmbH"LABEL org.opencontainers.image.licenses="(Apache-2.0 AND LicenseRef-Camunda-License-1.0)"LABEL org.opencontainers.image.title="Camunda 8" => ❓ LABEL org.opencontainers.image.description="Workflow engine for microservice orchestration" => ❓ what about Camunda: the universal process orchestrator ? LABEL io.openshift.tags="bpmn,orchestration,workflow" => ✅ LABEL io.k8s.description="Workflow engine for microservice orchestration" => same as org.opencontainers.image.description

For the ones below, we can keep the same values as Zeebe's images?

LABEL io.openshift.non-scalable="false"
LABEL io.openshift.min-memory="512Mi"
LABEL io.openshift.min-cpu="1"