forked from apache/incubator-kie-kogito-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.feature
12 lines (10 loc) · 862 Bytes
/
common.feature
1
2
3
4
5
6
7
8
9
10
11
12
@quay.io/kiegroup/kogito-springboot-ubi8-s2i @quay.io/kiegroup/kogito-springboot-ubi8 @quay.io/kiegroup/kogito-quarkus-ubi8-s2i @quay.io/kiegroup/kogito-quarkus-ubi8 @quay.io/kiegroup/kogito-quarkus-jvm-ubi8 @quay.io/kiegroup/kiegroup/kogito-data-index
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=1001(kogito) groups=1001(kogito)
Scenario: Verify if usage help is correctly called
When container is started with command /home/kogito/kogito-app-launch.sh -h
Then container log should contain This is the