Skip to content

Commit

Permalink
fix: add protocol to url, run all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shadrach-tayo committed Dec 17, 2024
1 parent 0d77565 commit 3a31ee9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion desci-server/kubernetes/deployment_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ spec:
export ELASTIC_SEARCH_USER="{{ .Data.ELASTIC_SEARCH_USER }}"
export ELASTIC_SEARCH_PW="{{ .Data.ELASTIC_SEARCH_PW }}"
export OPEN_ALEX_DATABASE_URL="{{ .Data.OPEN_ALEX_DATABASE_URL }}"
CLOUDFLARE_WORKER_API=nodes-dev-sync.desci.com
CLOUDFLARE_WORKER_API=https://nodes-dev-sync.desci.com
CLOUDFLARE_WORKER_API_SECRET=auth-token
ENABLE_WORKERS_API=true
export DEBUG_TEST=0;
Expand Down
2 changes: 1 addition & 1 deletion desci-server/kubernetes/deployment_prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ spec:
export ELASTIC_SEARCH_USER="{{ .Data.ELASTIC_SEARCH_USER }}"
export ELASTIC_SEARCH_PW="{{ .Data.ELASTIC_SEARCH_PW }}"
export OPEN_ALEX_DATABASE_URL="{{ .Data.OPEN_ALEX_DATABASE_URL }}"
CLOUDFLARE_WORKER_API=nodes-sync.desci.com
CLOUDFLARE_WORKER_API=https://nodes-sync.desci.com
CLOUDFLARE_WORKER_API_SECRET=auth-token
ENABLE_WORKERS_API=true
export IGNORE_LINE=0;
Expand Down
2 changes: 1 addition & 1 deletion desci-server/kubernetes/deployment_staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ spec:
export ELASTIC_SEARCH_USER="{{ .Data.ELASTIC_SEARCH_USER }}"
export ELASTIC_SEARCH_PW="{{ .Data.ELASTIC_SEARCH_PW }}"
export OPEN_ALEX_DATABASE_URL="{{ .Data.OPEN_ALEX_DATABASE_URL }}"
CLOUDFLARE_WORKER_API=nodes-sync.desci.com
CLOUDFLARE_WORKER_API=https://nodes-sync.desci.com
CLOUDFLARE_WORKER_API_SECRET=auth-token
ENABLE_WORKERS_API=true
export DEBUG_TEST=0;
Expand Down
2 changes: 1 addition & 1 deletion desci-server/src/services/repoService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { NodeUuid } from './manifestRepo.js';

const logger = parentLogger.child({ module: 'Repo Service' });

const cloudflareWorkerApi = 'nodes-dev-sync.desci.com'; // process.env.CLOUDFLARE_WORKER_API;
const cloudflareWorkerApi = 'https://nodes-dev-sync.desci.com'; // process.env.CLOUDFLARE_WORKER_API;
const cloudflareWorkerApiSecret = 'auth-token'; // process.env.CLOUDFLARE_WORKER_API_SECRET;
const enableWorkersApi = true; // process.env.ENABLE_WORKERS_API == 'true';

Expand Down
2 changes: 1 addition & 1 deletion desci-server/test/integration/automerge.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const createDraftNode = async (user: User, baseManifest: ResearchObjectV1, baseM
return { node: updatedNode || node, documentId: response?.documentId };
};

describe.only('Automerge Integration', () => {
describe('Automerge Integration', () => {
let user: User;
let unauthedUser: User;
// let node: Node;
Expand Down
2 changes: 1 addition & 1 deletion desci-server/test/integration/data.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const createDraftNode = async (user: User, baseManifest: ResearchObjectV1, baseM
return { node: updatedNode || node, documentId: response?.documentId };
};

describe.only('Data Controllers', () => {
describe('Data Controllers', () => {
let user: User;
let unauthedUser: User;
// let node: Node;
Expand Down

0 comments on commit 3a31ee9

Please sign in to comment.