Skip to content

Commit

Permalink
[OPENJDK-2414] define name and version labels
Browse files Browse the repository at this point in the history
These shadow the values from our base image which are otherwise
misleading, and result in the test "Check that common labels are
correctly set" passing.

Signed-off-by: Jonathan Dowland <[email protected]>
  • Loading branch information
jmtd committed Nov 30, 2023
1 parent b697b7d commit 168022e
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ubi9-openjdk-11-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ labels:
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
- name: "org.opencontainers.image.documentation"
value: *docs
- name: "name"
value: *name
- name: "version"
value: *version

envs:
- name: "JBOSS_IMAGE_NAME"
Expand Down
4 changes: 4 additions & 0 deletions ubi9-openjdk-11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ labels:
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
- name: "org.opencontainers.image.documentation"
value: *docs
- name: "name"
value: *name
- name: "version"
value: *version

envs:
- name: PATH
Expand Down
4 changes: 4 additions & 0 deletions ubi9-openjdk-17-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ labels:
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
- name: "org.opencontainers.image.documentation"
value: *docs
- name: "name"
value: *name
- name: "version"
value: *version

envs:
- name: "JBOSS_IMAGE_NAME"
Expand Down
4 changes: 4 additions & 0 deletions ubi9-openjdk-17.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ labels:
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
- name: "org.opencontainers.image.documentation"
value: *docs
- name: "name"
value: *name
- name: "version"
value: *version

envs:
- name: PATH
Expand Down
4 changes: 4 additions & 0 deletions ubi9-openjdk-21-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ labels:
value: "https://access.redhat.com/documentation/en-us/red_hat_jboss_middleware_for_openshift/3/html/red_hat_java_s2i_for_openshift/"
- name: "com.redhat.license_terms"
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
- name: "name"
value: *name
- name: "version"
value: *version

envs:
- name: "JBOSS_IMAGE_NAME"
Expand Down
4 changes: 4 additions & 0 deletions ubi9-openjdk-21.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ labels:
value: "https://access.redhat.com/documentation/en-us/red_hat_jboss_middleware_for_openshift/3/html/red_hat_java_s2i_for_openshift/"
- name: "com.redhat.license_terms"
value: "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
- name: "name"
value: *name
- name: "version"
value: *version

envs:
- name: PATH
Expand Down

0 comments on commit 168022e

Please sign in to comment.