forked from apache/incubator-kie-kogito-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.feature
20 lines (18 loc) · 926 Bytes
/
common.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@quay.io/kiegroup/kogito-s2i-builder
@quay.io/kiegroup/kogito-runtime-jvm
@quay.io/kiegroup/kogito-runtime-native
@quay.io/kiegroup/kogito-data-index-ephemeral
@quay.io/kiegroup/kogito-data-index-postgresql
@quay.io/kiegroup/kogito-jit-runner
@quay.io/kiegroup/kogito-jobs-service-ephemeral
@quay.io/kiegroup/kogito-jobs-service-postgresql
@quay.io/kiegroup/kogito-management-console
@quay.io/kiegroup/kogito-task-console
@quay.io/kiegroup/kogito-swf-builder
@quay.io/kiegroup/kogito-base-builder
Feature: Common tests for Kogito images
Scenario: Verify if Kogito user is correctly configured
When container is started with command bash
Then run bash -c 'echo $USER' in container and check its output for kogito
And run sh -c 'echo $HOME' in container and check its output for /home/kogito
And run sh -c 'id' in container and check its output for uid=1001(kogito) gid=0(root) groups=0(root),1001(kogito)