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

Create clojure.yml #1270

Open
wants to merge 1,134 commits into
base: CLA-signatures
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1134 commits
Select commit Hold shift + click to select a range
6e2fb53
Merge branch 'master' into EFRS-1342_link_is_not_a_link
VolodymyrBushko Dec 6, 2022
67e3ca7
Merge pull request #976 from exadel-inc/EFRS-1342_link_is_not_a_link
VolodymyrBushko Dec 6, 2022
ba1c464
Merge pull request #977 from exadel-inc/EFRS-1349_remove_face_and_ima…
VolodymyrBushko Dec 6, 2022
df4600f
EFRS-1348: Changed a Liquibase changelog order to avoid conflicts
VolodymyrBushko Dec 6, 2022
2b8b74e
Merge branch 'master' into EFRS-1348_remove_quartz
VolodymyrBushko Dec 6, 2022
05a0b67
EFRS-1348: Fixed conflicts
VolodymyrBushko Dec 6, 2022
8fb5576
Added k6 load tests
VolodymyrBushko Dec 7, 2022
f151226
Changed FACE_3 to a new one
VolodymyrBushko Dec 8, 2022
1e2dca3
Merge pull request #991 from exadel-inc/k6_load_tests
VolodymyrBushko Dec 8, 2022
75f21f6
EFRS-1350: Fixed the Liquibase migration
VolodymyrBushko Dec 8, 2022
08c63de
Merge pull request #992 from exadel-inc/EFRS-1350_fix_liquibase_chang…
VolodymyrBushko Dec 8, 2022
2806b55
Merge pull request #989 from exadel-inc/EFRS-1348_remove_quartz
VolodymyrBushko Dec 8, 2022
df5d255
Merge pull request #988 from exadel-inc/EFRS-1351-Fix-security-issues…
aianko Dec 13, 2022
bcdca09
Merge pull request #987 from exadel-inc/EFRS-1082-Add-to-env-max-dete…
aianko Dec 13, 2022
74bc716
EFRS-1345 Add Load Tests Grafana dashboards (by Group)
ashutau Dec 14, 2022
102b085
EFRS-1345 Add gh action for load tests
ashutau Dec 14, 2022
e7734da
register forkflow
ashutau Dec 14, 2022
c19ad95
fix tests hostname protocol
ashutau Dec 14, 2022
555b840
clean up
ashutau Dec 14, 2022
9a13905
Merge pull request #994 from exadel-inc/EFRS-1345-gha-load-tests
ashutau Dec 14, 2022
02952e3
Fixed k6 load tests
VolodymyrBushko Dec 15, 2022
690cbca
Merge pull request #996 from exadel-inc/fix_6k_tests
VolodymyrBushko Dec 15, 2022
4403637
Merge pull request #995 from exadel-inc/EFRS-1345-load-tests
ashutau Dec 16, 2022
43d9ed8
Fixed k6 load tests
VolodymyrBushko Dec 16, 2022
dc36126
Update Azure-Compreface-AIB-image.yml
ashutau Dec 16, 2022
c5b06ac
Merge pull request #998 from exadel-inc/Fixed_k6_load_tests
VolodymyrBushko Dec 17, 2022
a851c54
EFRS-1305 added responsive design for manage users windows (#1002)
smchedlidze826 Dec 21, 2022
6bef878
EFRS-1323 scroll added on demo page when user zoomes inthe page (#1007)
smchedlidze826 Jan 2, 2023
483f3e4
Update Build-Deploy-auto.yml
ashutau Jan 18, 2023
4a535c0
Update Build-Deploy-auto.yml
ashutau Jan 18, 2023
7b687bf
skip face detection
aianko Jan 11, 2023
b9a09bb
skip face detection for insightface
aianko Jan 19, 2023
3ca833b
EFRS-1278: Added a detectFaces param to the recognition controller an…
VolodymyrBushko Dec 15, 2022
1236ea3
Update libraries to versions with arm64 wheels
NHellFire Jan 22, 2023
ca56238
Build imagecodecs from source (no arm64 wheels available)
NHellFire Jan 22, 2023
307d923
Update imagecodecs so it can find openjpeg 2.4
NHellFire Jan 22, 2023
43b4953
Update tensorflow so we have arm64 wheels
NHellFire Jan 23, 2023
d87f4d2
EFRS-1357 Update nginx ssl config with templates
ashutau Jan 23, 2023
8cd63cd
Merge pull request #1019 from exadel-inc/EFRS-1357-nginx-ssl-template
ashutau Jan 23, 2023
bd79716
Update bug_report.md
pospielov Feb 2, 2023
8e2725d
Merge pull request #1018 from NHellFire/feature/arm64
pospielov Feb 6, 2023
a3af9a3
EFRS-1045 Add multiplatform compose file
ashutau Feb 15, 2023
092f86a
check wf branch
ashutau Feb 15, 2023
28112bd
test multip build
ashutau Feb 15, 2023
472b6cf
Update Release-default.yml
ashutau Feb 15, 2023
aa2f9cc
Update Release-default.yml
ashutau Feb 15, 2023
d1c79e3
Update Release-default.yml
ashutau Feb 15, 2023
e1af42a
Update Release-default.yml
ashutau Feb 15, 2023
f8c83f1
Update Release-default.yml
ashutau Feb 15, 2023
1b09e4e
Update Release-default.yml
ashutau Feb 15, 2023
c42b52e
Update Release-default.yml
ashutau Feb 15, 2023
e5cf3d8
Update Release-default.yml
ashutau Feb 15, 2023
961fca3
update gha
ashutau Feb 15, 2023
9f17e72
clean up
ashutau Feb 15, 2023
febb7c7
Merge pull request #1012 from exadel-inc/EFRS-1278-Add-ability-to-ski…
pospielov Feb 16, 2023
21b82b1
Merge pull request #1030 from exadel-inc/platform-arm64
ashutau Feb 21, 2023
bcf412c
Close the JDWP debug port by default
ashutau Feb 23, 2023
9863e5c
Merge pull request #1032 from exadel-inc/disable-debug
ashutau Feb 24, 2023
48bc2e7
added server status check before displaying UI (#1039)
smchedlidze826 Mar 10, 2023
c1bbfc1
Added .Net SDK
pospielov Mar 20, 2023
ee141a1
Added documentation for detect_faces param
pospielov Apr 4, 2023
394780f
Merge branch 'master' of github.com:exadel-inc/CompreFace
pospielov Apr 4, 2023
312a2da
EFRS-1162: Added delay for loader
Apr 13, 2023
50a268a
Merge pull request #1054 from exadel-inc/efrs-1162-loader
ahodkov Apr 14, 2023
df58cab
EFRS-1306: Increase container size
Apr 18, 2023
67e59a0
Merge pull request #1058 from exadel-inc/EFRS-1306-responsive-design
ahodkov Apr 24, 2023
6075fde
EFRS-1162: Change loading
Apr 25, 2023
b227917
Merge pull request #1063 from exadel-inc/efrs-1162-loader
ahodkov Apr 25, 2023
d7b5a71
EFRS-1253: Added pose plugin
May 10, 2023
c814a1f
Changed logo for pose plugin
May 11, 2023
91116a3
Added pose plugin icon
May 15, 2023
fa0f5da
Merge pull request #1068 from exadel-inc/EFRS-1253-pose-plugin
ahodkov May 15, 2023
ae563c1
Update Dockerfile
Anatolii-R May 26, 2023
39ed549
Update Makefile
Anatolii-R May 26, 2023
e472e88
Update gpu.Dockerfile
Anatolii-R May 26, 2023
6d93e48
Update requirements.txt
Anatolii-R May 26, 2023
b818b9e
Update __init__.py
Anatolii-R May 26, 2023
0e76aa6
Update dependencies.py
Anatolii-R May 26, 2023
6129396
updated Readme, updated screenshots and added video
pospielov May 26, 2023
65191bf
updated Readme, updated visuals
pospielov May 26, 2023
bf7fc9d
updated Readme, try to fix links
pospielov May 26, 2023
fa2217b
updated Readme, try to fix links
pospielov May 26, 2023
934fb3b
Update dependencies.py
Anatolii-R May 29, 2023
a9a7ca9
fix scikit-image
pospielov May 29, 2023
2af2621
EFRS-1371: Fix select in user table
May 30, 2023
dc4b119
EFRS-1373: apps order by name
May 30, 2023
5b970d3
updated Readme, fix links - workaround GitHub bug with links
pospielov May 30, 2023
24578ff
updated Readme, updated visuals
pospielov May 30, 2023
56584cb
Merge pull request #1076 from exadel-inc/readme-update
pospielov May 30, 2023
056f7e2
EFRS-1369: Fix detect_faces
May 30, 2023
d60ce85
updated Readme, updated visuals
pospielov May 30, 2023
a7654d0
Merge branch 'master' of github.com:exadel-inc/CompreFace
pospielov May 30, 2023
9da6f31
updated Readme, fixed links
pospielov May 30, 2023
4692c76
EFRS-1299: Add notification for application crud
May 31, 2023
0db32c1
Fix test
May 31, 2023
e0463ae
EFRS-1367: Remove thrown exception and move logs to info console
May 31, 2023
cba1665
added max_detect_size to Configuration.md
pospielov May 31, 2023
a5cca91
Update facenet.py
Anatolii-R May 31, 2023
69d5b01
Update base.py
Anatolii-R May 31, 2023
b6785f7
Update agegender.py
Anatolii-R May 31, 2023
c14a5e8
Update facemask.py
Anatolii-R May 31, 2023
5d0bd7c
Update managers.py
Anatolii-R May 31, 2023
918c629
Added modificated mtcnn.py
Anatolii-R Jun 1, 2023
795d930
Update requirements.txt
Anatolii-R Jun 1, 2023
68487b8
Update facenet.py
Anatolii-R Jun 1, 2023
4026ce8
Update agegender.py
Anatolii-R Jun 1, 2023
ffd6898
Update base.py
Anatolii-R Jun 1, 2023
86bf5e9
Update facemask.py
Anatolii-R Jun 1, 2023
8c0e9fe
Update facenet.py
Anatolii-R Jun 1, 2023
34b76cb
Update managers.py
Anatolii-R Jun 1, 2023
2271fe7
Changes after comments
Jun 2, 2023
c3767f3
Add MTCNN
An-R Jun 2, 2023
97b546d
Add MTCNN
An-R Jun 2, 2023
e921854
Add MTCNN
An-R Jun 2, 2023
0abd59c
Changed confidence in insightface
Jun 2, 2023
62cce48
Merge pull request #1077 from exadel-inc/bug-fix
pospielov Jun 2, 2023
3573b1d
Update insightface.py
Anatolii-R Jun 15, 2023
0d45436
Update Dockerfile
Anatolii-R Jun 15, 2023
9d0d1d3
Update dependencies.py
Anatolii-R Jun 15, 2023
eee41e9
Update Deploy-qa-demo-manual.yml
pospielov Jun 19, 2023
e1ee791
Update Build-Deploy-auto.yml
pospielov Jun 19, 2023
d10cf2f
Merge pull request #1078 from exadel-inc/TF220_CUDA11_8
pospielov Jun 21, 2023
4649a53
sort by area in facenet plugin
aktober Jun 28, 2023
e140be9
moved sorting into mixin
aktober Jun 28, 2023
28013b7
updated unit test
aktober Jul 3, 2023
eff15d7
Added flow for error 502
oriasyk Jul 3, 2023
58e3660
Merge pull request #1099 from exadel-inc/EFRS-1162_fix_for_502_error
oriasyk Jul 4, 2023
b6f82ea
Added fixes for users list in manage users popup
oriasyk Jul 4, 2023
6c485ca
Merge pull request #1097 from exadel-inc/sort_detections_by_area
pospielov Jul 5, 2023
8a69bbe
Merge pull request #1100 from exadel-inc/EFRS-1371_fix_manage_users_list
pospielov Jul 6, 2023
bdf2064
Update handling of 502 response status
oriasyk Jul 11, 2023
be96c88
Added additional error actions to server-status state
oriasyk Jul 12, 2023
e1f8948
Update for server-status effects
oriasyk Jul 12, 2023
fb3e226
Merge pull request #1102 from exadel-inc/EFRS-1162_Upgrade_for_error_…
oriasyk Jul 13, 2023
dd2cf7d
Arrow material icons placed locally
oriasyk Jul 14, 2023
d9335cd
Merge branch 'master' into EFRS-1366_Added_arrows_icon_locally
oriasyk Jul 14, 2023
525a853
added 1.2.x branch
pospielov Jul 17, 2023
225937c
Merge pull request #1105 from exadel-inc/master
pospielov Jul 17, 2023
0223359
Update unit-tests-on-python.yml
pospielov Jul 17, 2023
e43fa03
Merge pull request #1107 from exadel-inc/pospielov-patch-1
pospielov Jul 17, 2023
7acb24f
Added no cache translate loader
oriasyk Jul 18, 2023
a41efd2
Made unsubscribe dependent on subject
oriasyk Jul 18, 2023
ba78a82
Merge pull request #1108 from exadel-inc/Avoid_translate_caching
oriasyk Jul 18, 2023
50a3b7c
Missprint fix
oriasyk Jul 18, 2023
8401606
Added message error check for ProgressEvent
oriasyk Jul 18, 2023
10aaf96
Added absolut positioning for change-photo buttons
oriasyk Jul 19, 2023
fcb5be5
Updated error message conditions for confirmPassword field
oriasyk Jul 20, 2023
4db955c
Updated placeholders for signup input fields
oriasyk Jul 20, 2023
bd600bb
Update z-index for footer to avoid overlapping
oriasyk Jul 21, 2023
c7491be
Updated error message for last name in signup form
oriasyk Jul 21, 2023
92ead22
Updated styles for no data message
oriasyk Jul 21, 2023
84d5b31
Decrease of mat-icon size
oriasyk Jul 21, 2023
ff3e55e
remove debug port by default
pospielov Jul 21, 2023
3a3d18f
Merge branch 'master' of github.com:exadel-inc/CompreFace
pospielov Jul 21, 2023
2de6b81
Blur overlay for images is deleted
oriasyk Jul 24, 2023
2ea3fb9
Replaced trash icon
oriasyk Jul 24, 2023
f900afe
Added pre-wrap for matTooltip
oriasyk Jul 25, 2023
05f1f68
Merge pull request #1109 from exadel-inc/Updates_for_unsubscribe_in_a…
oriasyk Jul 25, 2023
71fce0e
Merge pull request #1121 from exadel-inc/remove-debug-port-by-default
pospielov Jul 25, 2023
c4fe3c1
Merge pull request #1110 from exadel-inc/EFRS-1366_Added_arrows_icon_…
oriasyk Jul 26, 2023
ca4b222
Merge pull request #1112 from exadel-inc/Snackbar_message_display_fix
oriasyk Jul 26, 2023
6e2fc0c
Merge pull request #1113 from exadel-inc/EFRS-1381_make_face_informat…
oriasyk Jul 26, 2023
f99eef2
Merge pull request #1115 from exadel-inc/EFRS-1379_update_error_messa…
oriasyk Jul 26, 2023
21ba89d
Merge pull request #1116 from exadel-inc/EFRS-1380_Update_placeholder…
oriasyk Jul 26, 2023
7af5d40
Merge pull request #1118 from exadel-inc/EFRS-1385_Avoid_footer_overl…
oriasyk Jul 26, 2023
47563ad
Merge pull request #1119 from exadel-inc/EFRS-1387_Update_translation…
oriasyk Jul 26, 2023
e08a47b
Merge pull request #1120 from exadel-inc/EFRS-1388_Fix_icon_size_for_…
oriasyk Jul 26, 2023
7cfc702
Merge pull request #1122 from exadel-inc/EFRS-1389_Eliminate_blur_for…
oriasyk Jul 26, 2023
c91f117
Merge pull request #1123 from exadel-inc/EFRS-1391_Change_visibility_…
oriasyk Jul 26, 2023
c985c8b
Merge pull request #1124 from exadel-inc/EFRS-1393_Adjust_first_sente…
oriasyk Jul 26, 2023
d6c8f73
Added setter for max image size
oriasyk Jul 26, 2023
ba7c270
Added margin to upload area
oriasyk Jul 26, 2023
442a805
Set background for trash icon
oriasyk Jul 28, 2023
ea57665
Reset collection on subject item select
oriasyk Jul 28, 2023
59b32f9
Added check for uploaded examples last item
oriasyk Jul 28, 2023
475891c
Added Stop Uploading modal for edit/delete/logout cases
oriasyk Jul 29, 2023
4cc01ff
Added Confirmation dialog to top-bar component
oriasyk Jul 31, 2023
d5d1fbd
Update for open dialog method
oriasyk Jul 31, 2023
6a76736
Added check for last item in onScrollDown method
oriasyk Jul 31, 2023
3158c5f
Added state reset on sebject change
oriasyk Jul 31, 2023
fcc3df9
Added relative position to roles selector
oriasyk Jul 31, 2023
5cc3f2e
Added correct messages for delete Examples and Subjects dialog
oriasyk Jul 31, 2023
30cf37c
Missprint correction
oriasyk Jul 31, 2023
389f49d
Added max image size info to manage-collection components
oriasyk Jul 31, 2023
5caa85c
Update docker-compose.yml for custom builds
Anatolii-R Aug 1, 2023
76ced11
Update docker-compose.yml for mobilenet-gpu
Anatolii-R Aug 1, 2023
59deac3
Update docker-compose-gpu.yml in dev
Anatolii-R Aug 1, 2023
7a441f8
Merge pull request #1134 from exadel-inc/EFRS-1397_update_docker_comp…
Anatolii-R Aug 1, 2023
7373e03
Merge pull request #1125 from exadel-inc/EFRS-1395_Add_units_of_measu…
oriasyk Aug 1, 2023
ffb4449
Merge pull request #1126 from exadel-inc/EFRS-1396_Aligh_top_borders_…
oriasyk Aug 1, 2023
6dfe451
Merge pull request #1127 from exadel-inc/EFRS-1391_Add_background_for…
oriasyk Aug 1, 2023
2520dd5
Merge pull request #1128 from exadel-inc/EFRS-1409_Avoid_mixing_of_su…
oriasyk Aug 1, 2023
9d7a417
Merge pull request #1130 from exadel-inc/EFRS-1424_warning_modal_whil…
oriasyk Aug 1, 2023
d51e315
Merge pull request #1131 from exadel-inc/EFRS-1409_Subjects_are_mix_c…
oriasyk Aug 1, 2023
528d0e6
Merge pull request #1132 from exadel-inc/EFRS-1427_fix_position_of_ro…
oriasyk Aug 1, 2023
ca86abd
Merge pull request #1133 from exadel-inc/EFRS-1420_Update_content_for…
oriasyk Aug 1, 2023
6cb10f8
Getter rename
oriasyk Aug 1, 2023
bf5ca4c
Load statistics data for dashboard page
oriasyk Aug 2, 2023
f08c1f6
Merge pull request #1137 from exadel-inc/EFRS-1395_Add_units_of_measu…
oriasyk Aug 2, 2023
9324c10
make dev .env file consistent with prod
pospielov Aug 2, 2023
5b7955e
Added logic to display error message while incorrect pass submit
oriasyk Aug 2, 2023
4eb15df
Got rid of redundant getSubjectExample action dispatch
oriasyk Aug 3, 2023
5b8572c
Added name validation in dialogs for forbidden chars
oriasyk Aug 3, 2023
3854595
Load statistics data for dashboard page
oriasyk Aug 2, 2023
890ade9
Merge pull request #1144 from exadel-inc/EFRS-1430_made_graphs_visibl…
pospielov Aug 4, 2023
fd26b70
Update docker-compose-gpu.yml
Anatolii-R Aug 4, 2023
ddf90d3
Update docker-compose.yml
Anatolii-R Aug 4, 2023
46aba06
Update docker-compose.yml
Anatolii-R Aug 4, 2023
02d5d4d
Update _endpoints.py
Anatolii-R Aug 4, 2023
bb1893d
Merge pull request #1145 from exadel-inc/early_init_of_model
Anatolii-R Aug 4, 2023
1c5e9c7
Update docker-compose-gpu.yml
Anatolii-R Aug 4, 2023
aaf216b
Update docker-compose.yml
Anatolii-R Aug 4, 2023
86ad9f7
Update docker-compose.yml
Anatolii-R Aug 4, 2023
40851cf
Update _endpoints.py
Anatolii-R Aug 4, 2023
6e2d2e8
Merge pull request #1139 from exadel-inc/update-env-file
pospielov Aug 4, 2023
96c39c5
Merge pull request #1146 from exadel-inc/Anatolii-R-patch-1
pospielov Aug 4, 2023
c1b1872
Merge pull request #1138 from exadel-inc/EFRS-1430_Made_graphs_availa…
oriasyk Aug 4, 2023
1a299a6
Merge pull request #1140 from exadel-inc/EFRS-1408_Update_message_for…
oriasyk Aug 4, 2023
939711c
Merge pull request #1141 from exadel-inc/EFRS-1429_Avoid_duplicated_r…
oriasyk Aug 4, 2023
b4fcb5f
Merge pull request #1142 from exadel-inc/EFRS-1400_add_invalid_charac…
oriasyk Aug 4, 2023
99d5fab
Made service info block scrollable
oriasyk Aug 4, 2023
02c48ed
Merge pull request #1147 from exadel-inc/EFRS-1430_made_graphs_scroll…
oriasyk Aug 4, 2023
f6307a5
Added directive to handle tooltip arrow
oriasyk Aug 4, 2023
21f133e
Made Forgot Password link visible according mail status in login form
oriasyk Aug 11, 2023
b84837e
Merge pull request #1158 from exadel-inc/EFRS-1446_Forgot_possword_li…
pospielov Aug 11, 2023
3ccbfe9
Update docker-compose.yml
Anatolii-R Aug 14, 2023
4714096
Update docker-compose-gpu.yml
Anatolii-R Aug 14, 2023
3fab97c
Update docker-compose-gpu.yml
Anatolii-R Aug 14, 2023
c4b806d
Update docker-compose.yml
Anatolii-R Aug 14, 2023
01b6eaa
Merge pull request #1161 from exadel-inc/EFRS-1467_fix_for_master
Anatolii-R Aug 14, 2023
528eead
Merge pull request #1160 from exadel-inc/efrs-1467_max_detect_size_fix
Anatolii-R Aug 14, 2023
ad74be6
Restrict_deleting_of_invalid_images_from_Subject_list
oriasyk Aug 14, 2023
fb48654
Merge branch '1.2.x' of github.com:exadel-inc/CompreFace into 1.2.x
pospielov Aug 14, 2023
a9435ae
Reverted ARM build
pospielov Aug 14, 2023
6458d82
updated version
pospielov Aug 15, 2023
6820964
fixes for Single container build
pospielov Aug 16, 2023
e0987c9
update Single Image build action. Added docker prune because of no sp…
pospielov Aug 17, 2023
a8e9d81
Merge branch '1.2.x' of github.com:exadel-inc/CompreFace into 1.2.x-t…
pospielov Aug 17, 2023
2625768
Merge pull request #1162 from exadel-inc/EFRS-1470_User_should_not_be…
pospielov Aug 19, 2023
04e6523
Merge pull request #1148 from exadel-inc/EFRS-1394_Tooltip_points_to_…
pospielov Aug 19, 2023
f125e0c
Merge pull request #1166 from exadel-inc/1.2.x-to-master
pospielov Sep 21, 2023
9bad6ea
Update Deploy-qa-demo-manual.yml
pospielov Sep 25, 2023
4d826e5
fixes EFRS-1377, EFRS-1394, EFRS-1463, EFRS-1483 (#1177)
ZuraM Sep 27, 2023
0366253
change dependencies
An-R Oct 18, 2023
63fd670
fixes ui bugs, validations and lifecycle event
ZuraM Nov 7, 2023
54c13a2
fixes new application name length
ZuraM Nov 7, 2023
0e31687
Merge pull request #1200 from exadel-inc/ui_bug_fixes
pospielov Nov 9, 2023
27482ff
Update requirements.txt
Anatolii-R Nov 12, 2023
ddf32da
Merge pull request #1188 from exadel-inc/test_fix
Anatolii-R Nov 14, 2023
43e45a7
Create clojure.yml
Infininite-OptionZ Sep 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.git
/embedding-calculator/sample_images
.git
20 changes: 14 additions & 6 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,17 @@ email_from=
email_password=
enable_email_server=false
save_images_to_db=true
compreface_api_java_options=-Xmx8g
compreface_admin_java_options=-Xmx8g
ADMIN_VERSION=0.5.1
API_VERSION=0.5.1
FE_VERSION=0.5.1
CORE_VERSION=0.5.1
compreface_api_java_options=-Xmx4g
compreface_admin_java_options=-Xmx1g
max_file_size=5MB
max_request_size=10M
max_detect_size=640
uwsgi_processes=2
uwsgi_threads=1
connection_timeout=10000
read_timeout=60000
ADMIN_VERSION=1.2.0
API_VERSION=1.2.0
FE_VERSION=1.2.0
CORE_VERSION=1.2.0
POSTGRES_VERSION=1.2.0
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,40 @@ assignees: ''
---

**Describe the bug**

A clear and concise description of what the bug is.

**To Reproduce**

Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**

A clear and concise description of what you expected to happen.

**Screenshots**

If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Logs**

Run those commands and attach result to the ticket:

`docker ps`

`docker-compose logs`


**Additional context**

Add any other context about the problem here.
59 changes: 59 additions & 0 deletions .github/workflows/AWS-CompreFace-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: (AWS) Create CompreFace image for new release

on:
workflow_dispatch:
inputs:
release:
description: release zip (e.g., https://github.com/exadel-inc/CompreFace/releases/download/v1.0.0/CompreFace_1.0.0.zip)
required: true
version:
description: version (e.g., 1.0.0)
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_KEY_ACCESS }}
aws-region: us-east-1
- name: Create Security Group
run: |
export SECURITY_GROUP_ID=$(aws ec2 create-security-group --group-name MySecurityGroup --description "My security group" --query 'GroupId' --output text)
aws ec2 wait security-group-exists --group-ids ${SECURITY_GROUP_ID}
aws ec2 authorize-security-group-ingress --group-id ${SECURITY_GROUP_ID} --protocol tcp --port 22 --cidr 0.0.0.0/0
echo "SECURITY_GROUP_ID=$SECURITY_GROUP_ID" >> $GITHUB_ENV
- name: Run Instance
run: |
echo ${SECURITY_GROUP_ID}
export INSTANCE_ID=$(aws ec2 run-instances --image-id ami-04e612d1108883950 --count 1 --instance-type t2.medium --key-name IharB --security-group-ids ${SECURITY_GROUP_ID} --subnet-id subnet-080dc6a6ed9580c77 --query 'Instances[0].InstanceId' --output text)
aws ec2 wait instance-running --instance-ids ${INSTANCE_ID}
echo "INSTANCE_ID=$INSTANCE_ID" >> $GITHUB_ENV
sleep 10
- name: Install Release
env:
RELEASE: ${{ github.event.inputs.release }}
SSH_KEY: ${{secrets.SSH_KEY}}
run: |
echo "$SSH_KEY" > private_key && chmod 600 private_key
export INSTANCE_IP_ADDRESS_EXTERNAL=$(aws ec2 describe-instances --instance-id ${INSTANCE_ID} --query 'Reservations[].Instances[].NetworkInterfaces[].Association.PublicIp' --output text)
echo $INSTANCE_IP_ADDRESS_EXTERNAL
ssh -i private_key -oStrictHostKeyChecking=no ec2-user@$INSTANCE_IP_ADDRESS_EXTERNAL "wget -q -O tmp.zip '$RELEASE' && unzip -o tmp.zip && rm tmp.zip && docker-compose stop && docker-compose rm --force && docker image prune -a --force && docker-compose up -d && rm /home/ec2-user/.ssh/authorized_keys && sudo rm /root/.ssh/authorized_keys"
- name: Stop Instance
run: |
aws ec2 stop-instances --instance-ids $INSTANCE_ID
aws ec2 wait instance-stopped --instance-ids $INSTANCE_ID
- name: Create Image
env:
VERSION: ${{ github.event.inputs.version }}
run: |
export IMAGE_ID=$(aws ec2 create-image --instance-id $INSTANCE_ID --name "CompreFace_${VERSION}" --description "CompreFace Base Image" --query 'ImageId' --output text)
echo "CompreFace Base Image id of version ${VERSION} : ${IMAGE_ID}"
aws ec2 wait image-available --image-ids ${IMAGE_ID}
- name: Delete resources
run: |
aws ec2 terminate-instances --instance-ids $INSTANCE_ID
aws ec2 wait instance-terminated --instance-ids $INSTANCE_ID
aws ec2 delete-security-group --group-name MySecurityGroup
40 changes: 40 additions & 0 deletions .github/workflows/AWS-Сompreface-packer-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: (AWS) Сompreface packer image
on:
workflow_dispatch:
jobs:
packer:
runs-on: ubuntu-latest
name: packer

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_KEY_ACCESS }}
aws-region: us-east-1

- name: Initialize Packer Template
uses: hashicorp/packer-github-actions@master
with:
command: init

- name: Validate Template
uses: hashicorp/packer-github-actions@master
with:
command: validate
arguments: -syntax-only
target: aws-compreface.pkr.hcl

- name: Build Artifact
uses: hashicorp/packer-github-actions@master
with:
command: build
arguments: "-color=true -on-error=abort"
target: aws-compreface.pkr.hcl
env:
PACKER_LOG: 1
51 changes: 51 additions & 0 deletions .github/workflows/Azure-Compreface-AIB-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
name: (Azure) Сompreface AIB image
on:
workflow_dispatch:
inputs:
version:
description: Version (e.g., 1.0.0)
required: true
env:
RESOURCE_GROUP_NAME: compreFaceGallery-RG
MANAGED_IDENTITY: compreFace-MI
GALLERY_NAME: compreFaceGallery
IMAGE_NAME: compreFace
VERSION: ${{ github.event.inputs.version }}
jobs:
build-image:
runs-on: ubuntu-latest
steps:

- name: Login via Az module
uses: azure/login@v1
with:
creds: ${{secrets.AZURE_CREDENTIALS}}

- name: Build custom VM image
id: imageBuilder
uses: azure/build-vm-image@v0
with:
resource-group-name: "${{ env.RESOURCE_GROUP_NAME }}"
managed-identity: "${{ env.MANAGED_IDENTITY }}"
location: 'eastus'
source-os-type: 'linux'
source-image-type: 'PlatformImage'
source-image: Canonical:0001-com-ubuntu-server-focal:20_04-lts-gen2:latest
vm-size: 'Standard_B2s'
dist-type: 'SharedImageGallery'
dist-resource-id: "/subscriptions/${{secrets.AZURE_SUBSCRIPTION_ID}}/resourceGroups/${{ env.RESOURCE_GROUP_NAME }}/providers/Microsoft.Compute/galleries/${{ env.GALLERY_NAME }}/images/${{ env.IMAGE_NAME }}/versions/${{ env.VERSION }}"
dist-location: 'eastus'
customizer-script: |
apt update
apt upgrade -y
apt install -y docker.io unzip
docker version
curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose version
chmod 666 /var/run/docker.sock
wget -q -O tmp.zip "https://github.com/exadel-inc/CompreFace/releases/download/v${{ env.VERSION }}/CompreFace_${{ env.VERSION }}.zip" && unzip tmp.zip && rm tmp.zip
sed -i "s|8000:|80:|g" docker-compose.yml
docker-compose pull --quiet
docker-compose up -d
115 changes: 115 additions & 0 deletions .github/workflows/Build-Deploy-auto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
name: Build and Deploy CompreFace on push

on:
push:
branches:
- master
- '1.2.x'

env:
REGISTRY: ghcr.io

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# Map steps outputs to a job outputs.
# We need to share it between build and deploy jobs.
outputs:
registry_path: ${{ steps.registry_path.outputs.registry_path }}
tag: ${{ steps.tag_vars.outputs.tag }}
tag_latest: ${{ steps.tag_vars.outputs.tag_latest }}
env_name: ${{ steps.env_var.outputs.env_name }}

steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Set registry path output
id: registry_path
run: echo "registry_path=${{ env.REGISTRY }}/exadel-inc/compreface/" >> $GITHUB_OUTPUT

- name: Set tags from git output
id: tag_vars
run: |
echo "tag=${{ github.ref_name }}-$(git rev-parse HEAD | cut -c 1-7 | tr -d '\n')" >> $GITHUB_OUTPUT
echo "tag_latest=${{ github.ref_name }}-latest" >> $GITHUB_OUTPUT

- name: Set environment output from git
id: env_var
run: |
if [ "${{ github.ref_name }}" = "master" ]; then
echo "env_name=dev" >> $GITHUB_OUTPUT
elif [ "${{ github.ref_name }}" = "1.2.x" ]; then
echo "env_name=stage" >> $GITHUB_OUTPUT
else
echo "env_name=Features" >> $GITHUB_OUTPUT
fi

- name: Check outputs
run: |
echo "Branch : ${{ github.ref_name }}"
echo "Tags : ${{ steps.tag_vars.outputs.tag }}, ${{ steps.tag_vars.outputs.tag_latest }}"
echo "Environment: ${{ steps.env_var.outputs.env_name }}"

- name: Build images
env:
TAG: ${{ steps.tag_vars.outputs.tag }}
TAG_LATEST: ${{ steps.tag_vars.outputs.tag_latest }}
REGISTRY_PATH: ${{ steps.registry_path.outputs.registry_path }}
working-directory: ./dev
# use docker-compose build for 1.29.2
# docker compose build for 2.15.0 (with buildkit enabled by default)
run: |
docker compose version
sed -i "s|registry=|registry=${REGISTRY_PATH}|g" .env
sed -i "s/latest/${TAG}/g" .env
docker compose build
sed -i "s/${TAG}/${TAG_LATEST}/g" .env
docker compose build
docker images

- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push images to the Container registry
env:
TAG: ${{ steps.tag_vars.outputs.tag }}
TAG_LATEST: ${{ steps.tag_vars.outputs.tag_latest }}
working-directory: ./dev
run: |
docker-compose push
sed -i "s/${TAG_LATEST}/${TAG}/g" .env
docker-compose push

deploy:
needs: build
# It's not possible to use natively env (e.g. env.ENV_NAME) variable on the runs-on job field (yet?)
# for deploy to different environments depending on branch https://github.com/actions/runner/issues/480
# That's why we use output from the previous build job
# Note: we are using self-hosted runner here
runs-on: ["${{needs.build.outputs.env_name}}"]

steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Deploy
working-directory: ./dev
env:
TAG_LATEST: ${{ needs.build.outputs.tag_latest }}
REGISTRY_PATH: ${{ needs.build.outputs.registry_path }}
run: |
sed -i "s|registry=|registry=${REGISTRY_PATH}|g" .env
sed -i "s/latest/${TAG_LATEST}/g" .env
sed -i "s/uwsgi_processes=2/uwsgi_processes=1/g" .env
sudo docker-compose stop
sudo docker system prune -a -f
sudo docker-compose pull
HOSTNAME=$HOSTNAME sudo docker-compose -f docker-compose.yml -f docker-compose.env.yml up -d
45 changes: 45 additions & 0 deletions .github/workflows/Deploy-qa-demo-manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Deploy to QA or Demo environment manually

on:
workflow_dispatch:
inputs:
environment:
type: choice
description: 'Choose environment to deploy'
required: true
default: 'qa'
options:
- qa
- demo

env:
REGISTRY_PATH: ghcr.io/exadel-inc/compreface/

jobs:
deploy:
runs-on: ${{ github.event.inputs.environment }}

steps:

- name: Set environment output from git
id: tag_var
run: |
if [ "${{ github.event.inputs.environment }}" = "qa" ]; then
echo "TAG_LATEST=master-latest" >> $GITHUB_ENV
else
echo "TAG_LATEST=1.2.x-latest" >> $GITHUB_ENV
fi

- name: Checkout Repo
uses: actions/checkout@v3

- name: Deploy
working-directory: ./dev
run: |
sed -i "s|registry=|registry=${{ env.REGISTRY_PATH }}|g" .env
sed -i "s/latest/${{ env.TAG_LATEST }}/g" .env
sed -i "s/uwsgi_processes=2/uwsgi_processes=1/g" .env
sudo docker-compose stop
sudo docker system prune -a -f
sudo docker-compose pull
HOSTNAME=$HOSTNAME sudo docker-compose -f docker-compose.yml -f docker-compose.env.yml up -d
Loading
Loading