Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy staging to production #89

Merged
merged 30 commits into from
Jan 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b97c6c7
Update subject value to `label`.
mathewjordan Jan 19, 2023
d1e1cfc
Merge pull request #74 from nulib/3417-manifest-subject-role
mathewjordan Jan 19, 2023
b51cb72
Reduce the OAI search scroll size to 250
bmquinn Jan 19, 2023
2e0d040
Merge pull request #75 from nulib/3483-oai-scroll-size
davidschober Jan 19, 2023
e179d94
Set OAI datestamp header using modified_date
bmquinn Jan 19, 2023
05d912e
Add Rights Statement to metadata
adamjarling Jan 19, 2023
3c587d9
Merge pull request #78 from nulib/oai-datestamp
bmquinn Jan 19, 2023
c2d6078
Add requireSource global to test helpers to make test imports less ugly
mbklein Jan 19, 2023
57c534f
Merge pull request #77 from nulib/3447-add-rights-statement-to-metadata
adamjarling Jan 19, 2023
ff443f4
Merge pull request #76 from nulib/3285-test-requires
mbklein Jan 20, 2023
a4e012a
Use the x-client-ip header for file set auth to allow proxying
mbklein Jan 20, 2023
58fceef
Merge pull request #80 from nulib/3487-reading-room-proxy
bmquinn Jan 23, 2023
57f491a
debug-reading-room-issues
kdid Jan 25, 2023
32db67b
Merge pull request #81 from nulib/debug-reading-room-issues
kdid Jan 25, 2023
1abc8c9
More temporary logging
kdid Jan 25, 2023
01f7ed8
Merge pull request #82 from nulib/more-logging
kdid Jan 25, 2023
2436029
Thumbnail requests account for reading room in Opensearch query
kdid Jan 26, 2023
b3725f5
Merge pull request #83 from nulib/fix-reading-room-thumbnail
kdid Jan 26, 2023
894cf1c
Add environment variable to getWorkByIdFunction in template
kdid Jan 26, 2023
b20e0fd
Add Honeybadger configuration and notifications
mbklein Jan 20, 2023
3cdc79d
Merge pull request #79 from nulib/3473-honeybadger
mbklein Jan 27, 2023
cce4c2d
Add/configure eslint and husky
mbklein Jan 19, 2023
7c747c5
Merge pull request #84 from nulib/lint-fix-precommit
mbklein Jan 28, 2023
fad0307
Fix missing backslash in deploy script
mbklein Jan 30, 2023
46fe16c
Redirect from /collections/ to /collections
mbklein Jan 30, 2023
9306258
Merge pull request #85 from nulib/3304-allow-trailing-slash-on-collec…
mbklein Jan 30, 2023
e74b853
Use the full baseUrl when redirecting
mbklein Jan 30, 2023
614efd5
Merge pull request #86 from nulib/3304-account-for-api-mount-path
mbklein Jan 30, 2023
e9d1b5b
Call nock.cleanAll() between tests to clear lingering interceptors
mbklein Jan 30, 2023
73d3ac3
Merge pull request #88 from nulib/reset-nock-between-tests
mbklein Jan 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
cache: "npm"
- run: npm ci
- name: Check code style
run: npm run prettier
run: npm run lint && npm run prettier
- name: Run tests
run: npm run test:coverage
- name: Validate OpenAPI spec
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,15 @@ jobs:
aws-region: us-east-1
- run: ln -s .tfvars/dc-api/samconfig.toml .
- run: sam build
- run: sam deploy --no-confirm-changeset --no-fail-on-empty-changeset --config-env $CONFIG_ENV
- run: |
sam deploy \
--no-confirm-changeset \
--no-fail-on-empty-changeset \
--config-env $CONFIG_ENV \
--config-file ./samconfig.toml \
--parameter-overrides HoneybadgerRevision=$HONEYBADGER_REVISION
env:
HONEYBADGER_REVISION: ${{ github.sha }}
docs-changed:
runs-on: ubuntu-latest
outputs:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,4 @@ $RECYCLE.BIN/
.vscode
/samconfig.toml
/env.json
/env.*.json
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lint && npm run prettier
Loading