-
Notifications
You must be signed in to change notification settings - Fork 107
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 #3472 from reportportal/hotfix/5.8.0
Release 5.8.0
- Loading branch information
Showing
320 changed files
with
3,373 additions
and
5,796 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
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ build/ | |
*.iws | ||
*.log | ||
.vscode | ||
.devcontainer | ||
|
||
coverage | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,30 @@ | ||
FROM nginx:alpine | ||
# Only for technical/build aims, built image will be with nginxinc/nginx-unprivileged:alpine according to the last step | ||
|
||
LABEL maintainer="Andrei Varabyeu <andrei_varabyeu@epam.com>" | ||
LABEL version=5.7.4 | ||
FROM alpine:latest AS generate-build-info | ||
RUN mkdir -p /usr/src/app/build | ||
WORKDIR /usr/src | ||
ARG version | ||
ARG branch | ||
ARG build_date | ||
RUN echo {\"build\": { \"version\": \"${version}\", \"branch\": \"${branch}\", \"build_date\": \"${build_date}\", \"name\": \"Service UI\", \"repo\": \"reportportal/service-ui\"}} > ./app/build/buildInfo.json | ||
|
||
ENV APP_DOWNLOAD_URL https://github.com/reportportal/service-ui/releases/download/v5.7.4 | ||
FROM node:12-alpine AS build-frontend | ||
RUN mkdir -p /usr/src/app | ||
WORKDIR /usr/src/app | ||
COPY ./app/ /usr/src/app/ | ||
RUN export NODE_OPTIONS="--max-old-space-size=4096" | ||
RUN npm ci && npm run lint && npm run test:coverage && npm run build | ||
|
||
ADD ${APP_DOWNLOAD_URL}/ui.tar.gz / | ||
FROM nginxinc/nginx-unprivileged:alpine | ||
|
||
USER root | ||
|
||
COPY --from=build-frontend /usr/src/app/build /usr/share/nginx/html | ||
COPY --from=generate-build-info /usr/src/app/build /usr/share/nginx/html | ||
|
||
RUN tar -zxvf ui.tar.gz -C /usr/share/nginx/html && rm -f ui.tar.gz | ||
RUN rm /etc/nginx/conf.d/default.conf | ||
COPY nginx.conf /etc/nginx/nginx.conf | ||
|
||
USER $UID | ||
|
||
EXPOSE 8080 |
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
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
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 |
---|---|---|
|
@@ -19,3 +19,4 @@ vendor*.js | |
runtime*.js | ||
inline*.js | ||
**/polyfills*.js | ||
**/*.spec.js |
Oops, something went wrong.