-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #155 from Exabyte-io/chore/clean-up-test
chore/clean up tests
- Loading branch information
Showing
65 changed files
with
758 additions
and
524 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
BASE_OS=centos | ||
IMAGE_TAG=latest | ||
PORT=3002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ node_modules/ | |
.nyc_output/ | ||
tests/coverage/ | ||
.idea | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Use an official Node.js image with a version that supports modern JavaScript features | ||
FROM node:20 | ||
|
||
# Install system dependencies for OpenGL, Python, and build tools | ||
RUN apt-get update && apt-get install -y \ | ||
python3 \ | ||
python3-distutils \ | ||
build-essential \ | ||
libgl1-mesa-dev \ | ||
libxi-dev \ | ||
libxmu-dev \ | ||
libgles2-mesa-dev \ | ||
libx11-dev \ | ||
xvfb \ | ||
&& ln -s /usr/bin/python3 /usr/bin/python \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Set the working directory inside the container | ||
WORKDIR /opt/app | ||
|
||
# Copy package.json and package-lock.json for dependency installation | ||
COPY package*.json ./ | ||
COPY src ./src | ||
COPY tsconfig.json ./tsconfig.json | ||
COPY babel.config.json ./babel.config.json | ||
|
||
# Install project dependencies | ||
RUN npm install --legacy-peer-deps | ||
|
||
# Copy the entire repository into the container | ||
COPY . . | ||
|
||
# Ensure the node_modules folder is accessible | ||
# RUN chmod -R 755 /opt/app/node_modules | ||
|
||
# Expose any required ports (if applicable) | ||
EXPOSE 3002 | ||
|
||
ENTRYPOINT ["/opt/app/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
services: | ||
wave: | ||
image: wave-${BASE_OS}:${IMAGE_TAG} | ||
image: wave:${IMAGE_TAG} | ||
build: | ||
context: . | ||
dockerfile: ./dockerfiles/${BASE_OS}/Dockerfile | ||
dockerfile: ./Dockerfile | ||
ports: | ||
- ${PORT}:${PORT} | ||
- 3002:3002 | ||
|
||
test: | ||
image: wave-${BASE_OS}:${IMAGE_TAG} | ||
image: wave:${IMAGE_TAG} | ||
command: ["test"] | ||
environment: | ||
REACT_APP_BASE_OS: ${BASE_OS} | ||
volumes: | ||
- ./src/:/opt/app/src | ||
- ./tests/:/opt/app/tests |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.