Skip to content

Commit

Permalink
Merge pull request #533 from raft-tech/change-docker
Browse files Browse the repository at this point in the history
Change docker
  • Loading branch information
carltonsmith authored Jan 14, 2021
2 parents c9c3a56 + 2c15d4e commit dce99c7
Show file tree
Hide file tree
Showing 9 changed files with 253 additions and 20 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,24 +93,24 @@ jobs:
command: "echo $DOCKER_PASSWORD | docker login --username $DOCKER_USERNAME --password-stdin"
- run:
name: "Build Backend Docker image"
command: "cd tdrs-backend; docker build -t goraftdocker/tdp-backend:$CIRCLE_BRANCH . -f ./docker/Dockerfile.dev"
command: "cd tdrs-backend; docker build -t lfrohlich/tdp-backend:$CIRCLE_BRANCH . -f ./docker/Dockerfile.dev"
- run:
name: "Push Backend Image to Docker Hub"
command: "docker push goraftdocker/tdp-backend:$CIRCLE_BRANCH"
command: "docker push lfrohlich/tdp-backend:$CIRCLE_BRANCH"
- run:
name: "Build Frontend Docker image"
command: "cd tdrs-frontend; docker build -t goraftdocker/tdp-frontend:$CIRCLE_BRANCH . -f Dockerfile.dev"
command: "cd tdrs-frontend; docker build -t lfrohlich/tdp-frontend:$CIRCLE_BRANCH . -f Dockerfile.dev"
- run:
name: "Push Frontend Image to Docker Hub"
command: "docker push goraftdocker/tdp-frontend:$CIRCLE_BRANCH"
command: "docker push lfrohlich/tdp-frontend:$CIRCLE_BRANCH"
- run:
name: deploy to cloud.gov
command: |
# If we do not specify a space, then deploy to the branch that we are on.
# Also map certain branches to spaces.
# This lets you have dev/staging/main branches that automatically go to the right place.
export DOCKER_IMAGE_BACKEND="goraftdocker/tdp-backend:$CIRCLE_BRANCH"
export DOCKER_IMAGE_FRONTEND="goraftdocker/tdp-frontend:$CIRCLE_BRANCH"
export DOCKER_IMAGE_BACKEND="lfrohlich/tdp-backend:$CIRCLE_BRANCH"
export DOCKER_IMAGE_FRONTEND="lfrohlich/tdp-frontend:$CIRCLE_BRANCH"
if [ "$CIRCLE_BRANCH" == "main" ] ; then
export CF_SPACE="tanf-prod"
export CF_USERNAME="$CF_USERNAME_PROD"
Expand Down
18 changes: 18 additions & 0 deletions docs/Architecture Decision Record/002 Application architecture.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 1. Application Architecture
Date: 2020-08-04

## Status

Accepted

## Context

The backend and frontend are two separate apps, the backend is a Django Rest Framework (DRF) app and the frontend is ReactJS. Two apps allow for greater separation between the two components.

## Decision

The backend and frontend will be two separate apps, the backend a DRF app and the frontend ReactJS.

## Consequences

Two apps allow for greater separation between the two components. This will allow the backend endpoints to exist before the frontend starts work and won't slow the frontend. There will be a main README that will point to two separate backend and frontend READMEs.
17 changes: 17 additions & 0 deletions docs/Architecture Decision Record/003 Application hosting.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 3. Application Hosting
Date: 2020-08-04

## Status

Accepted

## Context
Cloud.gov is a GovCloud-based platform-as-a-service that removes almost all of the infrastructure monitoring and maintenance from the system, is already procured for OFA, and has a FedRAMP Joint Authorization Board Provisional Authority to Operate (JAB P-ATO) on file. FedRAMP is a standardized federal security assessment for cloud services, and the FedRAMP ATO helps agencies by providing confidence in the security of cloud solutions and security assessments. Cloud.gov supports Django rest framework (DRF) and ReactJS.

## Decision

We will use Cloud.gov to host the new TDRS app.

## Consequences

Inheriting security controls from Cloud.gov will make the ATO process simpler.
11 changes: 8 additions & 3 deletions docs/How-We-Work/Team-Composition.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@

**18F**
* Alex Soble, 18F, consulting engineer
* Brian Hurst, 18F, consulting engineer

**Raft**
* Patrick Asata, Raft, tech lead
* Carlton Smith, Raft,tech lead
* Spencer Hilvitz, Raft frontend engineer
* Dimitri Knapp, Raft, visual designer
* Aaron Beavers, Raft, backend engineer
* Dmitri Knapp, Raft, visual designer
* Shubhi Mishra, Raft, design lead + facilitator
* Miles Reiter, Raft, user researcher
* Carlton Smith, Raft, backend engineer
* Jennifer Price, Raft, senior user researcher
* Romelo Nafarrete, Raft, security SME
* Kati Nizzi, Raft, product manager

## Subject Matter Experts
**OFA Data Team**
Expand Down Expand Up @@ -43,6 +47,7 @@

## Past Product Team Members
(most recent first)
* Pat Asata, Raft, tech lead
* Ryan Ahearn, 18F, compliance consultant
* Matthew Doty, Raft, user researcher
* Selena Juneau-Vogel, 18F, team lead & product management consultant
Expand Down
37 changes: 37 additions & 0 deletions docs/Sprint-Review/Sprint 11 Summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Sprint 11 Summary
**12/24/2020 - 01/05/2021**

Sprint 11 was a short sprint given the holidays and most of the product team took a much needed break. Most of the standups were async and meetings with the OCIO were cancelled. We will continue our sprint 11 goals into sprint 12 and plan to demo ATO related documentation to OCIO in Sprint 12.

## Sprint Goals
- Continue building upload TANF report feature and start on the download feature
- Demo updated security controls documentation with OCIO security and SCA as necessary
- Start round 4 research planning
- Demo product roadmap during standup

## We successfully completed
- Updated our documentation on the session management strategy
- Updated user research artifact and created a new [PR for #309](https://github.com/HHS/TANF-app/pull/114), which adds functionality for user role and permissions management
- Contributed to USWDS by opening a [pull request](https://github.com/uswds/uswds/pull/3890) to add a custom message to display error type when uploading a file.

### User Stories Delivered for QASP Review
- [Update Research Activities overview to reflect round 3 research](https://github.com/raft-tech/TANF-app/issues/501)

User stories redelivered for QASP review
- [[Research] Document list of errors and warnings for grantees](https://github.com/raft-tech/TANF-app/issues/449)
- [As an OFA Admin, I need a list of MVP roles in the database to assign to new users](https://github.com/raft-tech/TANF-app/issues/309)


## Up Next
- Continue building upload TANF report feature and start on the download feature
- Demo updated security controls documentation with OCIO security and SCA as necessary
- Complete round 4 research planning and create Content and Style guide
- Continue updating docs with delivered and accepted issues, update readme, and archive prototype.
- Demo product roadmap during standup

## Agenda for Sprint 11 Demo
- Synthesis of round 3 user research
- Artifacts: Journey maps, STT attributes guide, refined personas, and updated process maps
- TANF reports main page
- User management updates
- Session management strategy documentation
90 changes: 85 additions & 5 deletions docs/User-Research/Overview of Research Activities.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,80 @@


# Overview of Research Activities

**Table of Contents:**

- [2020 Fall - Understanding STT Roles, Source of Truth, and Metadata](#2020-fall---understanding-stt-roles-source-of-truth-and-metadata)
- [2020 Summer - Understanding OFA's experience](#2020-summer---understanding-ofas-experience)
- [2020 Spring - Digging into the local experience](#2020-spring---digging-into-the-local-experience)
- [2020 March - Data Entry Design Studio](#2020-march---data-entry-design-studio)
- [2019 Fall - Discovery](#2019-fall---discovery)

---

# 2020 Fall - Understanding STT Roles, Source of Truth, and Metadata

## What we wanted to learn

### Top-level Goals

1. Evaluate how grantees react to concept prototypes simulating TANF report creation (e.g. capturing metadata) and the uploading of associated flat files
2. Identify how grantees track the status (e.g., drafted, edited, submitted, re-submitted) of their data reports and maintain transparency of that status across their teams.
3. Document the makeup of grantee teams involved with data preparation and data submission
4. Deepen our understanding of how grantees create flat files and what causes metadata issues (including title, header, and trailer)

### Expected outcomes

1. To inform the design of high-fidelity/dev ready prototypes simulating TANF report creation (e.g. capturing metadata) and the uploading of associated flat files

2. To augment existing user stories (and create new ones) that account for designing and developing how the new TDRS will allow grantees track the status of what they submitted to OFA
3. To augment existing user stories (and create new ones) for designing and developing how the new TDRS will handle and account for additional potential STT needs (e.g. permissions/roles, turnover and external systems
4. To inform future rounds of research, enhance recruiting resources, update existing flows, process maps, prototypes, and personas.

## Who we talked to

Given the largely generative focus of this research we wanted to talk to 5-9 participants involved in TANF data preparation from a variety of grantee types. We targeted criteria such as:

- At least one state that submits universal case data
- At least one state that submits sample data
- At least one tribe
- At least one territory
- Preference toward participants who have not been interviewed in past research

## What we did

### Interviews & Concept Testing

We ended up talking to a total of six participants who fulfilled all of the above criteria. Those participants represented one tribe, one territory, and four states. Sessions ranged from 1 hour to 1 hour and 25 minutes and was equally divided into one half focused on generative interview questions regarding research goals 2-4 and one half moving through the conceptual prototypes.

### OFA synthesis workshop

After pulling verbatim quotes from research session notes/transcripts we conducted a workshop with the members of the team who participated in the interviews and OFA team members to co-create themes & insights based on the observations and brainstorm project impacts. After the workshop we captured those themes and the research supporting them in a synthesis document.

### Artifacts

- [Full Research Plan](<https://hhsgov.sharepoint.com/:w:/r/sites/TANFDataPortalOFA-UserResearch/_layouts/15/Doc.aspx?sourcedoc=%7B2E300237-F645-4446-B191-A9EE509026EF%7D&file=%2363%20User%20Research%20Plan%20STTs.docx&action=default&mobileredirect=true>) :lock:

- [Conversation Guide](<https://hhsgov.sharepoint.com/:w:/r/sites/TANFDataPortalOFA-UserResearch/_layouts/15/WopiFrame2.aspx?sourcedoc=%7B0333313b-0f88-406b-b894-07687d32921b%7D&action=view>) :lock:

- [Figma Concept Prototype 1](<https://www.figma.com/proto/y15co5xc7MIZXBnWBOF6hJ/Conceptual-Mockups-for-STT-Feedback?node-id=9%3A332&viewport=187%2C385%2C0.11285778135061264&scaling=min-zoom>)

- [Figma Concept Prototype 2](<https://www.figma.com/proto/y15co5xc7MIZXBnWBOF6hJ/Conceptual-Mockups-for-STT-Feedback?node-id=1%3A1070&viewport=530%2C320%2C0.1293068528175354&scaling=min-zoom>)

- [PDF Prototype 1 & 2](<https://github.com/HHS/TANF-app/tree/main/docs/User-Research/2020%2C%20Fall%20-%20Concept%20Prototypes>)

- [Recruiting Criteria and Selection](<https://hhsgov.sharepoint.com/:w:/r/sites/TANFDataPortalOFA-UserResearch/_layouts/15/WopiFrame2.aspx?sourcedoc={1a533a84-0000-423d-8274-c0767d9f471d}&action=view&cid=ad0b98e3-1d2b-46ad-a6f3-50eb0c019c01>) 🔒

- [Grantee Attributes](<https://hhsgov.sharepoint.com/:x:/r/sites/TANFDataPortalOFA-UserResearch/_layouts/15/WopiFrame2.aspx?sourcedoc={e83f84f1-71a0-459f-80a4-0d39bc250be9}&action=view&cid=f2e656cb-9245-4f02-af6d-2d7e1db6573d>) 🔒

- [Synthesis Workshop Mural](https://app.mural.co/t/officeoffamilyassistance2744/m/officeoffamilyassistance2744/1605279076254/8ba4f36f5bc1b2d724fd8c61daf6dc18da096e97) 🔒

### Findings

- [Synthesis document](https://github.com/HHS/TANF-app/blob/main/docs/User-Research/2020%2C%20Fall%20-%20Understanding%20STT%20Roles%2C%20Source%20of%20Truth%2C%20and%20Metadata.md)

---

# 2020 Summer - Understanding OFA's experience

## What we wanted to learn
Expand Down Expand Up @@ -33,7 +110,7 @@ We wanted to talk to OFA analysts who had well-rounded experience with and expos

We conducted 3, 90-minute remote interviews with OFA Analysts

- The first 60-70 mins was used as a Q&A.
- The first 60-70 mins was used as the interview portion of the session.
- The remaining time was used for concept testing with initial admin UI mockups. 
- 2 of the three interviews were recorded to fill out notes. (NOTE: the participants had the opportunity to opt out of recording the sessions).
- The recordings were password protected then made available to the user research team to augment notes.
Expand All @@ -45,15 +122,18 @@ After drafting a top-level synthesis of our observations, we conducted a worksho

### Artifacts

- [Full research plan](<https://teams.microsoft.com/_?tenantId=d58addea-5053-4a80-8499-ba4d944910df#/docx/viewer/teams/https:~2F~2Fhhsgov.sharepoint.com~2Fsites~2FTANFDataPortalOFA-UserResearch~2FShared Documents~2FUser Research~2FOFA Research August 2020~2FUser Research Plan - OFA_08112020.docx?threadId=19:3bb622256c0b4792976dc5f1f4654fca@thread.skype&baseUrl=https:~2F~2Fhhsgov.sharepoint.com~2Fsites~2FTANFDataPortalOFA-UserResearch&fileId=FEC8A4B5-FB35-44EC-BB38-C47D8D8363BE&viewerAction=view>)
- [Conversation guide](<https://teams.microsoft.com/_?tenantId=d58addea-5053-4a80-8499-ba4d944910df#/docx/viewer/teams/https:~2F~2Fhhsgov.sharepoint.com~2Fsites~2FTANFDataPortalOFA-UserResearch~2FShared Documents~2FUser Research~2FOFA Research August 2020~2FConveration Guide - OFA Research - August 2020_08112020.docx?threadId=19:3bb622256c0b4792976dc5f1f4654fca@thread.skype&baseUrl=https:~2F~2Fhhsgov.sharepoint.com~2Fsites~2FTANFDataPortalOFA-UserResearch&fileId=30B38ABF-85AB-451E-8B2C-A066DBA115C8&viewerAction=view>)
- [Full research plan](<https://teams.microsoft.com/_?tenantId=d58addea-5053-4a80-8499-ba4d944910df#/docx/viewer/teams/https:~2F~2Fhhsgov.sharepoint.com~2Fsites~2FTANFDataPortalOFA-UserResearch~2FShared Documents~2FUser Research~2FOFA Research August 2020~2FUser Research Plan - OFA_08112020.docx?threadId=19:3bb622256c0b4792976dc5f1f4654fca@thread.skype&baseUrl=https:~2F~2Fhhsgov.sharepoint.com~2Fsites~2FTANFDataPortalOFA-UserResearch&fileId=FEC8A4B5-FB35-44EC-BB38-C47D8D8363BE&viewerAction=view>) :lock:
- [Conversation guide](<https://teams.microsoft.com/_?tenantId=d58addea-5053-4a80-8499-ba4d944910df#/docx/viewer/teams/https:~2F~2Fhhsgov.sharepoint.com~2Fsites~2FTANFDataPortalOFA-UserResearch~2FShared Documents~2FUser Research~2FOFA Research August 2020~2FConveration Guide - OFA Research - August 2020_08112020.docx?threadId=19:3bb622256c0b4792976dc5f1f4654fca@thread.skype&baseUrl=https:~2F~2Fhhsgov.sharepoint.com~2Fsites~2FTANFDataPortalOFA-UserResearch&fileId=30B38ABF-85AB-451E-8B2C-A066DBA115C8&viewerAction=view>) :lock:
- [The conceptual prototype of the admin UI](https://www.figma.com/proto/ZNIJCT6ah2jMCZWlVMrlGX/Admin-Filter-Prototype?node-id=1%3A255&scaling=min-zoom)
- [The output of the synthesis workshop](<https://teams.microsoft.com/_?tenantId=d58addea-5053-4a80-8499-ba4d944910df#/pdf/viewer/teams/https:~2F~2Fhhsgov.sharepoint.com~2Fsites~2FTANFDataPortalOFA-UserResearch~2FShared Documents~2FUser Research~2FOFA Research August 2020~2F%23113 Synthesis Workshop Output.pdf?threadId=19:3bb622256c0b4792976dc5f1f4654fca@thread.skype&baseUrl=https:~2F~2Fhhsgov.sharepoint.com~2Fsites~2FTANFDataPortalOFA-UserResearch&fileId=C3F06956-BD67-4067-A369-1AC9DD837E11&viewerAction=view>)
- [The output of the synthesis workshop](<https://teams.microsoft.com/_?tenantId=d58addea-5053-4a80-8499-ba4d944910df#/pdf/viewer/teams/https:~2F~2Fhhsgov.sharepoint.com~2Fsites~2FTANFDataPortalOFA-UserResearch~2FShared Documents~2FUser Research~2FOFA Research August 2020~2F%23113 Synthesis Workshop Output.pdf?threadId=19:3bb622256c0b4792976dc5f1f4654fca@thread.skype&baseUrl=https:~2F~2Fhhsgov.sharepoint.com~2Fsites~2FTANFDataPortalOFA-UserResearch&fileId=C3F06956-BD67-4067-A369-1AC9DD837E11&viewerAction=view>) :lock:

## Findings

[See the full findings report](<https://teams.microsoft.com/l/file/588709DE-FE1F-49E5-8D52-CBC6E25FA9CD?tenantId=d58addea-5053-4a80-8499-ba4d944910df&fileType=docx&objectUrl=https%3A%2F%2Fhhsgov.sharepoint.com%2Fsites%2FTANFDataPortalOFA-UserResearch%2FShared Documents%2FUser Research%2FOFA Research August 2020%2F%23113 - OFA Interviews Synthesis.docx&baseUrl=https%3A%2F%2Fhhsgov.sharepoint.com%2Fsites%2FTANFDataPortalOFA-UserResearch&serviceName=teams&threadId=19:3bb622256c0b4792976dc5f1f4654fca@thread.skype&groupId=41f194a6-c1d3-4680-933e-c8ee7d17e287>)
- [See the full findings report](<https://teams.microsoft.com/l/file/588709DE-FE1F-49E5-8D52-CBC6E25FA9CD?tenantId=d58addea-5053-4a80-8499-ba4d944910df&fileType=docx&objectUrl=https%3A%2F%2Fhhsgov.sharepoint.com%2Fsites%2FTANFDataPortalOFA-UserResearch%2FShared Documents%2FUser Research%2FOFA Research August 2020%2F%23113 - OFA Interviews Synthesis.docx&baseUrl=https%3A%2F%2Fhhsgov.sharepoint.com%2Fsites%2FTANFDataPortalOFA-UserResearch&serviceName=teams&threadId=19:3bb622256c0b4792976dc5f1f4654fca@thread.skype&groupId=41f194a6-c1d3-4680-933e-c8ee7d17e287>) :lock:

- [High level findings synthesis](https://github.com/HHS/TANF-app/blob/main/docs/User-Research/2020%2C%20Summer%20-%20Understanding%20the%20OFA%20Experience.md)

---
# 2020 Spring - Digging into the local experience

## Approach
Expand Down
Loading

0 comments on commit dce99c7

Please sign in to comment.