-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Anassimene version ready Co-authored-by: Configuration Manager <[email protected]>
- Loading branch information
Showing
10 changed files
with
97 additions
and
121 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,26 @@ | ||
# Copyright (C) 2019 LinkedData.Center - All Rights Reserved | ||
# Copyright (C) 2019-2020 LinkedData.Center - All Rights Reserved | ||
# Permission to copy and modify is granted under the MIT license | ||
FROM linkeddatacenter/sdaas-rdfstore:1.1.0 | ||
FROM linkeddatacenter/sdaas-rdfstore:2.0.0 | ||
|
||
LABEL authors="[email protected]" | ||
|
||
USER root | ||
RUN set -xe ; \ | ||
apt-get update ; \ | ||
apt-get install -y --no-install-recommends curl gettext | ||
|
||
COPY tests/system/platform /workspace | ||
COPY alpinelinux_provisioning.sh / | ||
## To add debugging tools uncomment following liness: | ||
#RUN echo "jetty\n$jetty" | passwd jetty | ||
#RUN apt-get install -y sudo ; usermod -aG sudo jetty | ||
|
||
ENV SDAAS_BIN_DIR /usr/local/bin/sdaas | ||
COPY scripts $SDAAS_BIN_DIR | ||
RUN chmod -R 0755 $SDAAS_BIN_DIR; /alpinelinux_provisioning.sh | ||
COPY tests/system/platform /workspace | ||
|
||
WORKDIR /workspace | ||
RUN chmod -R 0755 $SDAAS_BIN_DIR; \ | ||
chown -R jetty.jetty /workspace | ||
ENV PATH="${SDAAS_BIN_DIR}:${PATH}" | ||
|
||
USER jetty | ||
WORKDIR /workspace | ||
ENV SD_REASONER_ENDPOINT http://localhost:8080/sdaas | ||
ENV PATH="${SDAAS_BIN_DIR}:${PATH}" | ||
CMD /sdaas-start --foreground |
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,21 @@ | ||
# Copyright (C) 2019-2020 LinkedData.Center - All Rights Reserved | ||
# Permission to copy and modify is granted under the MIT license | ||
FROM linkeddatacenter/sdaas-rdfstore:2.0.0 | ||
|
||
LABEL authors="[email protected]" | ||
|
||
USER root | ||
RUN set -xe ; \ | ||
apt-get update ; \ | ||
apt-get install -y --no-install-recommends curl gettext | ||
|
||
RUN apt-get install -y bats sudo | ||
|
||
# Allow jetty to became su (no password) | ||
RUN echo "jetty\njetty" | passwd jetty; usermod -aG sudo jetty | ||
|
||
USER jetty | ||
WORKDIR /workspace | ||
|
||
ENV SD_REASONER_ENDPOINT http://localhost:8080/sdaas | ||
ENV PATH="/workspace/scripts:${PATH}" |
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
6 changes: 2 additions & 4 deletions
6
tests/system/platform/gateways/istat → tests/system/platform/gateways/istat.awk
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 @@ | ||
#!/usr/bin/awk -f | ||
|
||
BEGIN { FS=";"; print "@prefix schema: <http://schema.org/> ." } | ||
NR>1 { printf "<urn:istat:comune:%s> a schema:City; schema:name \"\"\"%s\"\"\".\n", $5, $6 } | ||
BEGIN { FS=";"; print "@prefix schema: <http://schema.org/> ." } | ||
NR>1 { printf "<urn:istat:comune:%s> a schema:City; schema:name \"\"\"%s\"\"\".\n", $5, $6 } |
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