Skip to content

Commit 243c133

Browse files
Run che-commands test when build che-code assembly
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
1 parent 1198a52 commit 243c133

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

build/dockerfiles/linux-libc-ubi8.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ RUN npm config set fetch-retry-mintimeout 100000 && npm config set fetch-retry-m
7171
# Grab dependencies (and force to rebuild them)
7272
RUN rm -rf /checode-compilation/node_modules && npm install --force
7373

74+
RUN npm --prefix extensions/che-commands test
7475
# Compile
7576
RUN NODE_ARCH=$(echo "console.log(process.arch)" | node) \
7677
&& NODE_VERSION=$(cat /checode-compilation/remote/.npmrc | grep target | cut -d '=' -f 2 | tr -d '"') \

build/dockerfiles/linux-libc-ubi9.Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ RUN npm config set fetch-retry-mintimeout 100000 && npm config set fetch-retry-m
7070
# Grab dependencies (and force to rebuild them)
7171
RUN rm -rf /checode-compilation/node_modules && npm install --force
7272

73+
RUN npm --prefix extensions/che-commands test
74+
7375
# Compile
7476
RUN NODE_ARCH=$(echo "console.log(process.arch)" | node) \
7577
&& NODE_VERSION=$(cat /checode-compilation/remote/.npmrc | grep target | cut -d '=' -f 2 | tr -d '"') \

build/dockerfiles/linux-musl.Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ RUN npm config set fetch-retry-mintimeout 100000 && npm config set fetch-retry-m
4747
# Grab dependencies (and force to rebuild them)
4848
RUN rm -rf /checode-compilation/node_modules && npm install --force
4949

50+
RUN npm --prefix extensions/che-commands test
51+
5052
# Rebuild platform specific dependencies
5153
RUN npm rebuild
5254

0 commit comments

Comments
 (0)