forked from hygieia/hygieia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'hygieia:master' into master
- Loading branch information
Showing
1,157 changed files
with
57,687 additions
and
233,952 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
.git |
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,13 @@ | ||
# Editor configuration, see https://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
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,48 +1,47 @@ | ||
.DS_Store | ||
*.class | ||
|
||
#java certificates | ||
*.crt | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# Mobile Tools for Java (J2ME) | ||
.mtj.tmp/ | ||
# compiled output | ||
/dist | ||
/tmp | ||
/out-tsc | ||
|
||
# Package Files # | ||
*.war | ||
*.ear | ||
# dependencies | ||
/node | ||
/node_modules | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
# profiling files | ||
chrome-profiler-events.json | ||
speed-measure-plugin.json | ||
|
||
*.iws | ||
# IDEs and editors | ||
/.idea | ||
*.iml | ||
*.ipr | ||
out | ||
build | ||
.gradle | ||
gradle.properties | ||
.idea | ||
common/src/querydsl | ||
common/src/generated | ||
core/src/generated | ||
*.log | ||
target | ||
UI/node | ||
UI/src/app/local-testing.js | ||
*.releaseBackup | ||
docker-compose.override.yml | ||
logs | ||
.project | ||
.settings | ||
.pmd | ||
.pmdruleset.xml | ||
.classpath | ||
.README.md.html | ||
|
||
# Eclipse specific ignore settings | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
.project | ||
.pmdruleset.xml | ||
.pmd | ||
.classpath | ||
application.properties | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
.history/* | ||
|
||
# misc | ||
/.sass-cache | ||
/connect.lock | ||
/coverage | ||
/libpeerconnection.log | ||
npm-debug.log | ||
yarn-error.log | ||
/target | ||
testem.log | ||
/typings | ||
|
||
# System Files | ||
.DS_Store | ||
Thumbs.db |
Binary file not shown.
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,37 +1,32 @@ | ||
language: java | ||
jdk: | ||
- openjdk8 | ||
language: node_js | ||
node_js: | ||
- "10" | ||
dist: trusty | ||
sudo: required | ||
branches: | ||
only: | ||
- master | ||
- gerrit-integration | ||
- "/^v[0-9]+\\.[0-9]+\\.[0-9]+.*$/" | ||
sudo: required | ||
cache: | ||
directories: | ||
- "$TRAVIS_BUILD_DIR/UI/node_modules" | ||
install: true | ||
- "$TRAVIS_BUILD_DIR/hygieia/node_modules" | ||
before_install: | ||
- export TZ=America/New_York | ||
- export NG_CLI_ANALYTICS=ci | ||
before_script: | ||
- sudo chown -R $USER:$GROUP $TRAVIS_BUILD_DIR | ||
- npm install -g @angular/cli | ||
script: | ||
- ng lint | ||
- npm run test-headless | ||
- if [ "$TRAVIS_PULL_REQUEST" != "false" ] || [ "$TRAVIS_BRANCH" = "master" ]; then mvn clean install -q -U; fi | ||
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then cp ./travis-utilities/deploy-snapshot.sh . && ./deploy-snapshot.sh; fi | ||
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [[ "$TRAVIS_BRANCH" =~ ^v[0-9]+\.[0-9]+\.[0-9]+.*$ ]]; then cp ./travis-utilities/release.sh . && ./release.sh; fi | ||
|
||
notifications: | ||
webhooks: | ||
urls: https://webhooks.gitter.im/e/48597b0f75dd571734bc | ||
on_success: always | ||
on_failure: always | ||
on_start: always | ||
email: | ||
recipients: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
on_success: always | ||
on_failure: always | ||
after_failure: | ||
- sudo free -m -t | ||
- sudo dmesg | ||
after_success: | ||
- codecov |
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,11 +1,36 @@ | ||
FROM docker.io/nginx:latest | ||
# build environment | ||
FROM node:10.16.0 as builder | ||
|
||
COPY default.conf /etc/nginx/conf.d/default.conf.templ | ||
COPY conf-builder.sh /usr/bin/conf-builder.sh | ||
COPY html /usr/share/nginx/html | ||
RUN chown nginx:nginx /usr/share/nginx/html | ||
# set working directory | ||
RUN mkdir /usr/src/app | ||
WORKDIR /usr/src/app | ||
|
||
EXPOSE 80 443 | ||
ENV PATH /usr/src/app/node_modules/.bin:$PATH | ||
|
||
CMD conf-builder.sh &&\ | ||
nginx -g "daemon off;" | ||
COPY package.json /usr/src/app/package.json | ||
RUN npm install | ||
RUN npm install -g @angular/[email protected] --unsafe | ||
|
||
COPY . /usr/src/app | ||
|
||
RUN npm run build --output-path=dist | ||
|
||
FROM httpd:2.4-alpine | ||
|
||
# copy compiled app to server | ||
COPY --from=builder /usr/src/app/dist/hygieia-ui /usr/local/apache2/htdocs/ | ||
|
||
COPY ./httpd/.htaccess /usr/local/apache2/htdocs/.htaccess | ||
|
||
# copy startup script | ||
COPY ./startup.sh /startup.sh | ||
|
||
# make script executable | ||
RUN chmod +x /startup.sh | ||
|
||
# expose port 80 | ||
EXPOSE 80 | ||
|
||
ENTRYPOINT ["/startup.sh"] | ||
|
||
CMD ["httpd-foreground"] |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.