Skip to content

Commit

Permalink
352 celery beat scope (USEPA#355)
Browse files Browse the repository at this point in the history
* update client side dependencies, intriducing breaking changes for MSW, react-testing-library, and yup

* update server dependencies

* add django-celery-beat as requirement

* add celery beat command, update logging docs and configs, add celery beat to docker-compose

* ci and cd documentation, initial task queue design docs
  • Loading branch information
dpgraham4401 authored Feb 24, 2023
1 parent dd9ce0e commit a321b13
Show file tree
Hide file tree
Showing 47 changed files with 2,549 additions and 2,128 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ max_line_length = 100
[*.json]
indent_size = 2

[*.md]
indent_size = 2

[*.{yaml,yml}]
indent_size = 2
10 changes: 8 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ CI/CD:
- .github/workflows/**.yaml

documentation:
- any: ['docs/**/*', '**/README.md']
- any: ['docs/**/*', 'docs/haztrak_book/**/*', '**/README.md']

dependencies:
- any: ['server/requirements.txt', 'client/package.json', 'client/package-lock.json']
- any:
[
'server/requirements.txt',
'server/requirements_dev.txt',
'client/package.json',
'client/package-lock.json',
]

database:
- server/apps/**/migrations/*.py
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Misc files
# Misc development files
**/.env
**/.secrets
.coverage
Expand All @@ -9,16 +9,17 @@
*.DS_Store
**/*.bak
**/.ruff_cache
# IDE
**/.idea
**/.vscode

# virtual environment
venv/
.venv/
env/

# IDE
**/.idea
**/.vscode

# Celery
**/celerybeat-schedule

# Distribution / packaging
.Python
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: 'v3.2.0'
hooks:
- id: trailing-whitespace
- id: check-json
Expand All @@ -27,7 +27,7 @@ repos:
hooks:
- id: ruff
- repo: https://github.com/ambv/black
rev: stable
rev: '23.1.0'
hooks:
- id: black
language_version: python3.11
Expand All @@ -47,6 +47,6 @@ repos:
files: \.[jt]sx?$
types: [file]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.3
rev: 'v3.0.0-alpha.3'
hooks:
- id: prettier
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
**/.env*
**/.ruff_cache
**/*.bak
/client/public/mockServiceWorker.js
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Server Tests](https://github.com/USEPA/haztrak/actions/workflows/test_server.yaml/badge.svg)](https://github.com/USEPA/haztrak/actions/workflows/test_server.yaml)
[![Client Tests](https://github.com/USEPA/haztrak/actions/workflows/test_client.yaml/badge.svg)](https://github.com/USEPA/haztrak/actions/workflows/test_client.yaml)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/USEPA/haztrak/main.svg)](https://results.pre-commit.ci/latest/github/USEPA/haztrak/main)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/USEPA/haztrak?label=latest%20release)](https://github.com/my-user/my-repo/releases/tag/v1.0.0)

---
Expand All @@ -17,21 +16,20 @@ If you like the work we do, star this repo for greater visibility.

## Getting Started :rocket:

Looking to learn more or set up a local development environment?
Want to learn more?

See our [documentation at https://usepa.github.io/haztrak/](https://usepa.github.io/haztrak/).

Specifically...
Or, looking to contribute?

- [documentation on deploying locally with docker compose](https://usepa.github.io/haztrak/deploy/local-development.html)
- our [PR guide](https://github.com/USEPA/haztrak/blob/main/docs/CONTRIBUTING.md).
- or [report an issue, request a feature, or find something to work on](https://github.com/USEPA/haztrak/issues)
- We try to keep the [Good First Issue](https://github.com/USEPA/haztrak/labels/good%20first%20issue) label up to
date
- [Contribution guidelines](https://github.com/USEPA/haztrak/blob/main/docs/CONTRIBUTING.md).
- See our [documentation on setting up a local development environment](https://usepa.github.io/haztrak/deploy/local-development.html)
- Or find something to work on via [GitHub's issue tracker](https://github.com/USEPA/haztrak/issues)
- Don't see something that interests you, [open an issue](https://github.com/USEPA/haztrak/issues/new/choose)

### About e-Manifest

June 30, 2018. EPA launched a national system for tracking hazardous waste shipments electronically,
June 30, 2018. the U.S. Environmental Protection Agency (EPA) launched a national system for tracking hazardous waste shipments electronically,
this system, known as "[e-Manifest](https://www.epa.gov/e-manifest)," modernizes the nation’s paper-intensive process
for tracking hazardous waste from cradle to grave while saving valuable time, resources, and dollars for industry and
states.
Expand Down
Loading

0 comments on commit a321b13

Please sign in to comment.