From 687ce0c116049510badd6fe67e1ae07b640cd225 Mon Sep 17 00:00:00 2001 From: Brett Date: Sat, 1 Apr 2023 13:27:13 +1300 Subject: [PATCH 1/2] General Maintenance update SSL certs update .env values remove solr build directory --- .env | 4 +- .env.example | 2 +- nginx/setup/ckan-local.crt | 52 +++--- nginx/setup/ckan-local.key | 100 +++++------ solr/Dockerfile | 34 ---- solr/solrconfig-2.9.4.xml | 345 ------------------------------------- 6 files changed, 79 insertions(+), 458 deletions(-) delete mode 100755 solr/Dockerfile delete mode 100755 solr/solrconfig-2.9.4.xml diff --git a/.env b/.env index 02d6238..377177a 100644 --- a/.env +++ b/.env @@ -28,9 +28,9 @@ TEST_CKAN_DATASTORE_WRITE_URL=postgresql://ckan:ckan@db/datastore_test TEST_CKAN_DATASTORE_READ_URL=postgresql://datastore_ro:datastore@db/datastore_test # CKAN core -CKAN_VERSION=2.9.7 +CKAN_VERSION=2.10.0 CKAN_SITE_ID=default -CKAN_SITE_URL=http://ckan:5000 +CKAN_SITE_URL=https://localhost:8443 CKAN_PORT=5000 CKAN_PORT_HOST=5000 CKAN___BEAKER__SESSION__SECRET=CHANGE_ME diff --git a/.env.example b/.env.example index 02d6238..f31d1ee 100644 --- a/.env.example +++ b/.env.example @@ -28,7 +28,7 @@ TEST_CKAN_DATASTORE_WRITE_URL=postgresql://ckan:ckan@db/datastore_test TEST_CKAN_DATASTORE_READ_URL=postgresql://datastore_ro:datastore@db/datastore_test # CKAN core -CKAN_VERSION=2.9.7 +CKAN_VERSION=2.10.0 CKAN_SITE_ID=default CKAN_SITE_URL=http://ckan:5000 CKAN_PORT=5000 diff --git a/nginx/setup/ckan-local.crt b/nginx/setup/ckan-local.crt index 1ec62b3..745f95d 100644 --- a/nginx/setup/ckan-local.crt +++ b/nginx/setup/ckan-local.crt @@ -1,30 +1,30 @@ -----BEGIN CERTIFICATE----- -MIIFIDCCAwgCCQCr5Wob4TILEDANBgkqhkiG9w0BAQsFADBSMQswCQYDVQQGEwJE +MIIF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VMFtE/ylMbB1qR3MJBw0xCCG4zdZpUzvFfR6/wQ5FZ4DvXsbYnsxX/JhgV +sTqxkdnhhR0UsxuHyxGWVPPxS+5IZdxVETcjrMVeaK9PAHyBBSI4DQHYIJWoyZ3m +y9oQx2IvfVXpGptadU5EKWM6210= -----END CERTIFICATE----- diff --git a/nginx/setup/ckan-local.key b/nginx/setup/ckan-local.key index f6d34e1..a558d42 100644 --- a/nginx/setup/ckan-local.key +++ b/nginx/setup/ckan-local.key @@ -1,52 +1,52 @@ -----BEGIN PRIVATE KEY----- -MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQCybi7++5Pktv// -x0v7YYHezRdkdzUNrS7XQBESW/dA/poq4pRgTlIooqkqstircho1RIfP/o31Qqtq -SaX0dvm8TzdlgL42geCdljzQpqbj6bDnxVo9LRbBKPD5c02UnBncvYjodQr0hC4f -+LkzeoERtP3rZi55lvdR3bUJzgZM4U02Khpo/22FUREFtof4UnbMfADOxb96j38w -mofTDdyRMMLLW5b458gI1sUvfW2TXs/94ALp1/CTmLTQc+E4OwrooNRyIy6gRW8P -1YsYmzAwPSPG5WvsOqp6VGBcu9pcQJLbdhxTkffOGA3aMxctcV2nruGOlygiFvUf -y228l4GpWsBwBW+wpXVn52iqWxTNc/TF90BxbO3yPKX5AU3gMAlOER+V5h898RCM -m2mqu52HZIlQHBV4NnAdKgfqfwDKtNZjVn+lB8+wXvNfydF1uf3MDYsZhrSENtAf -uAlR8opAR5WeY9Tbrgg+aVCjg3wtg+NWc/82aPv167+FdPeQtMSy2XZEEDC0y1Kc -th92GBRG4MMXAbC/97bGOFFDkyUY4Dz1UyKiDoKKRZ6Bwkp8cXiPA9xxscLOB0+d -TxsfD8hU1tjYeFSnB8lSYGq0VIkxNpsFTunGyJ1nafY8bdZlULEmGJsXW6AFu4MB -+9GByhN6OjCtmwpWsb5Qz6EbAhzoQwIDAQABAoICAFRrWyLapoNcrcw3X9SksoxW -Xo3y9I/u8y12K12TU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1kPPGwWW/JGeGv0kqr8aM3kWm5gc2H +eu/nM5JbOvUKxnruia9I8BvJeeTTVytRQbv4kojEkZagHKYoZJ+ox0Cx1UmXeVI/ +vCufq4wqetJFNv05SNw7r+UObbc57BIPSvR3SGYmaZYkb8Wo/dZXF+vOAySnR8Go +3bihBMtzmspt9JQtPBDy84okQrojsfm8fyyMRZ/UtMrhvGYFd9bcMDsCY+jybRXa +E0CmRHNQumr+KBM8UT4YtWA+recgbtA= -----END PRIVATE KEY----- diff --git a/solr/Dockerfile b/solr/Dockerfile deleted file mode 100755 index feeb423..0000000 --- a/solr/Dockerfile +++ /dev/null @@ -1,34 +0,0 @@ -FROM solr:6.6.6 - -# Enviroment variables -ENV SOLR_CORE ckan -ENV SOLR_VERSION 6.6.6 -ENV CKAN_VERSION 2.9.4 -###TODO!!! CKAN_VERSION to be passed in as an ARG - -# root user for initial config -USER root - -# Create directories -RUN mkdir -p /opt/solr/server/solr/${SOLR_CORE}/conf && \ - mkdir -p /opt/solr/server/solr/${SOLR_CORE}/data && \ - mkdir -p /opt/solr/server/solr/${SOLR_CORE}/data/index - -# Add files -COPY solrconfig-${CKAN_VERSION}.xml /opt/solr/server/solr/${SOLR_CORE}/conf/solrconfig.xml -ADD https://raw.githubusercontent.com/ckan/ckan/ckan-${CKAN_VERSION}/ckan/config/solr/schema.xml \ -https://raw.githubusercontent.com/apache/lucene-solr/releases/lucene-solr/${SOLR_VERSION}/solr/server/solr/configsets/basic_configs/conf/currency.xml \ -https://raw.githubusercontent.com/apache/lucene-solr/releases/lucene-solr/${SOLR_VERSION}/solr/server/solr/configsets/basic_configs/conf/synonyms.txt \ -https://raw.githubusercontent.com/apache/lucene-solr/releases/lucene-solr/${SOLR_VERSION}/solr/server/solr/configsets/basic_configs/conf/stopwords.txt \ -https://raw.githubusercontent.com/apache/lucene-solr/releases/lucene-solr/${SOLR_VERSION}/solr/server/solr/configsets/basic_configs/conf/protwords.txt \ -https://raw.githubusercontent.com/apache/lucene-solr/releases/lucene-solr/${SOLR_VERSION}/solr/server/solr/configsets/data_driven_schema_configs/conf/elevate.xml \ -/opt/solr/server/solr/${SOLR_CORE}/conf/ - -# Create core.properties -RUN echo name=${SOLR_CORE} > /opt/solr/server/solr/${SOLR_CORE}/core.properties - -# Giving ownership to Solr -RUN chown -R ${SOLR_USER}:${SOLR_USER} /opt/solr/server/solr/${SOLR_CORE} - -# non-root user for runtime -USER ${SOLR_USER}:${SOLR_USER} diff --git a/solr/solrconfig-2.9.4.xml b/solr/solrconfig-2.9.4.xml deleted file mode 100755 index 8a3eade..0000000 --- a/solr/solrconfig-2.9.4.xml +++ /dev/null @@ -1,345 +0,0 @@ - - - - - - 6.0.0 - - - - - - - - - - - ${solr.data.dir:} - - - - - - - ${solr.lock.type:native} - - - - - - - - ${solr.ulog.dir:} - ${solr.ulog.numVersionBuckets:65536} - - - - ${solr.autoCommit.maxTime:15000} - false - - - - ${solr.autoSoftCommit.maxTime:-1} - - - - - - - 1024 - - - - - true - 20 - 200 - - - - - - - - - - false - 2 - - - - - - - - - - - - - - explicit - 10 - - - - - - - - explicit - json - true - - - - - - - - explicit - - - - - - - - _text_ - - - - - - - - add-unknown-fields-to-the-schema - - - - - - - - true - ignored_ - _text_ - - - - - - - - - - - explicit - true - - - - - - - text_general - - - default - _text_ - solr.DirectSolrSpellChecker - internal - 0.5 - 2 - 1 - 5 - 4 - 0.01 - - - - - - - - default - on - true - 10 - 5 - 5 - true - true - 10 - 5 - - - - spellcheck - - - - - - - - - - true - - - tvComponent - - - - - - - - - - true - false - - - - terms - - - - - - - string - elevate.xml - - - - - - - explicit - - - elevator - - - - - - - - - - - 100 - - - - - - 70 - 0.5 - [-\w ,/\n\"']{20,200} - - - - - - ]]> - ]]> - - - - - - - - - - - - ,, - ,, - ,, - ,, - ,]]> - ]]> - - - - - - - 10 - .,!? - - - - - - WORD - en - US - - - - - - - - - true - - - - - - - - - [^\w-\.] - _ - - - - - - - yyyy-MM-dd'T'HH:mm:ss.SSSZ - yyyy-MM-dd'T'HH:mm:ss,SSSZ - yyyy-MM-dd'T'HH:mm:ss.SSS - yyyy-MM-dd'T'HH:mm:ss,SSS - yyyy-MM-dd'T'HH:mm:ssZ - yyyy-MM-dd'T'HH:mm:ss - yyyy-MM-dd'T'HH:mmZ - yyyy-MM-dd'T'HH:mm - yyyy-MM-dd HH:mm:ss.SSSZ - yyyy-MM-dd HH:mm:ss,SSSZ - yyyy-MM-dd HH:mm:ss.SSS - yyyy-MM-dd HH:mm:ss,SSS - yyyy-MM-dd HH:mm:ssZ - yyyy-MM-dd HH:mm:ss - yyyy-MM-dd HH:mmZ - yyyy-MM-dd HH:mm - yyyy-MM-dd - - - - - - - text/plain; charset=UTF-8 - - - - ${velocity.template.base.dir:} - ${velocity.solr.resource.loader.enabled:true} - ${velocity.params.resource.loader.enabled:false} - - - - 5 - - - From 1cfff319bcb039ada0b15f9b897bb61785512ba8 Mon Sep 17 00:00:00 2001 From: Brett Date: Sat, 1 Apr 2023 14:11:55 +1300 Subject: [PATCH 2/2] Update build.yml take out solr build --- .github/workflows/build.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 95cde00..23dec98 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,14 +38,6 @@ jobs: push: false tags: kowhai/ckan-docker-postgresql:test-build-only - - name: Solr build - uses: docker/build-push-action@v2 - with: - context: ./solr - file: ./solr/Dockerfile - push: false - tags: kowhai/ckan-docker-solr:test-build-only - - name: CKAN build uses: docker/build-push-action@v2 with: