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 to test #695

Merged
merged 905 commits into from
Jun 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
905 commits
Select commit Hold shift + click to select a range
163c8bb
feat(index): update Spanish copy on Index page
machikoyasuda May 16, 2022
79c6473
feat(agency index): update Spanish on Agency Index page
machikoyasuda May 16, 2022
b5b652e
feat(eligibility start): add Spanish copy for eligibility start page
machikoyasuda May 16, 2022
670f834
feat: configure azure deploy for dev env
thekaveman May 16, 2022
82acff6
Feat: configure Azure deploy for dev env (#587)
thekaveman May 16, 2022
d056c6a
fix: use the correct azure deploy step
thekaveman May 16, 2022
bce8765
Fix: use the correct azure deploy step (#588)
thekaveman May 17, 2022
9bc1dbb
fix: remove azure deploy steps
thekaveman May 17, 2022
93f9dad
Fix: remove azure deploy steps (#589)
thekaveman May 17, 2022
2796b10
chore: temp change to trigger CI
thekaveman May 17, 2022
7242668
Chore: temp change to trigger CI (#590)
thekaveman May 17, 2022
22b5a42
feat(enrollment): connect card page copy"
machikoyasuda May 17, 2022
df39acd
feat(success page): Copy for Success Page
machikoyasuda May 17, 2022
c406c4e
feat(Ayuda): copy para el sitio de web de Ayuda para la herramienta d…
machikoyasuda May 17, 2022
37fa01a
feat: try azure deploy from actions again
thekaveman May 17, 2022
3c533c8
Revert "chore: temp change to trigger CI"
thekaveman May 17, 2022
2d9e186
Feat: try Azure deploy again (#592)
thekaveman May 17, 2022
a65307d
Mobile: Set Image size and place Sign Out Link (#544)
machikoyasuda May 17, 2022
a02d336
fix: remove deploy to Azure web apps
thekaveman May 17, 2022
5404ae6
chore: temp change on the UI
thekaveman May 17, 2022
b5fe282
Fix: remove deploy to Azure web apps (#593)
thekaveman May 17, 2022
70c444a
chore: undo temp change in UI
thekaveman May 17, 2022
e66aa52
Chore: undo temp change in UI (#594)
thekaveman May 17, 2022
37202b0
feat(success): enrollment success final page - update Spanish text
machikoyasuda May 18, 2022
56e76b7
test: update spec
machikoyasuda May 18, 2022
79b1361
Mobile - Eligibility:Start - Add more space for text, Make links butt…
machikoyasuda May 18, 2022
f8b5e52
Tests: Eligibility API (#575)
angela-tran May 18, 2022
c28c9ff
Fix: Add Spanish copy for all pages (#591)
machikoyasuda May 18, 2022
85d56f4
fix(font/spacing): eligibility start - increase font size to 18; adju…
machikoyasuda May 18, 2022
12dd7f1
feat(eligibility start): add iPad horizontal and 13inch+ screen width…
machikoyasuda May 18, 2022
a4486b2
fix: remove
machikoyasuda May 18, 2022
7260c7b
fix(base): use 1st sentence of help page for meta description
machikoyasuda May 19, 2022
983acb5
feat(enrollment success): redesign page to have no image
machikoyasuda May 19, 2022
deba8a4
Fix: Use 1st sentence of help page for meta description (#601)
machikoyasuda May 19, 2022
6d83640
refactor(views): refactor view method Page building
machikoyasuda May 19, 2022
f76fc54
Enrollment Success: Redesign final logged out page to have no image (…
machikoyasuda May 19, 2022
e4dbd63
chore(github): add bug report template
machikoyasuda May 19, 2022
f792462
chore(github): add user story template
machikoyasuda May 19, 2022
031a134
chore(github): add issue template for eng task
machikoyasuda May 19, 2022
7012508
chore(github): add deliverable issue template
machikoyasuda May 19, 2022
d3da7e4
chore(github): add epic decision record issue template
machikoyasuda May 19, 2022
55d0b17
refactor: remove internal EV API code and add package dependency
angela-tran May 20, 2022
dad01f8
chore(github): clean up User Story template
thekaveman May 20, 2022
bb15928
chore(github): clean up task
thekaveman May 20, 2022
83617b0
chore(github): clean up bug report
thekaveman May 20, 2022
35a1075
chore(github): clarify deliverable description
thekaveman May 20, 2022
e9bfbd9
chore(github): clean up epic
thekaveman May 20, 2022
a09ded1
Chore: Add new GitHub issue templates (#605)
machikoyasuda May 20, 2022
a813582
chore(deps): bump jwcrypto from 1.2 to 1.3
dependabot[bot] May 20, 2022
b374f63
fix(github): typo in labels frontmatter
thekaveman May 20, 2022
f0030db
refactor: update usage of Client and 'verify' for recent API change
angela-tran May 20, 2022
683e95d
Fix: typo in labels frontmatter in Epic issue template (#607)
thekaveman May 20, 2022
117ab04
refactor: update import statement to reflect API's module renaming
angela-tran May 20, 2022
b19c6a2
refactor: update parameter names passed to Client.verify
angela-tran May 20, 2022
45ea673
Merge pull request #584 from cal-itp/dependabot/pip/jwcrypto-1.3
thekaveman May 20, 2022
92aabe8
refactor(tests): clean up test code now that eligibility-api's available
angela-tran May 20, 2022
8504d16
chore: pull latest eligibility-api now that needed changes are in main
angela-tran May 20, 2022
42b30e8
chore(deps-dev): bump cypress from 9.6.1 to 9.7.0 in /tests/cypress
dependabot[bot] May 23, 2022
7e0c8f2
Merge pull request #620 from cal-itp/dependabot/npm_and_yarn/tests/cy…
thekaveman May 24, 2022
df5ae84
Eligibility Start: Increase font size, adjust spacing (#600)
machikoyasuda May 24, 2022
60204e2
Refactor: use eligibility-api GitHub repo (#606)
angela-tran May 24, 2022
6f93bab
chore(settings): move CSP config to the end
thekaveman May 18, 2022
8a18786
refactor(env): better default CSP configuration
thekaveman May 18, 2022
e37dcb4
refactor(env): remove default recaptcha config
thekaveman May 18, 2022
00bb57f
refactor(env): move default OAuth settings
thekaveman May 18, 2022
0afff1b
refactor(env): improve default rate limit settings
thekaveman May 18, 2022
0c714e8
refactor(env): hardcode django database name
thekaveman May 18, 2022
14c24a5
chore(env): remove mock default amplitude API key
thekaveman May 18, 2022
bed6f32
chore(env): update comment
thekaveman May 18, 2022
d1daa6f
refactor(env): simplify settings for localhost
thekaveman May 18, 2022
1b8d064
refactor(env): remove default admin setting
thekaveman May 18, 2022
a803e55
refactor(env): move debug setting to launch.json
thekaveman May 18, 2022
78c916b
docs(configuration): update env vars and settings
thekaveman May 18, 2022
2951247
fix(devcontainer): run docs site on 8001
thekaveman May 18, 2022
0850e50
refactor(tests): reuse .env.sample for Cypress UI tests
thekaveman May 18, 2022
18a08aa
chore(env): remove default log level variable
thekaveman May 18, 2022
3f15bc3
docs: link to configuration section
thekaveman May 19, 2022
6f35d8f
fix(compose): switch docs internal port
thekaveman May 23, 2022
a3865ca
chore(env): remove .env.sample
thekaveman May 24, 2022
adc2395
chore(tests): remove dependency on .env.sample
thekaveman May 24, 2022
915bb0c
docs: update now that .env is optional
thekaveman May 24, 2022
08c90b8
chore(pytest): run script doesn't need to ref DJANGO_LOCAL_PORT
thekaveman May 24, 2022
49ea508
chore(cypress): remove unused npm package
thekaveman May 24, 2022
d3e4739
Refactor: remove .env.sample, better default settings (#598)
thekaveman May 24, 2022
cd9fa8c
feat(enrollment success): use happybus.svg instead, delete success.sv…
machikoyasuda May 26, 2022
72c4314
refactor: update models and tests to reflect latest API changes
angela-tran May 24, 2022
8cec392
refactor: remove jwcrypto and cryptography from requirements.txt
angela-tran May 24, 2022
ee34750
Enrollment Success: Swap out success image (#628)
machikoyasuda May 26, 2022
6e49917
feat(footer): footer links on mobile are now full-width, header on mo…
machikoyasuda May 27, 2022
4707690
chore: remove eligibility-api commit hash from requirements.txt
angela-tran May 27, 2022
641c0b8
Refactor: remove jwcrypto (#624)
angela-tran May 31, 2022
d359371
docs: must create an .env file
thekaveman May 31, 2022
86281b7
Docs: update Getting Started w/.env file instructions (#630)
thekaveman May 31, 2022
1452114
feat(footer): increase link height to 50px
machikoyasuda Jun 1, 2022
a6f889a
chore: merge dev
machikoyasuda Jun 1, 2022
854b061
feat: new footer colors
machikoyasuda Jun 2, 2022
86c6bd0
chore(deps-dev): bump cypress from 9.7.0 to 10.0.2 in /tests/cypress
dependabot[bot] Jun 2, 2022
6005c17
chore: migrate config
machikoyasuda Jun 3, 2022
64271bc
chore: rename files for cypress migration
machikoyasuda Jun 3, 2022
ad8f592
refactor(eligibility): API helper simplifies views
thekaveman Jun 3, 2022
4f637e8
refactor(tests): move set_agency, set_verifier to conftest
thekaveman Jun 3, 2022
e5a4afa
feat(tests): form fixture for testing API module
thekaveman Jun 3, 2022
4391a81
feat(tests): helper mocks client.verify
thekaveman Jun 3, 2022
4a831cf
chore(tests): stub API helper tests
thekaveman Jun 3, 2022
420b95d
test(eligibility/api): error response
thekaveman Jun 3, 2022
1dd0e2a
test(eligibility/api): verified types response
thekaveman Jun 3, 2022
7b3bb19
test(eligibility/api): no verified types response
thekaveman Jun 3, 2022
9fe9fae
chore(deps-dev): bump cypress from 9.7.0 to 10.0.2 in /tests/cypress …
machikoyasuda Jun 6, 2022
052cc6f
fix(ci): change run.sh to use --import-mode=importlib in running pytest
angela-tran Jun 6, 2022
6dd97ca
Fix(ci): use importlib as import mode (#649)
angela-tran Jun 6, 2022
c0d18a5
chore(deps-dev): bump cypress from 10.0.2 to 10.0.3 in /tests/cypress
dependabot[bot] Jun 6, 2022
c2c1fc3
chore(deps): bump pre-commit/action from 2.0.3 to 3.0.0
dependabot[bot] Jun 6, 2022
2170e0f
Merge pull request #646 from cal-itp/dependabot/github_actions/pre-co…
thekaveman Jun 6, 2022
a9b1551
Refactor: bring back eligibility API helper module (#639)
thekaveman Jun 6, 2022
2e4cea1
fix: upgrade Mermaid
afeld Jun 3, 2022
4609284
feature: add diagrams of the Azure architecture
afeld Jun 3, 2022
5e667c9
fix: clarify relationship between user/browser and Amplitude
afeld Jun 6, 2022
0412b19
Merge pull request #638 from cal-itp/feat/azure-docs
afeld Jun 7, 2022
68ca55f
feat(mobile): css - all action buttons on mobile are 72px height. log…
machikoyasuda Jun 7, 2022
0a0c098
Mobile: All action buttons on mobile are now 72px height (#651)
machikoyasuda Jun 7, 2022
0c867ef
Merge branch 'dev' into feat/539--mobile-footer
machikoyasuda Jun 7, 2022
1bc86c0
Merge pull request #647 from cal-itp/dependabot/npm_and_yarn/tests/cy…
angela-tran Jun 7, 2022
04b487f
fix: add purple for focus and active as well
machikoyasuda Jun 7, 2022
a4884f0
Mobile: New footer design and text colors (#629)
machikoyasuda Jun 7, 2022
7d61ec7
chore(deps): bump actions/setup-python from 3 to 4
dependabot[bot] Jun 8, 2022
864f6cd
chore(devcontainer): remove S3 services
thekaveman May 19, 2022
b271d6f
refactor(ci): remove AWS deploy steps, task template
thekaveman May 19, 2022
79706fd
docs(deployment): remove AWS, add Azure
thekaveman May 19, 2022
72e4236
docs(config): remove AWS environment variables
thekaveman Jun 8, 2022
126a0a1
fix(ci): use python-version-file w/setup-python@v4
thekaveman Jun 9, 2022
9f8e809
Chore: remove AWS deployment (#603)
thekaveman Jun 9, 2022
53a360f
chore(init): delete existing database file
thekaveman Jun 6, 2022
db5feb0
docs(configuration): simplify init command
thekaveman Jun 6, 2022
57e7950
Merge pull request #652 from cal-itp/dependabot/github_actions/action…
thekaveman Jun 9, 2022
14c5255
Chore: init deletes existing db (#657)
thekaveman Jun 9, 2022
b8dc759
chore(deps): bump requests from 2.27.1 to 2.28.0
dependabot[bot] Jun 9, 2022
d5860d5
feature: add uptime monitoring via Terraform
afeld May 24, 2022
aed0499
feature: add alerting for uptime monitoring
afeld May 24, 2022
d8c7cb3
fix: move Terraform state to Azure
afeld Jun 2, 2022
68de550
fix: send uptime alerts to Slack
afeld Jun 2, 2022
a387ed0
refactor: compute the failed location count programmatically
afeld Jun 2, 2022
afe454d
refactor: make the uptime check a module
afeld Jun 3, 2022
47a37ca
feat: add ping checks for test and production
afeld Jun 3, 2022
128cfa6
refactor: move webtest configuration into its own file
afeld Jun 3, 2022
2be4e15
chore: add documentation Terraform in Azure
afeld Jun 3, 2022
81b275c
fix: switch Terraform to Azure Production Subscription
afeld Jun 9, 2022
c18e99c
feat(redirect): when there is only 1 verifier and 1 agency, redirect …
machikoyasuda Jun 9, 2022
8a95390
test(enrollment): single verifier, no autthprovider flow test - remov…
machikoyasuda Jun 9, 2022
37348f1
test(eligibility): When there is only 1 verifier, skip Get Started pages
machikoyasuda Jun 9, 2022
2315e42
chore: clean up comments
machikoyasuda Jun 9, 2022
e193198
Merge pull request #623 from cal-itp/feat/uptime-monitor
afeld Jun 10, 2022
c414e8e
test(pytest): testing view when there is only 1 agency with 1 verifier
machikoyasuda Jun 10, 2022
d971bfc
chore: get pytests to run in VSCode
machikoyasuda Jun 10, 2022
3d3ebf7
test(pytest): fix test case by using follow=True and redirect chain
machikoyasuda Jun 10, 2022
5eb5065
refactor(pytest): use [-1] to get last redirect
machikoyasuda Jun 10, 2022
71efc68
feat(eligibility-start): redesign to a one-column layout
machikoyasuda Jun 10, 2022
b7f1e17
chore(deps-dev): bump cypress from 10.0.3 to 10.1.0 in /tests/cypress
dependabot[bot] Jun 10, 2022
3da7739
feat: add in new copy
machikoyasuda Jun 10, 2022
02646c0
feat: add bullet points
machikoyasuda Jun 10, 2022
6d7738a
refactor: clean up CSS
machikoyasuda Jun 10, 2022
e261e40
feat: add TODO for Spanish trans
machikoyasuda Jun 10, 2022
fa4a6b6
feat: add button link
machikoyasuda Jun 10, 2022
89833c9
feat: add correct icon, correct image
machikoyasuda Jun 10, 2022
04111bf
chore: better integrate infrastructure documentation
afeld Jun 13, 2022
2df60cb
chore: speed up pre-commit initialization
afeld Jun 13, 2022
9ae8f2a
chore: don't install Cypress in devcontainer
afeld Jun 13, 2022
41a3a91
Merge pull request #659 from cal-itp/dependabot/pip/requests-2.28.0
thekaveman Jun 13, 2022
5aebbf1
Merge pull request #665 from cal-itp/dependabot/npm_and_yarn/tests/cy…
thekaveman Jun 13, 2022
a4a0906
Merge pull request #670 from cal-itp/chore/infra-docs
afeld Jun 13, 2022
88d15d0
IAL2 Login.gov Flow: Redirect users to Eligibility Start (#661)
machikoyasuda Jun 13, 2022
15164dc
feat(privacy-policy): link to CDT privacy policy
machikoyasuda Jun 13, 2022
05b9dae
Link to CDT privacy policy (#673)
machikoyasuda Jun 13, 2022
5f6c16a
Merge pull request #671 from cal-itp/chore/faster-devcontainer-start
afeld Jun 13, 2022
eb2a486
fix: remove workaround for Terraform Azure permissions issue
afeld Jun 10, 2022
ed9d258
chore: move Key Vault resource into Terraform
afeld Jun 10, 2022
e59e93d
chore: have Application Insights and the Log Analytics workspace be m…
afeld Jun 10, 2022
a019353
chore: rename the resource group resource to be more descriptive
afeld Jun 10, 2022
9eb3723
chore: have the dev Application Insights be managed by Terraform
afeld Jun 10, 2022
a604c87
chore: manage the storage account in Terraform
afeld Jun 10, 2022
f6a94f6
chore: manage App Service in Terraform
afeld Jun 10, 2022
7151174
Merge pull request #662 from cal-itp/feat/more-iac
afeld Jun 13, 2022
ba57526
feat(css): all links should now have regular underline, not dotted un…
machikoyasuda Jun 13, 2022
4607e78
chore(devcontainer): remove node/npm installation steps
thekaveman Jun 13, 2022
a2700e6
feat(link): new mobile link style
machikoyasuda Jun 13, 2022
7ccb487
fix: move . out of strong
machikoyasuda Jun 13, 2022
ec1fdda
feat(models): add oauth scope/claim fields to Verifier
thekaveman Jun 13, 2022
fe0cb6c
chore(models): regenerate migrations file
thekaveman Jun 13, 2022
b41d3d9
chore(fixtures): placeholders on verifier requiring auth
thekaveman Jun 13, 2022
f017bd4
fix: add back Courtesy Card icon item, fix tests
machikoyasuda Jun 13, 2022
35d1c2c
feat: new mobile design
machikoyasuda Jun 14, 2022
7eacdea
chore(devcontainer): remove Cypress env from launch command
thekaveman Jun 14, 2022
e44f215
feat: style mobile link buttons to the right
machikoyasuda Jun 14, 2022
7898ca1
fix: float
machikoyasuda Jun 14, 2022
db58687
Chore: remove node/npm installation steps in devcontainer (#677)
thekaveman Jun 14, 2022
2406875
Feat: verifier oauth fields (#679)
thekaveman Jun 14, 2022
e2d67fb
IAL2 Login.gov: New Eligibility Start page design (#664)
machikoyasuda Jun 14, 2022
c7133ed
chore: create configuration containers in Azure
afeld Jun 14, 2022
fbad240
refactor(core): remove simple index URL helper
thekaveman Jun 9, 2022
4236425
refactor(core): remove extra translation helper
thekaveman Jun 9, 2022
dd4b019
refactor(views): use TemplateResponse instead of wrapper
thekaveman Jun 9, 2022
6e01a1d
refactor(enrollment): move index helper into view
thekaveman Jun 9, 2022
22c10ef
refactor(enrollment): enroll helper logic to view
thekaveman Jun 9, 2022
5f0db02
refactor(conftest): rework helpers as fixtures
thekaveman Jun 10, 2022
4ea3326
refactor(tests/enrollment): request new fixtures
thekaveman Jun 10, 2022
844206b
refactor(tests/core): use new fixtures
thekaveman Jun 10, 2022
24d61ce
refactor(tests/eligiblity/api): use new fixtures
thekaveman Jun 10, 2022
f6fc015
refactor(tests/eligibility/views): use new fixtures
thekaveman Jun 10, 2022
48f1199
refactor(tests/oauth): mock analytics, oauth_client
thekaveman Jun 10, 2022
877631a
refactor(tests/eligibility/views): clean up hardcoded routes/templates
thekaveman Jun 10, 2022
20bbb51
test(eligibility/views): increase confirm coverage
thekaveman Jun 10, 2022
351164c
refactor(tests/enrollment/views): use route constants
thekaveman Jun 10, 2022
e185a02
test(enrollment): tests for the token view
thekaveman Jun 10, 2022
46c77c8
test(enrollment): tests for the retry view
thekaveman Jun 10, 2022
ea0e093
refactor(fixtures): split real data types and mocks
thekaveman Jun 11, 2022
2856303
refactor(tests/eligibility/api): fixtures usage
thekaveman Jun 11, 2022
5a8f369
refactor(tests/eligibility): normalize fixture usage, view requests
thekaveman Jun 11, 2022
2069714
feat(tests/eligibility/views): disable rate limit middleware
thekaveman Jun 11, 2022
811e160
test(enrollment): cover success view
thekaveman Jun 11, 2022
c781eb1
chore(test): delete old comment
thekaveman Jun 12, 2022
b53430c
test(enrollment): cover index view
thekaveman Jun 12, 2022
361f7dc
test(core): improve index and agency_index view coverage
thekaveman Jun 12, 2022
c2346d9
test(core): not found with/without agency
thekaveman Jun 12, 2022
ce7f9c8
refactor(fixtures): move to root conftest
thekaveman Jun 12, 2022
bf98ea8
test(eligibility): cover start view
thekaveman Jun 12, 2022
ef518e2
test(eligibility): cover index view
thekaveman Jun 12, 2022
997c4a4
test(oauth): missing oauth_client exceptions
thekaveman Jun 12, 2022
5af98f0
test(core): cover bad_request and csrf_failure views
thekaveman Jun 12, 2022
ae9bf0c
refactor(views): routes and templates as constants
thekaveman Jun 12, 2022
2a6aa5f
refactor(conftest): remove redundant request init fixture
thekaveman Jun 12, 2022
0cbf04c
refactor(oauth): move client helpers to module
thekaveman Jun 12, 2022
58fded2
refactor(oauth): move redirect helpers to module
thekaveman Jun 12, 2022
30b5c67
refactor(tests/middleware): helper as fixture
thekaveman Jun 12, 2022
e9e1714
refactor(tests/oauth): move analytics asserts into view tests
thekaveman Jun 13, 2022
40af0b2
refactor(test): adapt tests to new redirect logic in agency_index
thekaveman Jun 13, 2022
bdb4730
chore(test): fix typo
thekaveman Jun 14, 2022
0c37689
Views: cleanup and testing (#668)
thekaveman Jun 14, 2022
730bd82
feat(login): add Public Sans, design Button
machikoyasuda Jun 14, 2022
617f13a
fix: remove unused file
machikoyasuda Jun 14, 2022
9cda3e8
Merge pull request #687 from cal-itp/chore/config-containers
afeld Jun 15, 2022
5622f9f
Merge pull request #688 from cal-itp/feat/653-login.gov-button
machikoyasuda Jun 15, 2022
04efb2f
chore: clarify that the WAF is part of the Front Door
afeld Jun 15, 2022
0f1eb87
chore: upgrade Azure Terraform provider
afeld Jun 15, 2022
e7ce7aa
chore: reflect the test slot in Terraform
afeld Jun 15, 2022
0ce7ccd
chore: match casing on Azure resources
afeld Jun 15, 2022
0900b73
chore: reflect slot hostname bindings in Terraform
afeld Jun 15, 2022
60952e7
Merge pull request #690 from cal-itp/chore/domains
afeld Jun 15, 2022
d08492b
chore: document the two Azure subscriptions
afeld Jun 15, 2022
3dab068
feat(ci): label infrastructure PRs
thekaveman Jun 15, 2022
1ef7acf
Merge pull request #691 from cal-itp/chore/subscription-docs
afeld Jun 15, 2022
ca7fdc9
CI: label infrastructure PRs (#692)
thekaveman Jun 15, 2022
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
84 changes: 0 additions & 84 deletions .aws/ecs-task.json

This file was deleted.

10 changes: 0 additions & 10 deletions .aws/set-env.sh

This file was deleted.

2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
omit = benefits/core/migrations/*
37 changes: 0 additions & 37 deletions .devcontainer/.env.sample

This file was deleted.

19 changes: 12 additions & 7 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@ FROM benefits_client:latest

USER root

# install node.js
# see https://github.com/nodesource/distributions#installation-instructions

RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash

RUN apt-get install -qq nodejs npm libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev \
libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb curl git jq ssh
# install Linux CLI tools for development
RUN apt-get install -qq curl jq ssh

USER $USER

Expand All @@ -17,3 +12,13 @@ RUN python -m pip install --upgrade pip && \

COPY docs/requirements.txt docs/requirements.txt
RUN pip install -r docs/requirements.txt

COPY tests/pytest/requirements.txt tests/pytest/requirements.txt
RUN pip install -r tests/pytest/requirements.txt

# install pre-commit environments in throwaway Git repository
# https://stackoverflow.com/a/68758943
COPY .pre-commit-config.yaml .
RUN git init . && \
pre-commit install-hooks && \
rm -rf .git
44 changes: 11 additions & 33 deletions .devcontainer/compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: benefits
version: "3.8"

services:
Expand All @@ -6,58 +7,35 @@ services:
image: benefits_client:latest
env_file: .env
ports:
- "8000"
- "${DJANGO_LOCAL_PORT:-8000}:8000"
volumes:
- ../.aws/config:/home/calitp/app/config:ro
- ../fixtures:/home/calitp/app/fixtures:cached
- ../fixtures:/home/calitp/app/fixtures:ro

dev:
build:
context: ..
dockerfile: .devcontainer/Dockerfile
image: benefits_client:dev
env_file: .env
entrypoint: []
command: sleep infinity
# https://code.visualstudio.com/docs/remote/create-dev-container#_use-docker-compose
entrypoint: sleep infinity
depends_on:
- server
ports:
- "8000"
- "${DJANGO_LOCAL_PORT:-8000}:8000"
volumes:
- ../:/home/calitp/app:cached
- ../:/home/calitp/app

docs:
image: benefits_client:dev
entrypoint: mkdocs
command: serve --dev-addr "0.0.0.0:8000"
command: serve --dev-addr "0.0.0.0:8001"
ports:
- "8000"
- "8001"
volumes:
- ../:/home/calitp/app:cached
- ../:/home/calitp/app

server:
image: ghcr.io/cal-itp/eligibility-server:main
image: ghcr.io/cal-itp/eligibility-server@sha256:337d5b2beb1e458980be49a778efd4a47f8daa8decc5e8329c0d528596e2f196
ports:
- "5000"

s3pull:
image: amazon/aws-cli
entrypoint: [ "/bin/sh" ]
command: [ "-c", "aws s3 sync s3://${AWS_BUCKET} ." ]
environment:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DEFAULT_REGION
volumes:
- ../.aws/config:/aws

s3push:
image: amazon/aws-cli
entrypoint: [ "/bin/sh" ]
command: [ "-c", "aws s3 sync . s3://${AWS_BUCKET}" ]
environment:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DEFAULT_REGION
volumes:
- ../.aws/config:/aws
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"extensions": [
"batisteo.vscode-django",
"eamodio.gitlens",
"mhutchie.git-graph",
"ms-python.python",
"ms-python.vscode-pylance",
"esbenp.prettier-vscode"
Expand Down
10 changes: 2 additions & 8 deletions .devcontainer/postAttach.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
#!/usr/bin/env bash
set -eu

# initialize hook environments
pre-commit install --install-hooks --overwrite

# manage commit-msg hooks
pre-commit install --hook-type commit-msg

# install cypress
cd tests/cypress && npm install && npx cypress install
# initialize pre-commit
pre-commit install --overwrite
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.aws/
.devcontainer/
.git/
.github/
Expand Down
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# force LF for everyone
text eol=lf
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# default to benefits-admin team
* @cal-itp/benefits-admin
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
name: Bug report
about: Report a bug
labels: bug
---

A clear and concise description of what the bug is.

## To Reproduce

Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

## Expected behavior

A clear and concise description of what you expected to happen.

## Screenshots

If applicable, add screenshots to help explain your problem.

## Desktop (please complete the following information)

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

## Smartphone (please complete the following information)

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

## Additional context

Add any other context about the problem here.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/deliverable.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Deliverable
about: Create a task for a non-code deliverable (e.g. Google doc)
labels: deliverable
---

## Acceptance Criteria

- [ ]

## Additional context

<!-- Include information about scope, time frame, person who requested the task, links to resources -->

## What is the definition of done?
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
name: Design issue
about: Create a task for the UI/UX team
labels: design
assignees: srhhnry, Indiajar
---
57 changes: 57 additions & 0 deletions .github/ISSUE_TEMPLATE/epic-decision-record.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
name: Epic / Decision Record
about: A basic structure for epics
labels: epic
---

<!-- An epic represents a group of user stories/tasks on the roadmap, to be deployed together, as a part of a new feature set. -->

**Date**:
**Writers**:
**Status**:

## Background

<!-- [Describe the context and problem statement, e.g., in free form using two to three sentences. You may want to articulate the problem in form of a question.] -->

## Decision drivers <!-- optional -->

<!-- - [driver 1, e.g., a force, facing concern, …]
- [driver 2, e.g., a force, facing concern, …] -->

## Considered options

<!-- - [option 1]
- [option 2] -->

## Decision outcome

<!-- Chosen option: "[option 1]", because [justification. e.g., only option, which meets k.o. criterion decision driver | which resolves force force | … | comes out best (see below)]. You may discuss positive and negative consequences of each option considered. -->

## Acceptance criteria

- [ ] Acceptance criteria

## Definition of Done

A clear and concise description of what "Done" means for this Epic.

## User Stories

- [ ] As a User Story, I want to be verifiable, so that this epic can be satisfied

## Tasks

- [ ] Code and non-code tasks that work towards a solution to to this epic

## Implementation Ready Checklist

- [ ] Acceptance criteria defined
- [ ] Team understands acceptance criteria
- [ ] Acceptance criteria is verifiable
- [ ] User workflows defined / designed
- [ ] External / 3rd Party dependencies identified

## Links, resources

- Other links here
Loading