Skip to content

Commit 189540e

Browse files
committed
Merge branch 'develop'
2 parents 162e57d + 3f0a339 commit 189540e

24 files changed

Lines changed: 156 additions & 91 deletions

File tree

Docker/metadig-worker/requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ meson-python
1010
ninja
1111
yara-python
1212
xarray[io]
13+
rasterio
1314
cftime
14-
metadig @ git+https://github.com/NCEAS/metadig-py.git
15+
geopandas
16+
metadig @ git+https://github.com/NCEAS/metadig-py@develop

helm/metadig-controller/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ version: 1.0.8
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "v.3.2.1"
24+
appVersion: "v.3.2.2"

helm/metadig-controller/config.dev/metadig.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
DataONE.authToken = not-set in config
55
cnStage.subjectId = CN=urn:node:cnStage,DC=dataone,DC=org
66
cnStage.serviceUrl = https://cn-stage.test.dataone.org/cn
7+
cnSandbox.subjectId = CN=urn:node:cnSandbox,DC=dataone,DC=org
8+
cnSandbox.serviceUrl = https://cn-sandbox.test.dataone.org/cn
79
CN.subjectId = CN=urn:node:cnStage,DC=dataone,DC=org
810
CN.serviceUrl = https://cn-stage.test.dataone.org/cn
911
mnTestARCTIC.subjectId = CN=urn:node:mnTestARCTIC,DC=dataone,DC=org
@@ -13,11 +15,9 @@ mnTestKNB.serviceUrl = https://dev.nceas.ucsb.edu/knb/d1/mn
1315
RabbitMQ.host = metadig-rabbitmq.metadig.svc.cluster.local
1416
RabbitMQ.port = 5672
1517
RabbitMQ.username = metadig
16-
RabbitMQ.password = quality
1718
solr.location = http://metadig-solr.metadig.svc.cluster.local:8983/solr
1819
jdbc.url = jdbc:postgresql://pooler-metadig-pg.metadig.svc.cluster.local:5432/metadig?sslmode=disable
1920
postgres.user = metadig
20-
postgres.passwd = metadig
2121
task.file = /opt/local/metadig/taskList.csv
2222
quality.serviceUrl = http://metadig-controller.metadig.svc:8080/quality
2323
metadig.base.directory = /opt/local/metadig

helm/metadig-controller/config/metadig.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@ mnStageUCSB2.serviceUrl = https://mn-stage-ucsb-2.test.dataone.org/metacat/d1/mn
3131
RabbitMQ.host = metadig-rabbitmq.metadig.svc.cluster.local
3232
RabbitMQ.port = 5672
3333
RabbitMQ.username = metadig
34-
RabbitMQ.password = quality
3534
#solr.location = http://k8s-ctrl-1.dataone.org:8983/solr
3635
solr.location = http://metadig-solr.metadig.svc.cluster.local:8983/solr
3736
# PostgreSQL connection information
3837
postgres.user = metadig
39-
postgres.passwd = metadig
4038
jdbc.url = jdbc:postgresql://metadig-pg-pooler.metadig.svc.cluster.local:5432/metadig?sslmode=disable
4139
# The metadig-scheduler task file
4240
task.file = /opt/local/metadig/taskList.csv

helm/metadig-controller/templates/deployment.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@ spec:
4949
# If 'false", the secret must exist before the pod can start
5050
# App versions before v2.3.4 will read this value from a config file, not the env var.
5151
optional: true
52+
- name: RABBITMQ_AUTH
53+
valueFrom:
54+
secretKeyRef:
55+
name: metadig-rmq-auth
56+
key: rabbitmq-password
57+
- name: PG_AUTH
58+
valueFrom:
59+
secretKeyRef:
60+
name: metadig-pg
61+
key: password
5262
volumeMounts:
5363
- name: metadig-pv
5464
mountPath: {{ .Values.persistence.mountPath }}

helm/metadig-controller/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ podAnnotations: {}
3939

4040
podSecurityContext:
4141
runAsUser: 59990
42-
runAsGroup: 59990
42+
runAsGroup: 59997
4343
fsGroup: 59990
44+
supplementalGroups:
45+
- 1004
4446

4547
securityContext: {}
4648
# capabilities:

helm/metadig-rabbitmq/rabbitmq-values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ image:
33
repository: bitnamilegacy/rabbitmq
44

55
auth:
6-
username: metadig
7-
password: quality
6+
existingPasswordSecret: metadig-rmq-auth
7+
username: metadig
88

99
replicaCount: 6
1010

helm/metadig-scheduler/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ version: 1.0.7
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "v.3.2.1"
24+
appVersion: "v.3.2.2"

helm/metadig-scheduler/config.dev/taskList.csv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ task-type,task-name,task-group,cron-schedule,params
1919
# - requestType: for score tasks, determine type of portal processing ("portal" or "node")
2020
#
2121
# Dataset quality scoring tasks
22-
#quality,quality-test-arctic,metadig,5 0/1 * * * ?,"^eml.*|^http.*eml.*;arctic.data.center.suite-1.2.0;urn:node:mnTestARCTIC;2024-05-01T00:00:00.00Z;1;1000"
23-
quality,quality-test-dataone-fair,metadig,10 0/1 * * * ?,"^eml.*|^http.*eml.*|.*www.isotc211.org.*|^science-on-schema.org.*;FAIR-suite-0.5.0;urn:node:mnTestARCTIC;2025-09-01T00:00:00.00Z;1;1000"
24-
quality,quality-test-data-suite,metadig,15 0/1 * * * ?,"^eml.*|^http.*eml.*;data-suite-0.1.0;urn:node:mnTestARCTIC;2024-11-01T00:00:00.00Z;1;1000"
25-
#quality,quality-test-essdive,metadig,20 0/1 * * * ?,"^eml.*|^http.*eml.*;ess-dive.data.center.suite-1.3.0;urn:node:mnTestARCTIC;2025-10-01T00:00:00.00Z;1;1000"
22+
quality,quality-test-arctic,metadig,5 0/1 * * * ?,"^eml.*|^http.*eml.*;arctic.data.center.suite-1.2.0;urn:node:mnTestARCTIC;2024-05-01T00:00:00.00Z;1;1000"
23+
quality,quality-test-dataone-fair,metadig,10 0/1 * * * ?,"^eml.*|^http.*eml.*|.*www.isotc211.org.*|^science-on-schema.org.*;FAIR-suite-0.5.0;urn:node:cnSandbox;2025-09-01T00:00:00.00Z;1;1000"
24+
quality,quality-test-data-suite,metadig,15 0/1 * * * ?,"^eml.*|^http.*eml.*;data-suite-0.2.0;urn:node:mnTestARCTIC;2024colnam-11-01T00:00:00.00Z;1;1000"
25+
2626

2727
#
2828
# Portal scoring tasks

helm/metadig-scheduler/templates/deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ spec:
4545
# If 'false", the secret must exist before the pod can start
4646
# App versions before v2.3.4 will read this value from a config file, not the env var.
4747
optional: true
48+
- name: PG_AUTH
49+
valueFrom:
50+
secretKeyRef:
51+
name: metadig-pg
52+
key: password
4853
volumeMounts:
4954
- name: metadig-pv
5055
mountPath: {{ .Values.persistence.mountPath }}

0 commit comments

Comments
 (0)