Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Openjdk 2588] install tar in runtime images (ubi8) #428

Merged
merged 1 commit into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions modules/tar/module.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
schema_version: 1
name: jboss.container.tar
version: '1.0'
description: Installs the Tar RPM to enable `oc cp` and `oc rsync`

packages:
install:
- tar
7 changes: 7 additions & 0 deletions tests/features/java/openjdk.feature
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,10 @@ Feature: Miscellaneous OpenJDK-related unit tests
Then container log should not contain libpwquality
Then container log should not contain libxkbcommon
Then container log should not contain kbd

@ubi8
Scenario: Ensure tar is installed (OPENJDK-2588)
When container is started with args
| arg | value |
| command | tar |
Then available container log should not contain command not found
5 changes: 3 additions & 2 deletions ubi8-openjdk-11-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ modules:
repositories:
- path: modules
install:
- name: jboss.container.util.pkg-update
- name: jboss.container.openjdk.jre
version: "11"
- name: jboss.container.java.jre.run
- name: jboss.container.util.pkg-update
- name: jboss.container.tar
- name: jboss.container.java.jre.run

help:
add: true
Expand Down
5 changes: 3 additions & 2 deletions ubi8-openjdk-17-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ modules:
repositories:
- path: modules
install:
- name: jboss.container.util.pkg-update
- name: jboss.container.openjdk.jre
version: "17"
- name: jboss.container.java.jre.run
- name: jboss.container.util.pkg-update
- name: jboss.container.tar
- name: jboss.container.java.jre.run

help:
add: true
Expand Down
1 change: 1 addition & 0 deletions ubi8-openjdk-21-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ modules:
- path: modules
install:
- name: jboss.container.util.pkg-update
- name: jboss.container.tar
- name: jboss.container.openjdk.jre
version: "21"
- name: jboss.container.java.jre.run
Expand Down
1 change: 1 addition & 0 deletions ubi8-openjdk-8-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ modules:
- name: jboss.container.openjdk.jre
version: "8"
- name: jboss.container.java.jre.run
- name: jboss.container.tar
- name: jboss.container.util.pkg-update

help:
Expand Down
Loading