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

Release/v3.6.4 sprint 109 #547

Merged
merged 294 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
294 commits
Select commit Hold shift + click to select a range
a5a6fa0
- update dependency
elipe17 May 30, 2024
8d4d0a8
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 May 31, 2024
66920ae
- re-enable checks
elipe17 May 31, 2024
5c2727e
- Added new scripted field
elipe17 Jun 3, 2024
657994c
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Jun 5, 2024
56ed70f
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Jun 7, 2024
71f7fee
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Jun 11, 2024
3f5b644
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Jun 24, 2024
0d86b41
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Jun 27, 2024
8012681
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Jun 27, 2024
599f628
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Jul 2, 2024
ab4c777
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Jul 5, 2024
3c1c7c5
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Jul 8, 2024
6cfa590
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Jul 11, 2024
7cbae41
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Jul 16, 2024
151b15f
Merge branch 'develop' into 2883-kibana-dashboard
ADPennington Jul 17, 2024
c0f7b29
- de-conflict migration
elipe17 Jul 18, 2024
5cac334
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Jul 26, 2024
25717db
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Jul 26, 2024
055a435
Merge branch 'develop' of https://github.com/raft-tech/TANF-app into …
elipe17 Aug 6, 2024
a3dbae0
- Add task for upload
elipe17 Aug 6, 2024
f9200cf
- Jsut committing to not lose state
elipe17 Aug 7, 2024
713623f
Merge branch 'develop' into 2883-kibana-dashboard
ADPennington Aug 10, 2024
d47e580
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Aug 12, 2024
032c377
Merge branch 'develop' into 2883-kibana-dashboard
ADPennington Aug 13, 2024
208ad80
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Aug 14, 2024
d89720e
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Aug 14, 2024
512741a
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Aug 14, 2024
b815133
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Aug 14, 2024
2e94d13
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Aug 19, 2024
e414a60
- initial commit with templates
elipe17 Aug 26, 2024
447ff84
- Mostly complete tech memo
elipe17 Aug 27, 2024
030e31b
Merge branch 'develop' into 3110-filter-integration
elipe17 Aug 27, 2024
3e40b37
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Aug 27, 2024
669ba45
- add summary
elipe17 Aug 28, 2024
f245542
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Aug 28, 2024
56e5cc5
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Aug 28, 2024
7f5057b
- Added minimum config for prometheus
elipe17 Aug 28, 2024
b0c7823
impl iterator
jtimpe Aug 29, 2024
db6f9c0
lint
jtimpe Aug 29, 2024
79b56eb
- Added exporters for celery and postgres
elipe17 Aug 29, 2024
28f2bd1
silence logs
jtimpe Aug 29, 2024
0ec70ef
increase timeout
jtimpe Aug 29, 2024
62a30e0
- moved plg config to appropriate directories
elipe17 Aug 29, 2024
09355ef
- add todo
elipe17 Aug 29, 2024
96a8d64
Merge branch 'develop' into 3044-prometheus-grafana
elipe17 Aug 29, 2024
a6f940e
- regenerate migration
elipe17 Aug 29, 2024
c445036
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Aug 29, 2024
6663f08
Merge branch 'develop' into 3110-filter-integration
elipe17 Aug 30, 2024
5439395
- Update dashboard
elipe17 Aug 30, 2024
f482707
- Updated docs
elipe17 Aug 30, 2024
63d40e4
- remove unneeded nexus docker stuff
elipe17 Aug 30, 2024
1f7c7c1
- adding tag command for circleci
elipe17 Sep 3, 2024
1e110e2
- remove commented code
elipe17 Sep 3, 2024
29a1830
- make executable
elipe17 Sep 3, 2024
33ac5b6
- rename command
elipe17 Sep 3, 2024
7b352cb
- rename init command
elipe17 Sep 3, 2024
a1c44e8
- move init back to original command
elipe17 Sep 3, 2024
c8ade93
- fixed yaml
elipe17 Sep 3, 2024
ec69916
- password from stdin
elipe17 Sep 3, 2024
34eeff6
- Update env name
elipe17 Sep 3, 2024
dc5dd8d
- getting directory structure
elipe17 Sep 3, 2024
cdefbbd
- tagging for frontend and backend
elipe17 Sep 3, 2024
542bb14
- remove debug code
elipe17 Sep 3, 2024
c241261
- consolidate command
elipe17 Sep 3, 2024
a5c3041
- add missing step
elipe17 Sep 3, 2024
23c1aeb
- Revert build and test workflow
elipe17 Sep 3, 2024
eba84c0
- Point compose to nexus
elipe17 Sep 3, 2024
cb68a94
- Update variables on deployments
elipe17 Sep 3, 2024
18649a8
- add docker login docs
elipe17 Sep 3, 2024
1be7fab
- title update
elipe17 Sep 3, 2024
35c2c90
- add docker login for build and test
elipe17 Sep 3, 2024
4f9a81a
- fix indent
elipe17 Sep 3, 2024
5388116
- Debugging
elipe17 Sep 4, 2024
85ce8e2
- Build images for both architectures
elipe17 Sep 4, 2024
bc28e5f
- add layer caching
elipe17 Sep 4, 2024
1a29319
wip
jtimpe Sep 4, 2024
128739f
- stop docker caching
elipe17 Sep 4, 2024
70a46ca
Merge branch 'develop' of https://github.com/raft-tech/TANF-app into …
elipe17 Sep 4, 2024
cc536b5
- Updated method to batch delete records in elastic to avoid pulling …
elipe17 Sep 4, 2024
a27086c
- Instantiate document once
elipe17 Sep 4, 2024
9abf5a8
wip
jtimpe Sep 4, 2024
db40e98
- reverting .env file
elipe17 Sep 4, 2024
6f2105f
- Updated clean and reparse to not load entire queryset into memory
elipe17 Sep 5, 2024
223bc40
Merge branch 'develop' into 3170-reparse-memory-mgmt
elipe17 Sep 5, 2024
44400ca
Merge branch 'develop' into 2458-nexus-mvp
elipe17 Sep 5, 2024
928bbd1
Merge branch 'develop' into 3110-filter-integration
elipe17 Sep 5, 2024
aed8b65
- Updated Grafana view to allow access based on group only since devs…
elipe17 Sep 5, 2024
3ea4f4b
- remove setting
elipe17 Sep 5, 2024
94d554e
- Update frontend vars
elipe17 Sep 5, 2024
cf693ad
local file + upload to s3
jtimpe Sep 5, 2024
7989afd
rm smart_open
jtimpe Sep 5, 2024
50a0276
Merge branch 'develop' into 3137-queryset-iterator
jtimpe Sep 5, 2024
f8f0757
- Add deploy script for pg-exporter
elipe17 Sep 5, 2024
e13d9e8
Merge branch 'develop' of https://github.com/raft-tech/TANF-app into …
elipe17 Sep 5, 2024
c7f0010
- Update lock file
elipe17 Sep 5, 2024
8cbb557
- Added promtail and loki
elipe17 Sep 5, 2024
ec545fb
- Gave datasources UIDs
elipe17 Sep 6, 2024
415cc7f
- Change language in the tdp section
elipe17 Sep 6, 2024
60cfba3
Merge branch 'develop' of https://github.com/raft-tech/TANF-app into …
elipe17 Sep 6, 2024
2bec695
- add vm access instructions
elipe17 Sep 6, 2024
bb6d156
- Added script for image building/tagging
elipe17 Sep 6, 2024
dbbad07
- testing
elipe17 Sep 6, 2024
5e1b5e1
- fix path
elipe17 Sep 6, 2024
7625f9a
- use workdir var
elipe17 Sep 6, 2024
0ad5e1c
- quoting paths
elipe17 Sep 6, 2024
0c8982d
- debug
elipe17 Sep 6, 2024
650059d
- passing current dir
elipe17 Sep 6, 2024
79ef9f8
- remove debugging code
elipe17 Sep 6, 2024
bdd6559
pass raw sql to celery task
jtimpe Sep 6, 2024
ec2f157
change s3 upload path
jtimpe Sep 6, 2024
42f42a3
- adding step for docker buildx
elipe17 Sep 6, 2024
8bcdee1
- comment to increase speed
elipe17 Sep 6, 2024
24df3fe
- install dep
elipe17 Sep 6, 2024
51635b4
- add containerd
elipe17 Sep 6, 2024
f722bde
- trying larger resource class
elipe17 Sep 6, 2024
405f24a
- remove hash
elipe17 Sep 6, 2024
c655ca7
- quiet
elipe17 Sep 6, 2024
a83f3c8
- leave output because circi requires it
elipe17 Sep 9, 2024
e7b266a
space
jtimpe Sep 9, 2024
a6c6d8c
- test dockerd max uploads
elipe17 Sep 9, 2024
ea529a1
- try restarting daemon with max uploads
elipe17 Sep 9, 2024
e5115d6
- test individual executors
elipe17 Sep 9, 2024
092a0ba
- deploy after build
elipe17 Sep 9, 2024
1a213e4
- depend on infra
elipe17 Sep 9, 2024
ae515b0
- explicit push
elipe17 Sep 9, 2024
574e3f1
- one build executor at a time
elipe17 Sep 9, 2024
7837996
- build after deploy
elipe17 Sep 9, 2024
a373eb2
- try arm medium
elipe17 Sep 9, 2024
16e2b72
- revert back to OG working build state
elipe17 Sep 9, 2024
8ae055f
- Test using non docker in docker
elipe17 Sep 9, 2024
89e3319
- Update docker daemon config
elipe17 Sep 10, 2024
4a18c63
- Don't do entire init-deploy routine
elipe17 Sep 10, 2024
fed52ad
- Don't push from build ctx since it doesnt obey daemon config single…
elipe17 Sep 10, 2024
ed4b587
- Update OS image
elipe17 Sep 10, 2024
08ecd6b
- Remove build and tag from dev envs
elipe17 Sep 10, 2024
19d4ff0
- remove extra inclusion of "branch" tag
elipe17 Sep 10, 2024
e3a4399
- remove unneeded variable
elipe17 Sep 10, 2024
44fd31f
Merge branch 'develop' of https://github.com/raft-tech/TANF-app into …
elipe17 Sep 10, 2024
8c11028
- Update lockfile
elipe17 Sep 10, 2024
a354eed
- remove old TMs
elipe17 Sep 10, 2024
c49da38
docstrings + logging
jtimpe Sep 10, 2024
2ed3675
complexity
jtimpe Sep 10, 2024
47ddafe
org
jtimpe Sep 10, 2024
b8443dd
Merge branch 'develop' into 3137-queryset-iterator
jtimpe Sep 10, 2024
b466dae
revert timeout change
jtimpe Sep 10, 2024
a8093e5
- Update names of functions
elipe17 Sep 10, 2024
f34b014
- Update sequential function to return boolean to allow testing
elipe17 Sep 10, 2024
a2f2fde
3.6.0 release notes (#3178)
victoriaatraft Sep 10, 2024
ccd1816
Merge branch 'develop' into 3170-reparse-memory-mgmt
elipe17 Sep 11, 2024
5ae9dd2
Merge branch 'develop' into 3110-filter-integration
elipe17 Sep 11, 2024
d96f455
- new indices
elipe17 Sep 11, 2024
b1f71dd
Merge branch '3170-reparse-memory-mgmt' of https://github.com/raft-te…
elipe17 Sep 11, 2024
a6e7848
Merge pull request #3154 from raft-tech/3110-filter-integration
elipe17 Sep 11, 2024
5621f7f
- linting
elipe17 Sep 11, 2024
e601ce6
- Updated total family fields to not include zero in the range
elipe17 Sep 11, 2024
9a03ff3
- Added tests for most exception paths
elipe17 Sep 11, 2024
778c827
-linting
elipe17 Sep 11, 2024
5bbe228
- unified logout redirect config for ams and login.gov
elipe17 Sep 11, 2024
72617c1
- Revert changes to ssp and tribal
elipe17 Sep 11, 2024
4d2ee69
- Adding refresh
elipe17 Sep 12, 2024
cd9e31d
- commenting to deploy
elipe17 Sep 12, 2024
d8a3b44
- testing not duplicating container
elipe17 Sep 12, 2024
6deb727
- comment out token hint
elipe17 Sep 12, 2024
0e9e634
- re-enable tests
elipe17 Sep 12, 2024
fa77bac
- revert test change
elipe17 Sep 12, 2024
9abdcfb
- remove token hint
elipe17 Sep 12, 2024
01dc2c3
- remove param
elipe17 Sep 12, 2024
08eecfa
- Add AMS client id to logout params
elipe17 Sep 12, 2024
69d7936
- Move client id creation to respective brances
elipe17 Sep 12, 2024
876260c
- Add missing tests
elipe17 Sep 12, 2024
76624fc
- adding test
elipe17 Sep 12, 2024
644703f
- Add remaining tests
elipe17 Sep 12, 2024
09bf83d
- Add more debug logging
elipe17 Sep 13, 2024
9fe3d1c
- running only failing test
elipe17 Sep 13, 2024
9421869
- more debugging
elipe17 Sep 13, 2024
d456c8b
- backend only
elipe17 Sep 13, 2024
f408833
- remove test_reparse only
elipe17 Sep 13, 2024
a3aa2f4
- Reset settings after parsing
elipe17 Sep 13, 2024
9e28a66
- update file
elipe17 Sep 13, 2024
d7b543a
- Update factories to use the correct types for fields
elipe17 Sep 13, 2024
e1bfce3
- paremetrize test
elipe17 Sep 13, 2024
3f89673
- revert debugging changes
elipe17 Sep 13, 2024
dc55e3e
Merge branch 'develop' into 3170-reparse-memory-mgmt
elipe17 Sep 13, 2024
c3002e0
- Add tests for more coverage
elipe17 Sep 13, 2024
4075194
Merge branch '3170-reparse-memory-mgmt' of https://github.com/raft-te…
elipe17 Sep 13, 2024
96372d8
- linting
elipe17 Sep 13, 2024
830b6d2
- UPdate logic for setting reparse to finished
elipe17 Sep 13, 2024
51ec731
- linting
elipe17 Sep 13, 2024
b9cb34e
- add basic tests for db backup
elipe17 Sep 13, 2024
a85b232
- remove mock
elipe17 Sep 13, 2024
76fa734
- add main routine test for backup
elipe17 Sep 13, 2024
0dfb37e
- linting
elipe17 Sep 13, 2024
4e19d5a
definite import
jtimpe Sep 17, 2024
88c4110
Merge branch 'develop' into 3137-queryset-iterator
jtimpe Sep 17, 2024
2ff85cb
tasks patch
jtimpe Sep 17, 2024
fc9248c
unused import
jtimpe Sep 17, 2024
1514e07
Merge pull request #3185 from raft-tech/3088-s3-s4-val-fix
elipe17 Sep 18, 2024
fdaa35b
Merge branch 'develop' into 3137-queryset-iterator
jtimpe Sep 18, 2024
e372381
Merge pull request #3174 from raft-tech/3047-plg-mvp
elipe17 Sep 18, 2024
2d17a47
Merge branch 'develop' into 3044-prometheus-grafana
elipe17 Sep 18, 2024
16c1e11
- Added comment for posterity
elipe17 Sep 19, 2024
d04a8ce
- add docker login for owasp scan
elipe17 Sep 19, 2024
2a5e5c3
Update dev-issue-template.md (#3186)
reitermb Sep 19, 2024
febf97f
Merge branch 'develop' into 3044-prometheus-grafana
elipe17 Sep 19, 2024
db12f08
Merge pull request #3163 from raft-tech/3044-prometheus-grafana
elipe17 Sep 19, 2024
e423b1b
Merge branch 'develop' into 3137-queryset-iterator
jtimpe Sep 20, 2024
3ac1dcd
Merge pull request #3162 from raft-tech/3137-queryset-iterator
jtimpe Sep 20, 2024
2f1a97c
- Update file handler
elipe17 Sep 23, 2024
33d4fcb
- update volume location
elipe17 Sep 23, 2024
38cbbd8
Merge pull request #3198 from raft-tech/log-file-hotfix
elipe17 Sep 23, 2024
0fd06c2
- Update reparse to not fail/exit when elastic throws index update. i…
elipe17 Sep 23, 2024
8187285
Merge branch 'develop' into 3170-reparse-memory-mgmt
ADPennington Sep 24, 2024
b5d0aa8
Merge branch 'develop' into 3099-ams-redirect-bug
ADPennington Sep 24, 2024
e5f110c
Merge pull request #3184 from raft-tech/3099-ams-redirect-bug
elipe17 Sep 25, 2024
c768510
add friendly error type column
jtimpe Sep 25, 2024
e752589
Merge branch 'develop' into 3170-reparse-memory-mgmt
ADPennington Sep 26, 2024
23924fb
- update terraform for testing
elipe17 Sep 26, 2024
93bd544
Merge branch '3170-reparse-memory-mgmt' of https://github.com/raft-te…
elipe17 Sep 26, 2024
8f07b2c
Merge branch 'develop' of https://github.com/raft-tech/TANF-app into …
elipe17 Sep 26, 2024
5c2a3fd
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Sep 26, 2024
4fccc17
- remove pg client from container
elipe17 Sep 26, 2024
4a4ab19
- Updated debian to bullseye to support supported postgres client
elipe17 Sep 27, 2024
dec3627
- update tf for deploy
elipe17 Sep 27, 2024
0543f29
- Update terraform based on cloud.gov response
elipe17 Sep 30, 2024
3933cec
- revert TF
elipe17 Sep 30, 2024
bf4fd11
Merge pull request #3203 from raft-tech/pg-client-hotfix
elipe17 Sep 30, 2024
2fca2bc
Merge branch 'develop' into 2458-nexus-mvp
elipe17 Sep 30, 2024
f0a6c55
Merge branch 'develop' into 3170-reparse-memory-mgmt
elipe17 Sep 30, 2024
ae4bc96
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Sep 30, 2024
40dc000
Merge branch 'develop' into 3180-error-type-field
ADPennington Sep 30, 2024
95fc24b
Create sprint-107-summary.md (#3189)
robgendron Sep 30, 2024
a981311
Merge branch 'develop' into 3170-reparse-memory-mgmt
ADPennington Sep 30, 2024
d289ab1
Merge branch 'develop' into 3180-error-type-field
ADPennington Sep 30, 2024
c5f87eb
Merge pull request #3172 from raft-tech/3170-reparse-memory-mgmt
elipe17 Sep 30, 2024
4a6ce00
Merge branch 'develop' into 2458-nexus-mvp
elipe17 Sep 30, 2024
2f33244
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Sep 30, 2024
022d9c4
Merge branch 'develop' into 3180-error-type-field
ADPennington Sep 30, 2024
93c0125
Merge pull request #3202 from raft-tech/3180-error-type-field
jtimpe Oct 1, 2024
d0ec3a2
Merge branch 'develop' into 2883-kibana-dashboard
elipe17 Oct 2, 2024
fd5cc00
Merge pull request #2993 from raft-tech/2883-kibana-dashboard
elipe17 Oct 2, 2024
4e1a6f6
Merge branch 'develop' into 2458-nexus-mvp
ADPennington Oct 2, 2024
57bdf7a
- fix white space
elipe17 Oct 2, 2024
5b8feae
Merge pull request #3211 from raft-tech/whitespace-hotfix
elipe17 Oct 2, 2024
c1941ff
Merge branch 'develop' into 2458-nexus-mvp
elipe17 Oct 2, 2024
68189ae
- remove debug cmd
elipe17 Oct 2, 2024
c15cb7c
Merge branch '2458-nexus-mvp' of https://github.com/raft-tech/TANF-ap…
elipe17 Oct 2, 2024
fab247d
Merge pull request #3165 from raft-tech/2458-nexus-mvp
elipe17 Oct 2, 2024
30513b6
2990 - stuck files notification (#3195)
jtimpe Oct 3, 2024
542823f
Feat/2965 db seed impl (#3134)
andrew-jameson Oct 8, 2024
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
4 changes: 2 additions & 2 deletions .circleci/base_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ executors:
machine-executor:
machine:
docker_layer_caching: false
image: ubuntu-2204:2024.01.1
image: ubuntu-2204:2024.05.1
large-machine-executor:
machine:
docker_layer_caching: false
image: ubuntu-2204:2024.01.1
image: ubuntu-2204:2024.05.1
resource_class: large

parameters:
Expand Down
9 changes: 8 additions & 1 deletion .circleci/build-and-test/commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@
- run:
name: Disable npm audit warnings in CI
command: npm set audit false

# This allows us to use the node orb to install packages within other commands
install-nodejs-packages: node/install-packages

docker-login:
steps:
- run:
name: Docker login
command: |
echo "$CIRCI_DOCKER_LOGIN" | docker login https://tdp-docker.dev.raftlabs.tech -u tdp-circi --password-stdin
2 changes: 2 additions & 0 deletions .circleci/build-and-test/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
steps:
- checkout
- docker-compose-check
- docker-login
- docker-compose-up-backend
- run:
name: Run Unit Tests And Create Code Coverage Report
Expand Down Expand Up @@ -46,6 +47,7 @@
steps:
- checkout
- docker-compose-check
- docker-login
- docker-compose-up-backend
- docker-compose-up-frontend
- install-nodejs-machine
Expand Down
32 changes: 29 additions & 3 deletions .circleci/deployment/commands.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,33 @@
# commands:
init-deploy:
steps:
- checkout
- sudo-check
- cf-check

build-and-tag-images:
parameters:
backend-appname:
default: tdp-backend
type: string
frontend-appname:
default: tdp-frontend
type: string
steps:
- run:
name: Update Docker daemon
command: |
sudo echo '{"max-concurrent-uploads": 1}' | sudo tee /etc/docker/daemon.json
sudo service docker restart
- run:
name: Create builder
command: |
docker buildx create --name container-builder --driver docker-container --use --bootstrap
- run:
name: Build and tag images
command: |
./scripts/build-and-tag-images.sh <<parameters.backend-appname>> <<parameters.frontend-appname>> ./tdrs-backend ./tdrs-frontend $CIRCLE_BUILD_NUM $CIRCLE_SHA1 "$CIRCI_DOCKER_LOGIN" tdp-circi

deploy-cloud-dot-gov:
parameters:
environment:
Expand All @@ -25,9 +54,6 @@
default: tdp-frontend
type: string
steps:
- checkout
- sudo-check
- cf-check
- login-cloud-dot-gov:
cf-password: <<parameters.cf-password>>
cf-org: <<parameters.cf-org>>
Expand Down
34 changes: 34 additions & 0 deletions .circleci/deployment/jobs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,41 @@
build-and-tag-develop:
executor: large-machine-executor
working_directory: ~/tdp-deploy
steps:
- checkout
- sudo-check
- build-and-tag-images:
backend-appname: tdp-backend-develop
frontend-appname: tdp-frontend-develop

build-and-tag-staging:
executor: large-machine-executor
working_directory: ~/tdp-deploy
steps:
- checkout
- sudo-check
- build-and-tag-images:
backend-appname: tdp-backend-staging
frontend-appname: tdp-frontend-staging

build-and-tag-production:
executor: large-machine-executor
working_directory: ~/tdp-deploy
steps:
- checkout
- sudo-check
- build-and-tag-images:
backend-appname: tdp-backend-production
frontend-appname: tdp-frontend-production

deploy-dev:
parameters:
target_env:
type: string
executor: docker-executor
working_directory: ~/tdp-deploy
steps:
- init-deploy
- deploy-cloud-dot-gov:
backend-appname: tdp-backend-<< parameters.target_env >>
frontend-appname: tdp-frontend-<< parameters.target_env >>
Expand All @@ -13,6 +44,7 @@
executor: docker-executor
working_directory: ~/tdp-deploy
steps:
- init-deploy
- deploy-cloud-dot-gov:
backend-appname: tdp-backend-staging
frontend-appname: tdp-frontend-staging
Expand All @@ -24,6 +56,7 @@
executor: docker-executor
working_directory: ~/tdp-deploy
steps:
- init-deploy
- deploy-cloud-dot-gov:
backend-appname: tdp-backend-develop
frontend-appname: tdp-frontend-develop
Expand Down Expand Up @@ -133,6 +166,7 @@
executor: docker-executor
working_directory: ~/tdp-deploy
steps:
- init-deploy
- deploy-cloud-dot-gov:
environment: production
backend-appname: tdp-backend-prod
Expand Down
27 changes: 24 additions & 3 deletions .circleci/deployment/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,27 +93,48 @@
- develop
- main
- master
- deploy-develop:
- build-and-tag-develop:
requires:
- deploy-infrastructure-staging
filters:
branches:
only:
- develop
- deploy-staging:
- deploy-develop:
requires:
- build-and-tag-develop
filters:
branches:
only:
- develop
- build-and-tag-staging:
requires:
- deploy-infrastructure-staging
filters:
branches:
only:
- main
- deploy-production:
- deploy-staging:
requires:
- build-and-tag-staging
filters:
branches:
only:
- main
- build-and-tag-production:
requires:
- deploy-infrastructure-production
filters:
branches:
only:
- master
- deploy-production:
requires:
- build-and-tag-production
filters:
branches:
only:
- master
- test-deployment-e2e:
requires:
- deploy-develop
Expand Down
Empty file modified .circleci/generate_config.sh
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions .circleci/owasp/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
steps:
- checkout
- docker-compose-check
- docker-login
- docker-compose-up-backend
- docker-compose-up-frontend
- run:
Expand All @@ -26,6 +27,7 @@
steps:
- checkout
- docker-compose-check
- docker-login
- docker-compose-up-backend
- docker-compose-up-frontend
- run:
Expand Down Expand Up @@ -66,6 +68,7 @@
- sudo-check
- cf-check
- docker-compose-check
- docker-login
- login-cloud-dot-gov:
cf-password: <<parameters.cf_password>>
cf-space: <<parameters.cf_space>>
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/dev-issue-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ assignees: ''

**Description:**
_Provide a brief background and justification for this issue_
_OFA & UX team: Please include bullets capturing the value to STT end users, related guidance, and/or talking points that should be communicated to STTs in release notes_


**Acceptance Criteria:**
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,5 @@ tfapply
cypress.env.json

# Patches
*.patch
*.patch
tdrs-backend/*.pg
28 changes: 25 additions & 3 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ version: '3'

tasks:

upload-kibana-objs:
desc: Upload dashboards to Kibana server
cmds:
- curl -X POST localhost:5601/api/saved_objects/_import -H "kbn-xsrf: true" --form file=@tdrs-backend/tdpservice/search_indexes/kibana_saved_objs.ndjson

create-network:
desc: Create the external network
cmds:
Expand Down Expand Up @@ -29,7 +34,7 @@ tasks:
desc: Create Sentry service
dir: sentry
cmds:
# limiting the memory to 2GB and CPU to only one cpu @0, for faster response, you can remove the limittask : --cpuset-cpus 0
# limiting the memory to 2GB and CPU to only one cpu @0, for faster response, you can remove the limittask : --cpuset-cpus 0
- (docker run --privileged -p 9001:9000 -d --memory="8g" --memory-swap="8g" --name sentry docker:dind) || true
- docker exec sentry sh -c "git clone https://github.com/getsentry/self-hosted.git || true"

Expand Down Expand Up @@ -109,6 +114,23 @@ tasks:
cmds:
- docker-compose -f docker-compose.yml exec web sh -c "python ./manage.py shell"

backend-exec:
desc: Execute a command in the backend container
dir: tdrs-backend
vars:
CMD: '{{.CMD}}'
cmds:
- docker-compose -f docker-compose.yml exec web sh -c "python manage.py {{.CMD}}"

backend-exec-seed-db:
desc: Execute seed_db command in the backend container
dir: tdrs-backend
vars:
CMD: '{{.CMD}}'
cmds:
- docker-compose -f docker-compose.yml up -d
- docker-compose -f docker-compose.yml exec web sh -c "python manage.py populate_stts; python ./manage.py seed_db"

backend-pytest:
desc: 'Run pytest in the backend container E.g: task backend-pytest PYTEST_ARGS="tdpservice/test/ -s -vv"'
dir: tdrs-backend
Expand Down Expand Up @@ -155,7 +177,7 @@ tasks:
- docker rm $(docker ps -aq) || true
- docker rmi $(docker images -q) || true
- docker volume rm $(docker volume ls -q) || true

clamav-up:
desc: Start clamav service
dir: tdrs-backend
Expand Down Expand Up @@ -187,7 +209,7 @@ tasks:
- task: frontend-up
- task: clamav-up


# need more work
frontend-init:
desc: Initialize the frontend project
Expand Down
2 changes: 1 addition & 1 deletion docs/How-We-Work/team-meetings.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ A typical sprint schedule is described in the table below.
- External factors outside of the author spending time building the ticket (ie need external team's input, see how a feature develops, etc.)
- Ex. Waiting on X ticket to finish the scope of said unrefined ticket, problem found / unsure how big it is and knows other work will unearth it
- If we know the ACs but not the tasks, then its unrefined
- Release Notes summary is empty or incomplete as applicable, to be provided by UX/Product by default.
- Refined: Ticket is complete and is ready to be executed.
- Refined & Ready to Go (Next Sprint)
- "Earmarked" work for the upcoming sprint.
- **Labelling:**
- WIP
- Author knows the 5 W's or darn near (90%)
- Drafted ticket – either still on the author the finish their part or a short team conversation is needed.
- Administrative in nature
- Ex. Stub, ticket that doesn't feel there's enough to warrant an introduction
Expand Down
Loading