-
Notifications
You must be signed in to change notification settings - Fork 27
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 #263 from KNMI/caching
Made caching configurable
- Loading branch information
Showing
18 changed files
with
1,377 additions
and
927 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 |
---|---|---|
|
@@ -6,7 +6,7 @@ USER root | |
LABEL maintainer="[email protected]" | ||
|
||
# Version should be same as in Definitions.h | ||
LABEL version="2.13.8" | ||
LABEL version="2.13.9" | ||
|
||
# Try to update image packages | ||
RUN apt-get -q -y update \ | ||
|
@@ -93,15 +93,15 @@ COPY tests /adaguc/adaguc-server-master/tests | |
COPY runtests.sh /adaguc/adaguc-server-master/runtests.sh | ||
|
||
# Run adaguc-server functional and regression tests | ||
RUN bash runtests.sh && echo "TESTSDONE" > /adaguc/adaguc-server-master/testsdone.txt | ||
RUN bash runtests.sh | ||
|
||
# Create a file indicating that the test succeeded. This file is used in the final stage | ||
RUN echo "TESTSDONE" > /adaguc/adaguc-server-master/testsdone.txt | ||
|
||
|
||
######### Fourth stage, prod ############ | ||
FROM base as prod | ||
|
||
# This ensures that the test stage is ran without issues. | ||
COPY --from=test /adaguc/adaguc-server-master/testsdone.txt /adaguc/adaguc-server-master/testsdone.txt | ||
|
||
# Set same uid as vivid | ||
RUN useradd -m adaguc -u 1000 && \ | ||
# Setup directories | ||
|
@@ -133,6 +133,9 @@ RUN bash -c "python3 /adaguc/adaguc-server-master/python/examples/runautowms/run | |
|
||
WORKDIR /adaguc/adaguc-server-master | ||
|
||
# This checks if the test stage has ran without issues. | ||
COPY --from=test /adaguc/adaguc-server-master/testsdone.txt /adaguc/adaguc-server-master/testsdone.txt | ||
|
||
USER adaguc | ||
|
||
# For HTTP | ||
|
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
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
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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<Configuration> | ||
|
||
<Settings cache_age_volatileresources="60" cache_age_cacheableresources="7200" /> | ||
|
||
<!-- Custom styles --> | ||
<Style name="testdata"> | ||
<Legend fixedclasses="true" tickinterval="0.1" tickround=".01">no2</Legend> | ||
<Min>0.01</Min> | ||
<Max>30</Max> | ||
<Log>10</Log> | ||
<ContourLine width="1.8" linecolor="#888888" textcolor="#000000" textformatting="%2.2f" classes="0.05,0.1,0.15,0.2,0.3"/> | ||
<ContourLine width="3" linecolor="#0000FF" textcolor="#0000FF" textformatting="%2.2f" classes="0.35"/> | ||
|
||
<ShadeInterval min="0.05" max="0.15" label="0.05-0.15" fillcolor="#E6E6FFA0"/> | ||
<ShadeInterval min="0.20" max="0.30" label="0.20-0.30" fillcolor="#B3B3FF"/> | ||
<ShadeInterval min="0.30" max="0.35" label="0.30-0.35" fillcolor="#8080FF"/> | ||
<ShadeInterval min="0.35" max="1.00" label="0.35-1.00" fillcolor="#FF0040"/> | ||
|
||
|
||
<NameMapping name="nearest" title="Rainbow colors" abstract="Drawing with rainbow colors"/> | ||
<NameMapping name="bilinear" title="Rainbow colors, bilinear" abstract="Drawing with rainbow colors, bilinear interpolation"/> | ||
<NameMapping name="nearestcontour" title="Rainbow colors, contours" abstract="Drawing with rainbow colors, contours"/> | ||
<NameMapping name="shadedcontour" title="Rainbow colors, shading and contours" abstract="Drawing with rainbow colors, shading and contours"/> | ||
<RenderMethod>nearest,bilinear,nearestcontour,shadedcontour</RenderMethod> | ||
|
||
</Style> | ||
|
||
<Layer type="database"> | ||
<FilePath filter="^nc_5D_.*\.nc$">{ADAGUC_PATH}/data/datasets/netcdf_5dims/</FilePath> | ||
<Variable>data</Variable> | ||
<Styles>testdata</Styles> | ||
|
||
</Layer> | ||
|
||
|
||
<!-- End of configuration /--> | ||
</Configuration> |
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
Oops, something went wrong.