-
Notifications
You must be signed in to change notification settings - Fork 4
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 #3949 from devgateway/develop
AMP-30352 3.5.5 release
- Loading branch information
Showing
226 changed files
with
157,636 additions
and
16,987 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 |
---|---|---|
@@ -1,5 +1,31 @@ | ||
* | ||
!META-INF | ||
!Dockerfile | ||
!docker | ||
!target/amp* | ||
.idea | ||
*.iml | ||
target | ||
gen-src | ||
META-INF | ||
WEB-INF/classes | ||
WEB-INF/lib | ||
jackrabbit | ||
lucene | ||
api-docs | ||
Dockerfile | ||
TEMPLATE/ampTemplate/node_modules/amp-boilerplate/node | ||
TEMPLATE/ampTemplate/node_modules/amp-boilerplate/node_modules | ||
TEMPLATE/ampTemplate/node_modules/gis-layers-manager/node | ||
TEMPLATE/ampTemplate/node_modules/gis-layers-manager/node_modules | ||
TEMPLATE/ampTemplate/node_modules/amp-settings/node | ||
TEMPLATE/ampTemplate/node_modules/amp-settings/node_modules | ||
TEMPLATE/ampTemplate/node_modules/amp-translate/node | ||
TEMPLATE/ampTemplate/node_modules/amp-translate/node_modules | ||
TEMPLATE/ampTemplate/node_modules/amp-state/node | ||
TEMPLATE/ampTemplate/node_modules/amp-state/node_modules | ||
TEMPLATE/ampTemplate/node_modules/amp-filter/node | ||
TEMPLATE/ampTemplate/node_modules/amp-filter/node_modules | ||
TEMPLATE/ampTemplate/gisModule/dev/node | ||
TEMPLATE/ampTemplate/gisModule/dev/node_modules | ||
TEMPLATE/ampTemplate/dashboard/dev/node | ||
TEMPLATE/ampTemplate/dashboard/dev/node_modules | ||
TEMPLATE/reamp/node | ||
TEMPLATE/reamp/node_modules | ||
TEMPLATE/reampv2/node | ||
TEMPLATE/reampv2/node_modules |
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,20 +1,65 @@ | ||
FROM tomcat:7.0-jdk8 | ||
FROM maven:3.8.4-jdk-8 as base | ||
WORKDIR /tmp/amp | ||
COPY . . | ||
|
||
FROM base as compile | ||
ARG BUILD_SOURCE | ||
RUN mkdir -p -m 0600 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts | ||
RUN --mount=type=ssh \ | ||
--mount=type=cache,target=/root/.m2 \ | ||
--mount=type=cache,target=/root/.npm \ | ||
mvn -B test war:exploded \ | ||
-DbuildSource=$BUILD_SOURCE \ | ||
-Djdbc.user=amp -Djdbc.password=amp122006 -Djdbc.db=amp -Djdbc.host=db \ | ||
-Djdbc.port=5432 -DdbName=postgresql -Djdbc.driverClassName=org.postgresql.Driver \ | ||
&& mv target/amp exploded \ | ||
&& rm -rf target \ | ||
TEMPLATE/ampTemplate/node_modules/amp-boilerplate/node \ | ||
TEMPLATE/ampTemplate/node_modules/amp-boilerplate/node_modules \ | ||
TEMPLATE/ampTemplate/node_modules/gis-layers-manager/node \ | ||
TEMPLATE/ampTemplate/node_modules/gis-layers-manager/node_modules \ | ||
TEMPLATE/ampTemplate/node_modules/amp-settings/node \ | ||
TEMPLATE/ampTemplate/node_modules/amp-settings/node_modules \ | ||
TEMPLATE/ampTemplate/node_modules/amp-translate/node \ | ||
TEMPLATE/ampTemplate/node_modules/amp-translate/node_modules \ | ||
TEMPLATE/ampTemplate/node_modules/amp-state/node \ | ||
TEMPLATE/ampTemplate/node_modules/amp-state/node_modules \ | ||
TEMPLATE/ampTemplate/node_modules/amp-filter/node \ | ||
TEMPLATE/ampTemplate/node_modules/amp-filter/node_modules \ | ||
TEMPLATE/ampTemplate/gisModule/dev/node \ | ||
TEMPLATE/ampTemplate/gisModule/dev/node_modules \ | ||
TEMPLATE/ampTemplate/dashboard/dev/node \ | ||
TEMPLATE/ampTemplate/dashboard/dev/node_modules \ | ||
TEMPLATE/reamp/node \ | ||
TEMPLATE/reamp/node_modules \ | ||
TEMPLATE/reampv2/node \ | ||
TEMPLATE/reampv2/node_modules | ||
|
||
FROM tomcat:8.5.79-jdk8 | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y apt-transport-https ca-certificates curl gnupg --no-install-recommends \ | ||
&& curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \ | ||
&& echo "deb https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \ | ||
&& apt-get update \ | ||
&& apt-get install -y google-chrome-stable fontconfig fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-symbola fonts-noto fonts-freefont-ttf --no-install-recommends \ | ||
&& apt-get purge --auto-remove -y curl gnupg \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
ENV CHROME_PATH /opt/google/chrome | ||
ENV CHROME_NO_SANDBOX 1 | ||
|
||
COPY docker/wait-for-it.sh docker/setenv.sh bin/ | ||
COPY docker/server.xml docker/tomcat-users.xml conf/ | ||
|
||
ARG AMP_EXPLODED_WAR | ||
ARG AMP_PULL_REQUEST | ||
ARG AMP_BRANCH | ||
ARG AMP_REGISTRY_PRIVATE_KEY | ||
|
||
LABEL "pull-request"=$AMP_PULL_REQUEST | ||
LABEL "branch"=$AMP_BRANCH | ||
|
||
ADD docker/wait-for-it.sh bin/ | ||
ADD docker/setenv.sh bin/ | ||
ADD docker/server.xml conf/ | ||
ADD docker/tomcat-users.xml conf/ | ||
|
||
RUN rm -fr /usr/local/tomcat/webapps/ROOT && mkdir /usr/local/tomcat/webapps/ROOT | ||
ADD $AMP_EXPLODED_WAR /usr/local/tomcat/webapps/ROOT | ||
ADD META-INF/context.xml /usr/local/tomcat/webapps/ROOT/META-INF/ | ||
|
||
ENV AMP_REGISTRY_PRIVATE_KEY $AMP_REGISTRY_PRIVATE_KEY | ||
|
||
RUN rm -fr /usr/local/tomcat/webapps/ROOT | ||
COPY --from=compile /tmp/amp/exploded /usr/local/tomcat/webapps/ROOT/ |
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,4 +1,2 @@ | ||
# first, ignore everything in node modules, so we don't track build deps | ||
node_modules/* | ||
# then, unignore our own libraries that we want to have available on the `require` search path | ||
!node_modules/amp-* | ||
node_modules/*/node | ||
node_modules/*/node_modules |
Binary file added
BIN
+17.6 KB
amp/TEMPLATE/ampTemplate/dashboard/dev/app/fonts/glyphicons-halflings-regular.woff2
Binary file not shown.
Binary file added
BIN
+4.44 KB
...TEMPLATE/ampTemplate/dashboard/dev/app/img/jQueryUI/ui-icons_3383bb_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.