Skip to content

Commit 9f22534

Browse files
committed
Merge jboss.container.s2i.core.{bash,api}
Simplify the module structure. Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 24453b0 commit 9f22534

File tree

5 files changed

+15
-27
lines changed

5 files changed

+15
-27
lines changed

modules/maven/s2i/module.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ execute:
2626

2727
modules:
2828
install:
29-
- name: jboss.container.s2i.core.api
30-
- name: jboss.container.s2i.core.bash
29+
- name: jboss.container.s2i.core
3130
- name: jboss.container.maven.default
3231
- name: jboss.container.util.logging
3332

modules/s2i/core/bash/module.yaml

-20
This file was deleted.
File renamed without changes.

modules/s2i/core/api/module.yaml modules/s2i/core/module.yaml

+14-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
schema_version: 1
2-
name: jboss.container.s2i.core.api
3-
version: '1.0'
4-
description: ^
5-
Defines environment variables and labels used by S2I. Modules implementing
6-
S2I capabilities should use these variables accordingly.
2+
name: jboss.container.s2i.core
3+
version: '9.0'
4+
description: "Provides support for core s2i capabilities."
5+
6+
execute:
7+
- script: configure.sh
8+
9+
packages:
10+
install:
11+
- findutils
12+
- rsync
713

814
labels:
915
- name: "io.openshift.s2i.scripts-url"
@@ -14,6 +20,9 @@ labels:
1420
value: "/deployments"
1521

1622
envs:
23+
- name: JBOSS_CONTAINER_S2I_CORE_MODULE
24+
value: /opt/jboss/container/s2i/core/
25+
1726
- name: S2I_DESTINATION_DIR
1827
description: ^
1928
Root directory for S2I mount, as specified by the

0 commit comments

Comments
 (0)