File tree Expand file tree Collapse file tree 19 files changed +59
-62
lines changed
config/alerts/i18n/override Expand file tree Collapse file tree 19 files changed +59
-62
lines changed Original file line number Diff line number Diff line change 58
58
owner: 'inbo',
59
59
repo: 'vlaams-biodiversiteitsportaal',
60
60
head: 'update-translations',
61
- base: 'main ',
61
+ base: '${{ github.ref_name }} ',
62
62
body: 'This PR is auto-generated by [a github action](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) in [inbo/vlaams-biodiversiteitsportaal](https://github.com/inbo/vlaams-biodiversiteitsportaal).'
63
63
});
64
64
github.rest.issues.addLabels({
Original file line number Diff line number Diff line change
1
+ admin.functions =VBP admin-functies
Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ COPY --from=builder /project/build/libs/alerts-${VERSION}-plain.war ${CATALINA_H
34
34
COPY alerts.xml ${CATALINA_HOME}/conf/portal/localhost/alerts.xml
35
35
36
36
# Symlink to i18n files location
37
- RUN mkdir -p /opt/atlas/i18n/alerts \
38
- && ln -s /config/config/alerts/i18n/crowdin /opt/atlas/i18n/alerts
39
- RUN mkdir -p /var/opt/atlas/i18n/alerts \
37
+ RUN mkdir -p /opt/atlas/i18n \
38
+ && ln -s /config/config/alerts/i18n/crowdin /opt/atlas/i18n/alerts \
39
+ && mkdir -p /var/opt/atlas/i18n \
40
40
&& ln -s /config/config/alerts/i18n/override /var/opt/atlas/i18n/alerts
41
41
42
42
HEALTHCHECK CMD curl --fail --silent http://localhost:8080/alerts/actuator/health || exit 1
Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ COPY --from=builder /project/build/libs/apikey-${VERSION}-plain.war ${CATALINA_H
31
31
COPY apikey.xml ${CATALINA_HOME}/conf/portal/localhost/apikey.xml
32
32
33
33
# Symlink to i18n files location
34
- RUN mkdir -p /opt/atlas/i18n/apikey \
35
- && ln -s /config/config/apikey/i18n/crowdin /opt/atlas/i18n/apikey
36
- RUN mkdir -p /var/opt/atlas/i18n/apikey \
34
+ RUN mkdir -p /opt/atlas/i18n \
35
+ && ln -s /config/config/apikey/i18n/crowdin /opt/atlas/i18n/apikey \
36
+ && mkdir -p /var/opt/atlas/i18n \
37
37
&& ln -s /config/config/apikey/i18n/override /var/opt/atlas/i18n/apikey
38
38
39
39
HEALTHCHECK CMD curl --fail --silent http://localhost:8080/apikey/actuator/health || exit 1
Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ COPY --from=builder /project/build/libs/ala-bie-hub-${VERSION}-plain.war ${CATAL
34
34
COPY bie-hub.xml ${CATALINA_HOME}/conf/portal/localhost/bie-hub.xml
35
35
36
36
# Symlink to i18n files location
37
- RUN mkdir -p /opt/atlas/i18n/bie-plugin \
38
- && ln -s /config/config/bie-plugin/i18n/crowdin /opt/atlas/i18n/bie-plugin
39
- RUN mkdir -p /var/opt/atlas/i18n/bie-plugin \
40
- && ln -s /config/config/bie-hub /i18n/override /var/opt/atlas/i18n/bie-plugin
37
+ RUN mkdir -p /opt/atlas/i18n \
38
+ && ln -s /config/config/bie-plugin/i18n/crowdin /opt/atlas/i18n/bie-plugin \
39
+ && mkdir -p /var/opt/atlas/i18n \
40
+ && ln -s /config/config/bie-plugin /i18n/override /var/opt/atlas/i18n/bie-plugin
41
41
42
42
HEALTHCHECK CMD curl --fail --silent http://localhost:8080/apikey/actuator/health || exit 1
Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ COPY --from=builder /project/build/libs/bie-index-${VERSION}-plain.war ${CATALIN
31
31
COPY bie-index.xml ${CATALINA_HOME}/conf/portal/localhost/bie-index.xml
32
32
33
33
# Symlink to i18n files location
34
- RUN mkdir -p /opt/atlas/i18n/bie-index \
35
- && ln -s /config/config/bie-index/i18n/crowdin /opt/atlas/i18n/bie-index
36
- RUN mkdir -p /var/opt/atlas/i18n/bie-index \
34
+ RUN mkdir -p /opt/atlas/i18n \
35
+ && ln -s /config/config/bie-index/i18n/crowdin /opt/atlas/i18n/bie-index \
36
+ && mkdir -p /var/opt/atlas/i18n \
37
37
&& ln -s /config/config/bie-index/i18n/override /var/opt/atlas/i18n/bie-index
38
38
39
39
HEALTHCHECK CMD curl --fail --silent http://localhost:8080/apikey/actuator/health || exit 1
Original file line number Diff line number Diff line change @@ -49,13 +49,11 @@ COPY --from=builder /project/ala-hub/build/libs/ala-hub-${VERSION}-plain.war ${C
49
49
COPY biocache-hub.xml ${CATALINA_HOME}/conf/portal/localhost/biocache-hub.xml
50
50
51
51
# Symlink to i18n files location
52
- RUN mkdir -p /opt/atlas/i18n/downloads-plugin \
53
- && ln -s /config/config/biocache-hub/i18n/crowdin/downloads-plugin /opt/atlas/i18n/downloads-plugin
54
- RUN mkdir -p /var/opt/atlas/i18n/downloads-plugin \
55
- && ln -s /config/config/biocache-hub/i18n/downloads-plugin/override /var/opt/atlas/i18n/downloads-plugin
56
- RUN mkdir -p /opt/atlas/i18n/biocache-hubs \
57
- && ln -s /config/config/biocache-hubs/i18n/crowdin /opt/atlas/i18n/biocache-hubs
58
- RUN mkdir -p /var/opt/atlas/i18n/biocache-hubs \
59
- && ln -s /config/config/biocache-hub/i18n/override /var/opt/atlas/i18n/biocache-hubs
52
+ RUN mkdir -p /opt/atlas/i18n \
53
+ && mkdir -p /var/opt/atlas/i18n \
54
+ && ln -s /config/config/biocache-hub/i18n/crowdin/downloads-plugin /opt/atlas/i18n/downloads-plugin \
55
+ && ln -s /config/config/biocache-hub/i18n/downloads-plugin/override /var/opt/atlas/i18n/downloads-plugin \
56
+ && ln -s /config/config/biocache-hubs/i18n/crowdin /opt/atlas/i18n/biocache-hubs \
57
+ && ln -s /config/config/biocache-hubs/i18n/override /var/opt/atlas/i18n/biocache-hubs
60
58
61
59
HEALTHCHECK CMD curl --fail --silent http://localhost:8080/biocache-hub/actuator/health || exit 1
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ COPY --from=builder /project/build/libs/biocache-service-${VERSION}.war ${CATALI
27
27
COPY biocache-service.xml ${CATALINA_HOME}/conf/portal/localhost/biocache-service.xml
28
28
29
29
# Symlink to i18n files location
30
- RUN mkdir -p /opt/atlas/i18n/biocache-service \
31
- && ln -s /config/config/biocache-service/i18n/crowdin /opt/atlas/i18n/biocache-service
32
- RUN mkdir -p /var/opt/atlas/i18n/biocache-service \
30
+ RUN mkdir -p /opt/atlas/i18n \
31
+ && ln -s /config/config/biocache-service/i18n/crowdin /opt/atlas/i18n/biocache-service \
32
+ && mkdir -p /var/opt/atlas/i18n \
33
33
&& ln -s /config/config/biocache-service/i18n/override /var/opt/atlas/i18n/biocache-service
34
34
35
35
HEALTHCHECK CMD curl --fail --silent http://localhost:8080/biocache-service/actuator/health || exit 1
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ COPY --from=builder /project/build/libs/collectory-${VERSION}-plain.war ${CATALI
35
35
COPY collectory.xml ${CATALINA_HOME}/conf/portal/localhost/collectory.xml
36
36
37
37
# Symlink to i18n files location
38
- RUN mkdir -p /opt/atlas/i18n/collectory-plugin \
39
- && ln -s /config/config/collectory-plugin/i18n/crowdin /opt/atlas/i18n/collectory-plugin
40
- RUN mkdir -p /var/opt/atlas/i18n/collectory-plugin \
41
- && ln -s /config/config/collectory/i18n/override /var/opt/atlas/i18n/collectory-plugin
38
+ RUN mkdir -p /opt/atlas/i18n \
39
+ && ln -s /config/config/collectory-plugin/i18n/crowdin /opt/atlas/i18n/collectory-plugin \
40
+ && mkdir -p /var/opt/atlas/i18n \
41
+ && ln -s /config/config/collectory-plugin /i18n/override /var/opt/atlas/i18n/collectory-plugin
42
42
43
43
HEALTHCHECK CMD curl --fail --silent http://localhost:8080/collectory/actuator/health || exit 1
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ COPY --from=builder /project/build/libs/doi-service-${VERSION}-plain.war ${CATAL
29
29
COPY doi-service.xml ${CATALINA_HOME}/conf/portal/localhost/doi-service.xml
30
30
31
31
# Symlink to i18n files location
32
- RUN mkdir -p /opt/atlas/i18n/doi \
33
- && ln -s /config/config/doi/i18n/crowdin /opt/atlas/i18n/doi
34
- RUN mkdir -p /var/opt/atlas/i18n/doi \
32
+ RUN mkdir -p /opt/atlas/i18n \
33
+ && ln -s /config/config/doi-service /i18n/crowdin /opt/atlas/i18n/doi \
34
+ && mkdir -p /var/opt/atlas/i18n \
35
35
&& ln -s /config/config/doi-service/i18n/override /var/opt/atlas/i18n/doi
36
36
37
37
HEALTHCHECK CMD curl --fail --silent http://localhost:8080/doi-service/actuator/health || exit 1
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ COPY --from=builder /project/build/libs/image-service-${VERSION}-plain.war ${CAT
30
30
COPY image-service.xml ${CATALINA_HOME}/conf/portal/localhost/image-service.xml
31
31
32
32
# Symlink to i18n files location
33
- RUN mkdir -p /opt/atlas/i18n/image-service \
34
- && ln -s /config/config/image-service/i18n/crowdin /opt/atlas/i18n/image-service
35
- RUN mkdir -p /var/opt/atlas/i18n/image-service \
33
+ RUN mkdir -p /opt/atlas/i18n \
34
+ && ln -s /config/config/image-service/i18n/crowdin /opt/atlas/i18n/image-service \
35
+ && mkdir -p /var/opt/atlas/i18n \
36
36
&& ln -s /config/config/image-service/i18n/override /var/opt/atlas/i18n/image-service
37
37
38
38
HEALTHCHECK CMD curl --fail --silent http://localhost:8080/image-service/actuator/health || exit 1
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ LABEL ala.version=${VERSION}
30
30
31
31
COPY --from=builder /project/build/libs/logger-service-${VERSION}-plain.war ${CATALINA_HOME}/webapps/logger.war
32
32
COPY logger.xml ${CATALINA_HOME}/conf/portal/localhost/logger.xml
33
- RUN mkdir -p /opt/atlas/i18n/logger \
34
- && ln -s /config/config/logger/i18n/crowdin /opt/atlas/i18n/logger
35
- RUN mkdir -p /var/opt/atlas/i18n/logger \
33
+ RUN mkdir -p /opt/atlas/i18n \
34
+ && ln -s /config/config/logger/i18n/crowdin /opt/atlas/i18n/logger \
35
+ && mkdir -p /var/opt/atlas/i18n \
36
36
&& ln -s /config/config/logger/i18n/override /var/opt/atlas/i18n/logger
37
37
38
38
HEALTHCHECK CMD curl --fail --silent http://localhost:8080/logger/actuator/health || exit 1
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ COPY --from=builder /project/build/libs/regions-${VERSION}-plain.war ${CATALINA_
35
35
COPY regions.xml ${CATALINA_HOME}/conf/portal/localhost/regions.xml
36
36
37
37
# Symlink to i18n files location
38
- RUN mkdir -p /opt/atlas/i18n/regions \
39
- && ln -s /config/config/regions/i18n/crowdin /opt/atlas/i18n/regions
40
- RUN mkdir -p /var/opt/atlas/i18n/regions \
38
+ RUN mkdir -p /opt/atlas/i18n \
39
+ && ln -s /config/config/regions/i18n/crowdin /opt/atlas/i18n/regions \
40
+ && mkdir -p /var/opt/atlas/i18n \
41
41
&& ln -s /config/config/regions/i18n/override /var/opt/atlas/i18n/regions
42
42
43
43
HEALTHCHECK CMD curl --fail --silent http://localhost:8080/regions/actuator/health || exit 1
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ RUN groupadd --gid 1000 app \
23
23
24
24
RUN mkdir /data && mkdir /data/lucene && chown -R app:app /data
25
25
26
+ # Link to hardcoded config location
27
+ RUN mkdir -p /config/config \
28
+ && ln -s /data/sds/config/sds-config.properties /config/config/sds-config.properties
29
+
26
30
USER app
27
31
WORKDIR /data/lucene
28
32
@@ -37,8 +41,6 @@ WORKDIR /app
37
41
COPY --from=builder --chown=app \
38
42
/project/ala-sensitive-data-server/target/ala-sensitive-data-server-${VERSION}.jar /app/app.jar
39
43
40
- RUN ln -s /data/sds/config/sds-config.properties /config/config/sds-config.properties
41
-
42
44
ENTRYPOINT ["java" , "-jar" , "/app/app.jar" , "server" ]
43
45
CMD ["config.yml" ]
44
46
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ COPY --from=builder /project/build/libs/project-${VERSION}-plain.war ${CATALINA_
38
38
COPY spatial-hub.xml ${CATALINA_HOME}/conf/portal/localhost/spatial-hub.xml
39
39
40
40
# Symlink to i18n files location
41
- RUN mkdir -p /opt/atlas/i18n/spatial-hub \
42
- && ln -s /config/config/spatial-hub/i18n/crowdin /opt/atlas/i18n/spatial-hub
43
- RUN mkdir -p /var/opt/atlas/i18n/spatial-hub \
41
+ RUN mkdir -p /opt/atlas/i18n \
42
+ && ln -s /config/config/spatial-hub/i18n/crowdin /opt/atlas/i18n/spatial-hub \
43
+ && mkdir -p /var/opt/atlas/i18n \
44
44
&& ln -s /config/config/spatial-hub/i18n/override /var/opt/atlas/i18n/spatial-hub
45
45
46
46
HEALTHCHECK CMD curl --fail --silent http://localhost:8080/spatial-hub/actuator/health || exit 1
Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ COPY --from=builder /project/build/libs/project-${VERSION}-plain.war ${CATALINA_
41
41
COPY spatial-service.xml ${CATALINA_HOME}/conf/portal/localhost/spatial-service.xml
42
42
43
43
# Symlink to i18n files location
44
- RUN mkdir -p /opt/atlas/i18n/spatial-service \
45
- && ln -s /config/config/spatial-service/i18n/crowdin /opt/atlas/i18n/spatial-service
46
- RUN mkdir -p /var/opt/atlas/i18n/spatial-service \
44
+ RUN mkdir -p /opt/atlas/i18n \
45
+ && ln -s /config/config/spatial-service/i18n/crowdin /opt/atlas/i18n/spatial-service \
46
+ && mkdir -p /var/opt/atlas/i18n \
47
47
&& ln -s /config/config/spatial-service/i18n/override /var/opt/atlas/i18n/spatial-service
48
48
49
49
HEALTHCHECK CMD curl --fail --silent http://localhost:8080/spatial-service/actuator/health || exit 1
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ COPY --from=builder /project/build/libs/specieslist-webapp-${VERSION}-plain.war
29
29
COPY species-list.xml ${CATALINA_HOME}/conf/portal/localhost/species-list.xml
30
30
31
31
# Symlink to i18n files location
32
- RUN mkdir -p /opt/atlas/i18n/species-list \
33
- && ln -s /config/config/species-list/i18n/crowdin /opt/atlas/i18n/species-list
34
- RUN mkdir -p /var/opt/atlas/i18n/species-list \
35
- && ln -s /config/config/specieslist-webapp /i18n/override /var/opt/atlas/i18n/species-list
32
+ RUN mkdir -p /opt/atlas/i18n \
33
+ && ln -s /config/config/species-list/i18n/crowdin /opt/atlas/i18n/specieslist-webapp \
34
+ && mkdir -p /var/opt/atlas/i18n \
35
+ && ln -s /config/config/species-list /i18n/override /var/opt/atlas/i18n/specieslist-webapp
36
36
37
37
HEALTHCHECK CMD curl --fail --silent http://localhost:8080/species-list/actuator/health || exit 1
Original file line number Diff line number Diff line change @@ -71,17 +71,13 @@ COPY --from=userdetails ${CATALINA_HOME}/conf/portal/localhost conf/portal/local
71
71
72
72
# Symlink to i18n files location (for loop for standard naming, additional special cases at the end)
73
73
RUN sh -x \
74
+ && mkdir -p /opt/atlas/i18n \
75
+ && mkdir -p /var/opt/atlas/i18n \
74
76
&& for service in alerts apikey bie-hub bie-index biocache-hub biocache-service collectory doi-service image-service logger regions spatial-hub spatial-service userdetails; do \
75
- mkdir -p /opt/atlas/i18n/${service}; \
76
77
ln -s /config/config/${service}/i18n/crowdin /opt/atlas/i18n/${service}; \
77
- mkdir -p /var/opt/atlas/i18n/${service}; \
78
78
ln -s /config/config/${service}/i18n/override /var/opt/atlas/i18n/${service}; \
79
79
done \
80
- && mkdir -p /opt/atlas/i18n/downloads-plugin \
81
80
&& ln -s /config/config/biocache-hub/i18n/crowdin/downloads-plugin /opt/atlas/i18n/downloads-plugin \
82
- && mkdir -p /var/opt/atlas/i18n/downloads-plugin \
83
81
&& ln -s /config/config/biocache-hub/i18n/downloads-plugin/override /var/opt/atlas/i18n/downloads-plugin \
84
- && mkdir -p /opt/atlas/i18n/species-list \
85
82
&& ln -s /config/config/species-list/i18n/crowdin /opt/atlas/i18n/species-list \
86
- && mkdir -p /var/opt/atlas/i18n/species-list \
87
83
&& ln -s /config/config/specieslist-webapp/i18n/override /var/opt/atlas/i18n/species-list
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ COPY --from=builder /project/build/libs/userdetails-${VERSION}-plain.war ${CATAL
29
29
COPY userdetails.xml ${CATALINA_HOME}/conf/portal/localhost/userdetails.xml
30
30
31
31
# Symlink to i18n files location
32
- RUN mkdir -p /opt/atlas/i18n/userdetails \
33
- && ln -s /config/config/userdetails/i18n/crowdin /opt/atlas/i18n/userdetails
34
- RUN mkdir -p /var/opt/atlas/i18n/userdetails \
32
+ RUN mkdir -p /opt/atlas/i18n \
33
+ && ln -s /config/config/userdetails/i18n/crowdin /opt/atlas/i18n/userdetails \
34
+ && mkdir -p /var/opt/atlas/i18n \
35
35
&& ln -s /config/config/userdetails/i18n/override /var/opt/atlas/i18n/userdetails
36
36
37
37
HEALTHCHECK CMD curl --fail --silent http://localhost:8080/userdetails/actuator/health || exit 1
You can’t perform that action at this time.
0 commit comments