Skip to content

Commit

Permalink
Remove more unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
NickPhura committed May 1, 2024
1 parent 59203cd commit 978fce7
Show file tree
Hide file tree
Showing 119 changed files with 4,511 additions and 20,845 deletions.
21 changes: 0 additions & 21 deletions README/PR Based Deploy Pipeline.md

This file was deleted.

21 changes: 0 additions & 21 deletions README/handlebars.md

This file was deleted.

9 changes: 0 additions & 9 deletions api/.pipeline/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ const phases = {
host: (isStaticDeployment && staticUrlsAPI.dev) || `${name}-${changeId}-a0ec71-dev.apps.silver.devops.gov.bc.ca`,
appHost: (isStaticDeployment && staticUrls.dev) || `${appName}-${changeId}-a0ec71-dev.apps.silver.devops.gov.bc.ca`,
env: 'dev',
elasticsearchURL: 'http://es01:9200',
elasticsearchEmlIndex: 'eml',
elasticsearchTaxonomyIndex: 'taxonomy_3.0.0',
itisSolrUrl: 'https://services.itis.gov',
s3KeyPrefix: (isStaticDeployment && 'biohub') || `local/${deployChangeId}/biohub`,
tz: config.timezone.api,
Expand All @@ -109,9 +106,6 @@ const phases = {
host: staticUrlsAPI.test,
appHost: staticUrls.test,
env: 'test',
elasticsearchURL: 'http://es01.a0ec71-dev:9200', // TODO: Update to test instance (es is not yet deployed to test)
elasticsearchEmlIndex: 'eml',
elasticsearchTaxonomyIndex: 'taxonomy_3.0.0',
itisSolrUrl: 'https://services.itis.gov',
s3KeyPrefix: 'biohub',
tz: config.timezone.api,
Expand All @@ -138,9 +132,6 @@ const phases = {
host: staticUrlsAPI.prod,
appHost: staticUrls.prod,
env: 'prod',
elasticsearchURL: 'http://es01:9200',
elasticsearchEmlIndex: 'eml',
elasticsearchTaxonomyIndex: 'taxonomy_3.0.0',
itisSolrUrl: 'https://services.itis.gov',
s3KeyPrefix: 'biohub',
tz: config.timezone.api,
Expand Down
4 changes: 0 additions & 4 deletions api/.pipeline/lib/api.deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ const apiDeploy = async (settings) => {
// Node
NODE_ENV: phases[phase].env || 'dev',
NODE_OPTIONS: phases[phase].nodeOptions,
// Elastic Search
ELASTICSEARCH_URL: phases[phase].elasticsearchURL,
ELASTICSEARCH_EML_INDEX: phases[phase].elasticsearchEmlIndex,
ELASTICSEARCH_TAXONOMY_INDEX: phases[phase].elasticsearchTaxonomyIndex,
// ITIS SOLR
ITIS_SOLR_URL: phases[phase].itisSolrUrl,
// S3 (Object Store)
Expand Down
4 changes: 0 additions & 4 deletions api/.pipeline/lib/queue.deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ const queueDeploy = async (settings) => {
APP_HOST: phases[phase].appHost,
// Node
NODE_ENV: phases[phase].env || 'dev',
// Elastic Search
ELASTICSEARCH_URL: phases[phase].elasticsearchURL,
ELASTICSEARCH_EML_INDEX: phases[phase].elasticsearchEmlIndex,
ELASTICSEARCH_TAXONOMY_INDEX: phases[phase].elasticsearchTaxonomyIndex,
// S3 (Object Store)
S3_KEY_PREFIX: phases[phase].s3KeyPrefix,
OBJECT_STORE_SECRETS: 'biohubbc-object-store',
Expand Down
9 changes: 0 additions & 9 deletions api/.pipeline/queue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ const phases = {
host: (isStaticDeployment && staticUrlsAPI.dev) || `${name}-${changeId}-a0ec71-dev.apps.silver.devops.gov.bc.ca`,
appHost: (isStaticDeployment && staticUrls.dev) || `${appName}-${changeId}-a0ec71-dev.apps.silver.devops.gov.bc.ca`,
env: 'dev',
elasticsearchURL: 'http://es01:9200',
elasticsearchEmlIndex: 'eml',
elasticsearchTaxonomyIndex: 'taxonomy_3.0.0',
s3KeyPrefix: 'biohub',
tz: config.timezone.api,
logLevel: 'debug',
Expand All @@ -110,9 +107,6 @@ const phases = {
host: staticUrlsAPI.test,
appHost: staticUrls.test,
env: 'test',
elasticsearchURL: 'http://es01.a0ec71-dev:9200', // TODO: Update to test instance (es is not yet deployed to test)
elasticsearchEmlIndex: 'eml',
elasticsearchTaxonomyIndex: 'taxonomy_3.0.0',
s3KeyPrefix: 'biohub',
tz: config.timezone.api,
logLevel: 'info',
Expand All @@ -137,9 +131,6 @@ const phases = {
host: staticUrlsAPI.prod,
appHost: staticUrls.prod,
env: 'prod',
elasticsearchURL: 'http://es01:9200',
elasticsearchEmlIndex: 'eml',
elasticsearchTaxonomyIndex: 'taxonomy_3.0.0',
s3KeyPrefix: 'biohub',
tz: config.timezone.api,
logLevel: 'info',
Expand Down
19 changes: 0 additions & 19 deletions api/.pipeline/templates/api.dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,6 @@ parameters:
required: true
value: 'dev'
- name: NODE_OPTIONS
# Elastic Search
- name: ELASTICSEARCH_URL
description: Platform Elasticsearch URL
required: true
value: 'http://es01:9200'
- name: ELASTICSEARCH_EML_INDEX
description: Platform Elasticsearch index for EML data
required: true
value: 'eml'
- name: ELASTICSEARCH_TAXONOMY_INDEX
description: Platform Elasticsearch Taxonomy Index
required: true
vale: 'taxonomy_3.0.0'
- name: TZ
description: Application timezone
required: false
Expand Down Expand Up @@ -262,12 +249,6 @@ objects:
value: ${NODE_ENV}
- name: NODE_OPTIONS
value: ${NODE_OPTIONS}
- name: ELASTICSEARCH_URL
value: ${ELASTICSEARCH_URL}
- name: ELASTICSEARCH_EML_INDEX
value: ${ELASTICSEARCH_EML_INDEX}
- name: ELASTICSEARCH_TAXONOMY_INDEX
value: ${ELASTICSEARCH_TAXONOMY_INDEX}
# ITIS SOLR
- name: ITIS_SOLR_URL
value: ${ITIS_SOLR_URL}
Expand Down
19 changes: 0 additions & 19 deletions api/.pipeline/templates/queue.dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,6 @@ parameters:
description: Application Environment type variable
required: true
value: 'dev'
# Elastic Search
- name: ELASTICSEARCH_URL
description: Platform Elasticsearch URL
required: true
value: 'http://es01:9200'
- name: ELASTICSEARCH_EML_INDEX
description: Platform Elasticsearch index for EML data
required: true
value: 'eml'
- name: ELASTICSEARCH_TAXONOMY_INDEX
description: Platform Elasticsearch Taxonomy Index
required: true
vale: 'taxonomy_3.0.0'
- name: TZ
description: Application timezone
required: false
Expand Down Expand Up @@ -149,12 +136,6 @@ objects:
value: ${CHANGE_ID}
- name: NODE_ENV
value: ${NODE_ENV}
- name: ELASTICSEARCH_URL
value: ${ELASTICSEARCH_URL}
- name: ELASTICSEARCH_EML_INDEX
value: ${ELASTICSEARCH_EML_INDEX}
- name: ELASTICSEARCH_TAXONOMY_INDEX
value: ${ELASTICSEARCH_TAXONOMY_INDEX}
- name: S3_KEY_PREFIX
value: ${S3_KEY_PREFIX}
- name: TZ
Expand Down
Loading

0 comments on commit 978fce7

Please sign in to comment.