Skip to content

Commit

Permalink
Merge pull request #148 from DataONEorg/feature-141-3.1.0-release-prep
Browse files Browse the repository at this point in the history
Feature 141 3.1.0 release prep
  • Loading branch information
artntek authored Oct 28, 2024
2 parents 0cb65b1 + 812df9a commit e528ada
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN groupadd -g 1000 d1indexer && useradd -u 1000 -g 1000 d1indexer \

# The most recently built jar file is copied from the maven build directory to this dir by maven, so that
# it can be copied to the image.
COPY ../target/dataone-index-worker-${TAG}-shaded.jar .
COPY ./target/dataone-index-worker-${TAG}-shaded.jar .
COPY ./docker/entrypoint.sh .

# Change the ownership of the jar and sh files
Expand Down
2 changes: 1 addition & 1 deletion helm/config/dataone-indexer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ index.solr.versionConflict.max.attempts={{ default 50 .Values.idxworker.solrVerC

# Storage properties
storage.className={{ default "org.dataone.hashstore.filehashstore.FileHashStore" .Values.idxworker.storage.hashStoreClassName }}
storage.hashstore.rootDirectory={{ default "./target/hashstore" .Values.idxworker.storage.hashStoreRootDir }}
storage.hashstore.rootDirectory={{ default "/var/metacat/hashstore" .Values.idxworker.storage.hashStoreRootDir }}
storage.hashstore.defaultNamespace={{ default "https://ns.dataone.org/service/types/v2.0#SystemMetadata" .Values.idxworker.storage.hashStoreDefaultNamespace }}
# The following three properties must NOT be modified after the hash store is initialized
storage.hashstore.fileNameAlgorithm={{ default "SHA-256" .Values.idxworker.storage.hashStoreAlgorithm }}
Expand Down
28 changes: 25 additions & 3 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,23 @@ global:
## @section Dataone-Indexer Application-Specific Properties

image:
## @param image.repository repository that the image will be pulled from
##
repository: ghcr.io/dataoneorg/dataone-index-worker

## @param image.pullPolicy image pull policy - Always, Never, or IfNotPresent
##
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
#tag: ""

## @param image.tag Overrides the image tag. Will default to the chart appVersion if set to ""
##
tag: ""

## @param image.debug Specify if container debugging should be enabled (sets log level to "DEBUG")
## Set to true if you would like to see extra information in metacat/tomcat logs.
## * * WARNING - FOR TESTING ONLY! * * May result in secrets being printed to logs in plain text.
##
debug: false

imagePullSecrets: []

Expand Down Expand Up @@ -181,6 +194,15 @@ idxworker:
##
tripleDbDirectory: /etc/dataone/tdb-cache

storage:
hashStoreClassName: "org.dataone.hashstore.filehashstore.FileHashStore"
hashStoreRootDir: "/var/metacat/hashstore"
hashStoreDefaultNamespace: "https://ns.dataone.org/service/types/v2.0#SystemMetadata"
# The following three properties must NOT be modified after the hashstore is initialized
hashStoreAlgorithm: "SHA-256"
hashStoreDirWidth: 2
hashStoreDirDepth: 3

## @section RabbitMQ Bitnami Sub-Chart Configuration
##
rabbitmq:
Expand All @@ -200,7 +222,7 @@ rabbitmq:
## @param rabbitmq.existingPasswordSecret the k8s secret holding the rabbitmq password
## (must be associated with key: 'rabbitmq-password')
##
existingPasswordSecret: ""
existingPasswordSecret: "ssss"


## @section Solr Bitnami Sub-Chart Configuration
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ appender.consoleAppender.layout.pattern=dataone-indexer %d{yyyyMMdd-HH:mm:ss}: [
##################################
# the root logger configuration #
##################################
rootLogger.level=INFO
rootLogger.level={{ ternary "DEBUG" "ERROR" .Values.image.debug }}
rootLogger.appenderRef.console.ref=consoleAppender

################################################################################
Expand Down

0 comments on commit e528ada

Please sign in to comment.