Skip to content

Commit

Permalink
Merge branch 'main' into prototype-spectable
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 committed Apr 22, 2021
2 parents 0d4e4ac + bb48cd8 commit 9ebb3a9
Show file tree
Hide file tree
Showing 46 changed files with 3,305 additions and 2,593 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
python-version: "3.8"

- name: Install Python poetry
uses: snok/[email protected].2
uses: snok/[email protected].4

- name: Install deployer
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-deployer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
python-version: "3.8"

- name: Install Python poetry
uses: snok/[email protected].2
uses: snok/[email protected].4
with:
virtualenvs-create: true
virtualenvs-in-project: true
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/prod-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
python-version: "3.8"

- name: Install Python poetry
uses: snok/[email protected].2
uses: snok/[email protected].4

- name: Install deployer
run: |
Expand Down Expand Up @@ -231,16 +231,7 @@ jobs:
# poetry run deployer upload --prune --archived-files ../content/archived.txt ../client/build
poetry run deployer upload ../client/build
poetry run deployer update-lambda-functions ./aws-lambda
# TODO: Depending on how long the upload takes, consider switching to
# use `--update` in this command. It will skip the index re-creation
# and "cake on". This is slightly faster and means no window of time
# where the Elasticsearch server is nearly empty.
# Consider doing something like a clean indexing on Sundays and
# use `--update` on all the other week days.
# poetry run deployer search-index ../client/build --priority-prefix=en-us/docs/web
# TEMPORARY
poetry run deployer search-index ../client/build --update
poetry run deployer search-index ../client/build
# Record the deployment in our Speedcurve account. This should always
# be done after the upload of the documents and Lambda functions, as well
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/stage-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
python-version: "3.8"

- name: Install Python poetry
uses: snok/[email protected].2
uses: snok/[email protected].4

- name: Install deployer
run: |
Expand Down Expand Up @@ -237,16 +237,7 @@ jobs:
# poetry run deployer upload --prune --archived-files ../content/archived.txt ../client/build
poetry run deployer upload ../client/build
poetry run deployer update-lambda-functions ./aws-lambda
# TODO: Depending on how long the upload takes, consider switching to
# use `--update` in this command. It will skip the index re-creation
# and "cake on". This is slightly faster and means no window of time
# where the Elasticsearch server is nearly empty.
# Consider doing something like a clean indexing on Sundays and
# use `--update` on all the other week days.
# poetry run deployer search-index ../client/build --priority-prefix=en-us/docs/web
# TEMPORARY
poetry run deployer search-index ../client/build --update
poetry run deployer search-index ../client/build
# Record the deployment in our Speedcurve account. This should always
# be done after the upload of the documents and Lambda functions, as well
Expand Down
Loading

0 comments on commit 9ebb3a9

Please sign in to comment.