Commit graph

202 commits

Author SHA1 Message Date
Shelby Switzer
b6789c4d0d
Update CODEOWNERS (#705)
* Update CODEOWNERS

Remove Gine Beena! <3

* Update MAINTAINERS.md

* Update MAINTAINERS-es.md
2021-09-17 10:07:12 -04:00
Shelby Switzer
75c261fc3d
Update main.yml (#704)
Update name of workflow and only send slack notification on failure
2021-09-17 10:06:59 -04:00
Shelby Switzer
c457ba85db
Add action for ping test and alert to Slack (#695)
* Add action for ping test and alert to Slack

Based on @sverchdotgov 's https://github.com/sverchdotgov/github-actions-experiments/blob/master/.github/workflows/scheduled-email.yml

This is set to run every hour. We can modify as needed. It is also using our cloudfront URL and we'll need to change this to our new URL once we have it.

* Update main.yml

Change to run every 5 minutes and update env var to be more descriptive based on PR convo
2021-09-16 21:26:54 -04:00
Vim
5ef8c8d6ff
testing cache busting on client CDN (#661) 2021-09-10 13:17:30 -07:00
Vim
dc8e82b8e2
adds comment to trigger build on PR open (#657)
* adds comment to trigger build on PR open

* removes uncommented code from GHA files
2021-09-10 11:37:58 -07:00
Vim
88c8209bb0
Splits up build deploy GHA (#656)
* Revert "dockerize front end (#558)"

This reverts commit 89c23faf7a.

* splits build_deploy

* Trigger Build

* adds space to trigger build

* trigger build

* adds comment

* changes staging base url

* adds comment
2021-09-10 11:05:35 -07:00
Vim
704831159f
dockerize front-end and pass env vars to npm build (#614)
* Revert "dockerize front end (#558)"

This reverts commit 89c23faf7a.

* dockerize frontend
- adds score server and website docker compose
- creates docker ignore
- adds .env.* for dev, prod and local
- adds dockerfile for website
- adds env to gatsby-config
- adds hostaddress to develop / start script
- adds istructions in README for running docker
- replaces fixed URLS with ones based on env vars
- creates a score server dockerfile

* updates README to change map tiles source

* adds env DATA_SOURCE:development to deploy GHA

* capitalize readme
2021-09-07 10:35:11 -07:00
Shelby Switzer
043ed983ea
Update team member lists (#557)
Co-authored-by: Shelby Switzer <shelby.switzer@cms.hhs.gov>
2021-08-23 11:21:32 -04:00
Vim
d449e9c554
update areaDetail with data from d3 CDN (#547)
* update areaDetail with data from d3 CDN

- updated constants with d3 CDN info
- placed AreaDetail component in folder
- fixed J40Alert padding-left console warning
- added tests for both J40Alert rendering

* udpates FE to percentile data

* testing CORS on PR'd URL

* testing PR'd URL
2021-08-18 08:47:34 -07:00
Jorge Escobar
c24e13c930
Update GHA to push only client changes to S3 (#543) 2021-08-16 17:00:43 -04:00
Jorge Escobar
ac746741ea
disabling data checks on non-data folders (#532) 2021-08-16 15:12:58 -04:00
Jorge Escobar
6851c0a38d
Wrong creds name (#531) 2021-08-16 14:47:15 -04:00
Jorge Escobar
86c45ab3f0
Updating Front End Deploy Keys (#530) 2021-08-16 14:25:34 -04:00
Jorge Escobar
773c035493
AWS Sync Public Read (#508)
* adding layer to mvts

* small fix for GHA

* AWS Sync Public Read

* removed temp file

* updated state media income ftp
2021-08-12 14:17:25 -04:00
Jorge Escobar
d259d97ba9
adding layer to mvts (#503)
* adding layer to mvts

* small fix for GHA
2021-08-12 10:56:54 -04:00
Jorge Escobar
3d8dbb293c
Tile-baking columns with floating rounds completed (#491)
* Tile-baking columns with floating rounds completed

* completed

* correction on github workflow

* tiles folder no longer needed

* addressed comments

* updating requirements.txt

* poetry lock update

* adding xlswriter

* final poetrylock

* updated requirements.txt

* checkpoint

* removed matplotlib

* ignoring pylint too many statements

* reinstated too many statements

* converting data sync to generate score GHA UI-driven
2021-08-10 15:28:50 -04:00
Nat Hillard
9a9d5fdf7f
Backend change for Zipfile pt. 2 (#469)
* Fixes #303 : adding downloadable zip archive logic
* linter recommendations
* Pushes data directory to AWS. We'll want to move to use AWS for this ASAP, but this works for now
* updating pattern
2021-08-09 10:39:59 -04:00
Billy Daly
55dabb2b57
Issue 379 tox setup (#405)
* Adds tox as a dev dependency to data/data-pipeline/pyproject.toml: Also updates poetry.lock and requirements.txt

* Adds tox.ini to test build of data/data-pipeline

* Sets up GitHub actions workflow for data/ directory

* Tries to get Data Checks GitHub action to run

* Fixes error with GitHub action

* Migrates data/data-roadmap from setuptools to poetry

* Sets up tox file for data/data-roadmap

* Adds github action for data/data-roadmap

* Fixes syntax error in data-checks.yml

* Second attempt at fixing data-checks.yml

* Export poetry requirements to requirements.txt

* Revert "Migrates data/data-roadmap from setuptools to poetry"

This reverts commit e8367652d43c1c9beee500f792c8f41e1c1fc462.

* Removes pyproject.toml and reverts requirements.txt as well
2021-07-29 14:00:20 -04:00
Nat Hillard
446c8d1f68
Update dataset_request.yaml
Wrapping date with quotes to avoid "Tried to load unspecified class: Date" error
2021-07-28 14:58:17 -04:00
Nat Hillard
7bc494b759 Update issue templates
Adding "task" template for one-off changes
2021-07-28 14:55:28 -04:00
Nat Hillard
84500bc744
Adding template for dataset request (#427) 2021-07-28 14:49:38 -04:00
Nat Hillard
a787bd71ab
Merges to main don't get posted to main && it should be clearer how branches are deployed (#415)
* fixes #319 - merges to main still don't get posted to /main , and #362 It should be clearer how branches are deployed -- move to using 'pull_request' instead of 'push' (we can't push to master directly anyhow), and run on 'closed'; also add comment on PR itself
* updating to add subsequent pushes to the same PR
2021-07-27 12:37:17 -04:00
Nat Hillard
8eb15bcac0
adding Vim to CODEOWNERS (#396) 2021-07-22 10:53:01 -04:00
Vim
e5908cf7d7
updates filename and comments (#378) 2021-07-19 08:05:32 -07:00
Shelby Switzer
a1a3a013a8
Create codeql-analysis.yml 2021-07-19 09:21:28 -04:00
Vim
f301dfcd80
cypress e2e nightly (#360)
* fixes nightly e2e test

* adds on command
2021-07-15 10:27:22 -07:00
Shelby Switzer
69ef32485c Update issue templates 2021-07-12 15:28:04 -04:00
Vim
a5e79604a7
changes root directory 2021-07-12 10:38:24 -07:00
Shelby Switzer
602c3c2fbc Add Spanish issue templates
Only add bug report and feature enhancement for now. Will add user story and ADR later (need spanish translations of the titles!)
2021-07-01 13:03:16 -04:00
Nat Hillard
00fd51de8b
One more attempt to fix merging to main, it appears it doesn't like curly brackets (#277) 2021-06-30 18:58:54 -04:00
Nat Hillard
6f4087d247
Fix Github Actions deploy for merges to main
Addresses part of #125 - merges to main now go to a path with a `main` prefix
2021-06-28 10:59:08 -04:00
Gina Maini
eed9bd311d
Added readme information under /docs about building and prerequisites (#126)
Co-authored-by: Gina Maini <gina.maini@cms.hhs.gov>
2021-06-17 15:44:41 -04:00
Nat Hillard
292c5bc8f5
CEJST Map (#139)
* styles prettier fix
* Addresses issue #100 from the frontend:
* Creates new cejst page and related OL components
* temporarily loads census-derived tileserver at higher zoom levels
* lays out cejst page : TODO :  remove aside
* temporarily removing license check - TODO: fix jsonlint
* review comments
2021-06-16 18:16:49 -04:00
Nat Hillard
9ea0f946eb
Adding SHA (for PRs)/ Main (for main) to URL (#121)
* Fixes #90 - adds a GHA SHA to PR branches and 'main' for merges to main
2021-06-14 10:42:09 -04:00
Nat Hillard
c07a14a8db
Fixes issue #107 Geoplatform AWS throws errors on load - we had configured a prefix-path for use with github pages, but this didn't match the path within the s3 bucket. Upload content to a subfolder and ensure pusers access site from /justice40-tool/ (#115) 2021-06-08 10:44:56 -04:00
Nat Hillard
13a5bd008e
Addresses issue #13 - adding workflow to deploy to Geoplatform AWS (#103) 2021-06-07 11:57:46 -04:00
Nat Hillard
55d6e6635b
addresses issue #11 sub-item 'license checker' (#92) 2021-06-03 15:03:10 -04:00
Nat Hillard
426f596c7a
Adding Cypress for e2e testing (#85)
* using the higher-level react-testing-library, and regenerating snapshot - renders real DOM elements
* Basic e2e testing with Cypress, following the guide here: https://www.gatsbyjs.com/docs/how-to/testing/end-to-end-testing/ ; needed to install cypress-local to avoid jest-cypress collision
* Adding accessibility testing support and basic a11y tests
* adding failure logging
* Adding nightly test run
* Fix misc stuff from lighthouse (#81)
* Removing local-cypress, relying instead on a combination
of type reference and eslint-plugin-cypress;
adding cypress to jest ignore paths to avoid conflict -
`npm test` is now jest-only, use `npm run test:e2e` to run cypress tests
* updating comment to clarify timezone
2021-06-02 20:53:22 -04:00
Nat Hillard
394260bbec
Splitting dev and prod dependencies, adding npm audit step to catch security vulnerabilities (#88) 2021-06-02 13:21:23 -04:00
Nat Hillard
a432a0d8c9
Adding Linting and Formatting (#77)
Addresses #11 item "Linting/formatting (eg eslnt, prettier)":
* Adding eslint, prettier, and config targeting Google, typescript, and both nodejs and client builds
* Addressing linter-found issues
* Adding lint and lint:fix commands
* Adding documentation
* Renaming workflow and adding lint check
* Adding documentation about VSCode linting/formatting, ran formatting on a few files, set up exclude list for gatsby develop, setup build to fail on error
2021-05-25 16:21:21 -04:00
Nat Hillard
16a9e67db0
Static Deploy to Github Pages (#73)
Addresses #58 , "As a member of the public, I want to see J40's website live on the internet, so that I know it's real!" - hosting on github pages for now as a temporary measure. This fix does NOT: 1) add .gov domain hosting, or 2) post to the geoplatform s3 bucket. This will need to happen in a subsequent fix. 

The changes made specifically to enable this for now:
* Adding github action to build, test, and deploy on pushes to client/
* Adding path prefix to build gh-pages at https://usds.github.io/justice40-tool/
* (Temporarily) pointing to fix branch for trussworks to enable SSR building
* Removing the workaround for the above bug in gatsby-node.js
* Setting build target to be 14.x due to version number limitations
* Adding gh-pages dependency, deploy action for manual deploy
* Force renaming J40header -> J40Header and J40footer -> J40Footer due to Linux case sensitivity
2021-05-25 12:07:45 -04:00
Nat Hillard
da76d6b180 Update issue templates
Updating reviewer list
2021-05-24 10:51:28 -04:00
Nat Hillard
be319cbe0b
Create decision-record.md
Adding a new issue template for architecture decision records - Work in progress, these will shortly be integrated with a dedicated project board
2021-05-20 20:19:48 -04:00
Nat Hillard
6045f32157
Update compile_mermaid.yml (#65) 2021-05-19 18:41:48 -04:00
Nat Hillard
cb99b509de
Update compile_mermaid.yml
Updating to only file in `docs` tree
2021-05-19 18:33:31 -04:00
Nat Hillard
148da8b1ec
Update CODEOWNERS
Adding additional core engineer team members
2021-05-19 18:16:49 -04:00
Nat Hillard
54fa016af1
Architecture Diagram and Process (#33)
* Use compile mermaid extension

* initial Mermaid arch diagram

* updating mmd extension

* small mmd update

* Adding git add step

* Expanding acronym

* adding branch spec

* Add changes

* outputting SVG instead as PNG is too small

* Add changes

* updating readme

* Backlog->Roadmap

* Add changes

* Updating casing for consistency

* Updating documentation to specify 'update' section applies just to diagram

Co-authored-by: GitHub Action <action@github.com>
2021-05-10 16:15:42 -04:00
Nat Hillard
1e4c121c6b
Merge pull request #20 from usds/shelby/12-repo-docs
Add contribution info and license
2021-05-07 10:07:46 -04:00
Nat Hillard
51d973a0ff Adding CODEOWNERS 2021-05-06 14:38:43 -04:00
Nat Hillard
3750bd943c Update issue templates
Adding default feature request template
2021-05-06 11:19:58 -04:00