-
Notifications
You must be signed in to change notification settings - Fork 58
/
openshift.feature
19 lines (17 loc) · 967 Bytes
/
openshift.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Feature: Tests for all openshift images
@redhat-openjdk-18 @redhat-openjdk-11
Scenario: Check that product labels are correctly set
# We don't set 'release' or 'architecture' on CI builds, but it's set on OSBS builds
# Since we base on an image which has it already set, it's kind of meaningless
# to test it, but it's left here for usage with OSBS-built images.
# These are also not set on community images, so we cannot test both flavors with the same set.
Given image is built
Then the image should contain label release
And the image should contain label architecture with value x86_64
@redhat-openjdk-18 @redhat-openjdk-11
@centos/openjdk-18-centos7
Scenario: Check that common labels are correctly set
Given image is built
Then the image should contain label version
And the image should contain label name
And the image should contain label io.openshift.s2i.scripts-url with value image:///usr/local/s2i