Commit graph

202 commits

Author SHA1 Message Date
Vim
0c3213875f
Replace SITE_URL with secret URLs (#1165) 2022-01-21 09:24:27 -08:00
Vim
f4926376fa
Allow open source map with new API key (#1155)
* Allow open source map

- create new getOSBaseMap function
- set secret on GitHub actions
- read secret into J40Map.tsx
- add secret to gatsby-config
- remove secret from .env.*

* Fix typo on yml file

* Add placeholder for API TOKEN

- add placeholder in docker compose
- add placeholder in .env.dev
- remove console.log

* Add Mapbox API Token to main deploy
2022-01-18 12:16:33 -08:00
Shaun Verch
0e3ca6bf30
Run markdown link checker only on markdown changes (#1117)
* Run markdown link checker only on markdown changes

This makes sure that this action only runs if the pull request is on the
main branch and is changing markdown files.

Fixes: https://github.com/usds/justice40-tool/issues/1114

* Remove push to main trigger

* Ignore eeoc.gov in link checker

Sometimes it seems down from the perspective of github actions.
2022-01-12 13:01:52 -05:00
Shaun Verch
d90e028c1b
Update documentation to make it easier for users to find the right content for them (#1016)
* First pass of updating documentation for new users

Trying to look at this from the perspective of someone new to the
project, and create some pathways to make it easier for people to get to
the content they are looking for.

* Make it clear that docker is doing the setup

* Link installation again from the main README

* Add some docs about the github actions

* Add markdown link check

* Move git installation first

* Add config for markdown link checker

* Fix some links

* Correct handling of repo root relative links

* Fix broken links in data roadmap

* Fix more broken links

* Fix more links

* Ignore link that's returning a 403 to the checker

It actually works if you go in a browser.

* Fix another broken link

* Ignore more urls that don't work

* Update the readme under docs

* Add some more dataset links

* More strongly call out the quickstart

* Try to call out even more the quickstart link

* Fix dead links

* Add note about initialization time

* Remove broken link from spanish install guide

These will be updated later with a full translation
2021-12-16 10:16:28 -05:00
Shaun Verch
83eb7b0982
Silence dev only vulnerabilities (#1041)
Showing obscure vulnerabilities that only exist in the dev setup creates
more noise and means that they just get ignored (because they are
probably low priority). Silencing them means when we get a vulnerable
dependency alert we know to pay attention to it.

Comes from https://github.com/dependabot/dependabot-core/issues/2521 and
501bbef578.
2021-12-13 13:54:59 -05:00
Jorge Escobar
49ce0f5911
Update combine-tilefy.yml 2021-11-30 15:03:07 -05:00
Jorge Escobar
384cfa5d70 Update generate-census.yml 2021-11-30 13:49:21 -05:00
Jorge Escobar
9898ab1e7e Update generate-census.yml 2021-11-30 13:49:21 -05:00
Jorge Escobar
bad525224e Update generate-census.yml 2021-11-30 13:49:21 -05:00
Jorge Escobar
783b34bac3 Update generate-census.yml 2021-11-30 13:49:21 -05:00
Jorge Escobar
16c863ad7e Update generate-census.yml 2021-11-30 13:49:21 -05:00
Jorge Escobar
86e121103a Update generate-census.yml 2021-11-30 13:49:21 -05:00
Jorge Escobar
f20bd64dc0 Update generate-census.yml 2021-11-30 13:49:21 -05:00
Jorge Escobar
0ff65810ee Update generate-census.yml 2021-11-30 13:49:21 -05:00
Vim
03b2657803
Remove GitHub pages deploy on staging (#891) 2021-11-16 09:58:53 -08:00
Jorge Escobar
3fbc77076c testing tippecanoe install 2021-11-03 10:23:06 -04:00
Jorge Escobar
bacf2ce0fb trying prev version 2021-11-02 16:39:06 -04:00
Jorge Escobar
1795be6cb4 tz 2021-11-02 15:23:17 -04:00
Jorge Escobar
aff17395c8 tippeacnoes test 2021-11-02 15:13:20 -04:00
Jorge Escobar
8c95150fa8 separate make 2021-11-02 14:44:59 -04:00
Jorge Escobar
831a0f2aa8 skip test 2021-11-02 14:37:34 -04:00
Jorge Escobar
6892033f5c tippecanoe test 2 2021-11-02 14:27:04 -04:00
Jorge Escobar
d4f1e3d3f4 tippecanoe test 2021-11-02 14:21:57 -04:00
Jorge Escobar
6d3e1d372c bin/sh 2021-11-02 14:14:50 -04:00
Jorge Escobar
44ee696787 workdir 2021-11-02 14:10:56 -04:00
Jorge Escobar
0845bd3f8c make install 2021-11-02 14:05:28 -04:00
Jorge Escobar
be55ed89ad git dir 2021-11-02 13:58:09 -04:00
Jorge Escobar
7123fa872a tz removed 2021-11-02 13:51:59 -04:00
Jorge Escobar
49f0b2f110 timezone commented out 2021-11-02 13:46:22 -04:00
Jorge Escobar
e012b09ed6 tz env var 2021-11-02 13:40:37 -04:00
Jorge Escobar
a91deea0d0 tippecanoe 2021-11-02 13:34:12 -04:00
Jorge Escobar
930465f411 updating combtilefy 2021-11-02 12:06:06 -04:00
Jorge Escobar
4c26e8e97c generate score update 2021-11-02 10:32:23 -04:00
Jorge Escobar
ebc363e300 updating score generate 2021-11-02 10:29:49 -04:00
Jorge Escobar
1b17af84c8
Combine + Tilefy (#806)
* init

* score-post

* added score csv s3 download; remore poetry cmds from readme

* working census tile fetch

* PR review

* Github Actions Work
2021-11-01 18:05:05 -04:00
Vim
29d5b52f84
Add build status badges to client README (#799)
* Add build status badges to client README

* Update GHA names
2021-10-14 15:28:25 -07:00
Jorge Escobar
a94b8e2761 final census GHA 2021-10-14 13:50:56 -04:00
Jorge Escobar
8b2225f22e typo on gen score 2021-10-14 13:48:46 -04:00
Jorge Escobar
b60830da0e removing delete 2021-10-14 13:44:44 -04:00
Jorge Escobar
77ccc78f76 temp comment gdal 2021-10-14 13:41:55 -04:00
Jorge Escobar
361654f4e2 use aws cp instead of sync 2021-10-14 13:40:48 -04:00
Jorge Escobar
d66439138e
Update generate-census.yml 2021-10-14 13:15:11 -04:00
Jorge Escobar
12a1a20b8b
Update generate-census.yml 2021-10-14 13:08:55 -04:00
Vim
92d76fb6f4
Gherkin workflows for desktop (#788)
* Add gherkin tests for page navigation links

- test that every page will load when navigating from any other page
- update snapshots

* Add gherkin workflows 2 - 5

- add test for Federal program officer key information and CTA
- add test for Community members key information and CTA
- add test for Send feedback
- add test for Join the Open Source community
- update snapshots

* Add gherkin tests for footer links

- add footerlinks feature gherkin file
- adds a comment to the hyphenizeString()
- adds keyword functions for footer
- adds data-cy tags to footer component
- updates snapshots

* Adds workflow to learn more about EO

* Add gherkin test for dataset links

- add data-cy tags to dataset sections
- modify Cy command functions names
- update snapshots

* Add cypress test to deploy_staging.yml

* Add working directory env

* Remove keywords.js from cypress test

* Add a Then step to all About and Footer tests

* Refactor step definitions

- use globalStepDefinitions
- rename keywords to commonSteps
- remove keyword from exclusion list
2021-10-13 14:06:05 -07:00
Jorge Escobar
3b04356fb3
Data sources from S3 (#769)
* Started 535

* Data sources from S3

* lint

* renove breakpoints

* PR comments

* lint

* census data completed

* lint

* renaming data source
2021-10-13 16:00:33 -04:00
Vim
b913cf21e6
remove frontend PR artifacts from S3 (#665)
* adds initial prefix

* adds steps

* adds names

* adds runs-on

* tests direct env

* add prefix to folder

* rm AWS

* adds s3 uri

* adds recursive

* removes slash

* Trigger Build

* Trigger Build

* remove recursive

* update GHA name

* adds slash to s3 uri

* Trigger Build

* adds ls

* Trigger Build

* Trigger Build

* Trigger Build

* list main s3 bucket

* Trigger Build

* list j4-tool dir

* Trigger Build

* Trigger Build

* Add rm cmd

* adds CDN as env var

* modify web cdn id

* update cdn id

* Trigger Build

* Remove artifacts on PR merge

- also make the web cdn an env variable

* make web CDN an env variable

* Update CDN ID to newest CDN

* Add test remove artifacts yml file

* Add jobs to test.yml

* Update PR number to 111

* Remove testing artifacts yaml file
2021-10-07 17:38:37 -07:00
Vim
e2f68dc46f
Add sentry monitoring for all runtime errors (#767)
* Add sentry monitoring for all runtime errors

* Modify CDN ID to older CDN

- waiting for access from Zivaro
2021-10-04 10:19:08 -07:00
Vim
72d80a5803
Attempt to merge Lighthouse Fix branch from Nat (#758)
* Add a11y tests in cypress for methodology page

- update cypress to version 8.5
- add HTML lang the <head> element
- change process list headings to h4
- add alt tag to download image icon
- move <GovBanner> into <Header>
- add documentation around a11y testing

* Add cypress a11y tests for cejst page

- add alt icon for mapIntro page
- change legend to be a normal div
- add a class that mimics the h4 styles
- remove superfluous styles

* Add cypress a11y tests for contact and 404 page

* Update snapshots

* Move static text in footer to copy folder

* Add cypress a11y test to About page

- add required h1 tag
- updates snapshot

* Add site_url.xml and modify robots.txt file

- adds plugins for robots.txt and sitemap
- remove env.local and will add env.production
- modifiy all yml files (docker and GHA) to specify new env variables
- refactor env variables to either DATA_SOURCE, SITE_URL or PATH_PREFIX
- set defaults for env variables in gatsby-config
- remove timeline component
- will add blank index page
- update README on info on env variables

* Add plugin to allow custom env vars

- allows system env vars, ie, DATA_SOURCE on client-side application

* Update displayed URLs in GHA to new CDN (d29)

- also updates the blank index.html

* Correct spacing

* Set SITE_URL to new CDN for robots.txt

* Remove SITE_URL as this is set by GHA

* Update README around docker and env vars
2021-10-04 08:43:33 -07:00
Vim
aaf304fc89
Add analytics script (#707)
* Add analytics script

- also add the geoplatform official site to yml file

* update analytics link
2021-09-20 15:00:50 -07:00
Vim
a532b652b4
Add env variable to set path prefix (#706)
* Add env variable to set path prefix

- When routing traffic to our new URL, the path prefix needs to be blank
- adding path prefix to be set by env var to yml files

* Update reference to env var in PATH_PREFIX

* Update PR message URL with CDN

- The actual website will point to the base url CDN
2021-09-17 11:52:27 -07:00