Requirements and considerations for deploying the nextstrain.org server in production.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/resourceIndexer/coreStagingS3.js b/resourceIndexer/coreStagingS3.js | |
index ad1cce9d..78cc2284 100644 | |
--- a/resourceIndexer/coreStagingS3.js | |
+++ b/resourceIndexer/coreStagingS3.js | |
@@ -1,6 +1,7 @@ | |
import {logger} from './logger.js'; | |
import { SOURCE, VALID_AUSPICE_PATTERNS, INVALID_AUSPICE_PATTERNS, | |
DATESTAMP_REGEX, MAIN_DATASET_JSON } from './constants.js'; | |
+import { fetchInventoryRemote, fetchInventoryLocal, parseInventory } from './inventory.js'; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""\ | |
DOCSTRING\ | |
""" | |
print(__doc__) | |
if __debug__: | |
print("DEBUGGING") | |
if not __debug__: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
usage: restart-when-stalled <timeout> <cmd> | |
restart-when-stalled --help | |
Runs <cmd> via the shell ({SHELL}) and monitors its stdout. | |
If <timeout> seconds pass without output, the <cmd> process | |
is stopped and <cmd> is restarted. | |
The <cmd> process is stopped by sending SIGTERM, waiting up |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const config = JSON.parse(localStorage.getItem("localConfig_v2")); | |
for (const [teamId, team] of Object.entries(config.teams)) { | |
team.is_unified_user_client_enabled = false; | |
} | |
localStorage.setItem("localConfig_v2", JSON.stringify(config)); | |
window.location.reload(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"settings": { | |
"openEditInWindow": false, | |
"openEditInWindow.popup": false, | |
"windowPosition": {}, | |
"show-badge": true, | |
"disableAll": false, | |
"exposeIframes": false, | |
"exposeStyleName": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/a.json b/b.json | |
index 24c633a..5621bff 100644 | |
--- a/a.json | |
+++ b/b.json | |
@@ -1,12 +1,12 @@ | |
{ | |
- "key": "nextstrain-base-20230717T174555Z-hb0f4dca_0_locked.conda", | |
+ "key": "nextstrain-base-20230830T164409Z-hb0f4dca_0_locked.conda", | |
"value": { | |
- "sha256": "6c674e7a7336558cfee106b858e2999b818cd07fd7a83fd11a85f54302028810", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/aws/cognito/outputs.tf b/aws/cognito/outputs.tf | |
index db9e9c0d..3e7f55d2 100644 | |
--- a/aws/cognito/outputs.tf | |
+++ b/aws/cognito/outputs.tf | |
@@ -2,6 +2,7 @@ output "COGNITO_USER_POOL_ID" { | |
value = aws_cognito_user_pool.nextstrain_dot_org.id | |
} | |
+# XXX FIXME | |
output "COGNITO_BASE_URL" { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml | |
index 38bec9b..4bf6219 100644 | |
--- a/.github/workflows/ci.yaml | |
+++ b/.github/workflows/ci.yaml | |
@@ -65,5 +65,6 @@ jobs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
+ - run: make check | |
- run: ./devel/check-readme |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From be6036a097e3016f2c21e5f54847eb90d12efea1 Mon Sep 17 00:00:00 2001 | |
From: Thomas Sibley <[email protected]> | |
Date: Fri, 4 Aug 2023 11:02:22 -0700 | |
Subject: [PATCH] wip! soliloquizing bronchitis's | |
--- | |
.github/workflows/pathogen-repo-build.yaml | 68 +++++++++++++++++++++- | |
1 file changed, 66 insertions(+), 2 deletions(-) | |
diff --git a/.github/workflows/pathogen-repo-build.yaml b/.github/workflows/pathogen-repo-build.yaml |