Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2252 commits
Select commit Hold shift + click to select a range
b40928f
return two translations
cibelius Sep 11, 2025
b50fb1b
return some removed translations
cibelius Sep 11, 2025
9c620fc
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
rikukissa Sep 11, 2025
de932ec
return old version
cibelius Sep 11, 2025
25a82d0
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
rikukissa Sep 11, 2025
f8a8010
restore client.csv
cibelius Sep 11, 2025
3297c8b
update client.csv
cibelius Sep 11, 2025
190ec6c
make analytics database url optional
rikukissa Sep 11, 2025
67c9df5
Merge branch 'develop' into tmp-fix-develop-sync
adskyiproger Sep 11, 2025
baba777
Merge pull request #1673 from opencrvs/tmp-fix-develop-sync
adskyiproger Sep 11, 2025
3759549
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 11, 2025
3e96177
fix(e2e): upload supporting document in correction flow
jamil314 Sep 12, 2025
b064425
Merge pull request #1675 from opencrvs/ocrvs-9741-fix
jamil314 Sep 12, 2025
3aa1374
dont restart event service on clear all data
cibelius Sep 12, 2025
25eb001
dont restart metabase either
cibelius Sep 12, 2025
bb8847a
Merge pull request #1677 from opencrvs/remove-event-service-restart-o…
cibelius Sep 12, 2025
087cfb7
run migrations service
cibelius Sep 12, 2025
eddf157
notify slack on any failure
cibelius Sep 12, 2025
4d9d504
sleep for 2min for testing purposes
cibelius Sep 12, 2025
4450bad
Merge pull request #1678 from opencrvs/remove-event-service-restart-o…
cibelius Sep 12, 2025
b1dce45
wait for migration service to finish before continuing
cibelius Sep 12, 2025
6e59362
Merge pull request #1679 from opencrvs/remove-event-service-restart-o…
cibelius Sep 12, 2025
34c4ad1
fix
cibelius Sep 12, 2025
ae97065
Merge pull request #1680 from opencrvs/remove-event-service-restart-o…
cibelius Sep 12, 2025
2165ede
Merge branch 'develop' of github.com:opencrvs/opencrvs-farajaland int…
rikukissa Sep 12, 2025
5431eed
fix slack failure
cibelius Sep 12, 2025
0c13e08
fix always
cibelius Sep 12, 2025
96cb5c2
Merge pull request #1681 from opencrvs/remove-event-service-restart-o…
cibelius Sep 12, 2025
ffe59a8
Merge branch 'develop' of github.com:opencrvs/opencrvs-farajaland int…
rikukissa Sep 12, 2025
dc86b0a
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
rikukissa Sep 12, 2025
1539014
Add environment files for v19-beta-staging
github-actions[bot] Sep 15, 2025
7076976
Add environment files for v19-beta-prod
github-actions[bot] Sep 15, 2025
88c0e07
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 15, 2025
69a2c4e
wip with test improvements
cibelius Sep 15, 2025
8119a29
sort translations
cibelius Sep 15, 2025
a34a219
Merge remote-tracking branch 'upstream/ocrvs-10405' into ocrvs-10405
cibelius Sep 15, 2025
e365355
Merge remote-tracking branch 'upstream/ocrvs-10405' into ocrvs-10405
cibelius Sep 15, 2025
b61ede1
Merge pull request #1671 from opencrvs/ocrvs-10405
cibelius Sep 15, 2025
60b371c
Merge remote-tracking branch 'upstream/develop' into sync-2025-09-15-2
cibelius Sep 15, 2025
2c69bb2
Merge pull request #1685 from opencrvs/sync-2025-09-15-2
cibelius Sep 15, 2025
20b6b6f
Merge remote-tracking branch 'origin/develop' into ocrvs-10344
cibelius Sep 15, 2025
7eecf7e
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 15, 2025
cefc35f
Merge branch 'develop' into ocrvs-10344
cibelius Sep 16, 2025
faae5a2
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 16, 2025
4887ee1
Merge branch 'develop' of github.com:opencrvs/opencrvs-farajaland int…
rikukissa Sep 16, 2025
13044e2
Merge pull request #1683 from opencrvs/ocrvs-10344
cibelius Sep 16, 2025
949822d
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 16, 2025
fa92cb7
add test suite for testing offline correction
cibelius Sep 16, 2025
b0a63b1
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 16, 2025
35226b4
fix: Allow tests to pass on CI with staging Lets Encrypt SSL Certificate
adskyiproger Sep 10, 2025
18f18c1
fixed formatting
tareq89 Sep 11, 2025
3a23199
Merge pull request #1669 from opencrvs/ocrvs-10097
tareq89 Sep 16, 2025
62377a9
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 16, 2025
f13d268
add test case for request/accept (offline) correction flow
cibelius Sep 16, 2025
db01958
Merge branch 'develop' of github.com:opencrvs/opencrvs-countryconfig …
Zangetsu101 Sep 16, 2025
12c9daf
Merge pull request #1686 from opencrvs/ocrvs-10459
Zangetsu101 Sep 16, 2025
6003c3c
Merge branch 'develop' into ocrvs-10344-b
cibelius Sep 17, 2025
b3427d7
Merge pull request #1687 from opencrvs/ocrvs-10344-b
cibelius Sep 17, 2025
308c069
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 17, 2025
c1dd9ef
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
jamil314 Sep 17, 2025
5204778
Merge branch 'develop' into sync-fork-17-09
jamil314 Sep 17, 2025
102fd8f
fix: bring back `p-queue`
jamil314 Sep 17, 2025
ffe1dcc
chore: bump up toolkit
jamil314 Sep 17, 2025
99849c0
fix: `-SCOPE.REINDEX` `+SCOPES.RECORD_REINDEX`
jamil314 Sep 17, 2025
bee9ee7
Merge branch 'sync-fork-17-09' of https://github.com/opencrvs/opencrv…
jamil314 Sep 17, 2025
44b82d8
Merge pull request #1688 from opencrvs/sync-fork-17-09
jamil314 Sep 17, 2025
c86be3d
Add Barry to staging ssh
tumbledwyer Sep 18, 2025
10c85b4
Merge pull request #1691 from opencrvs/add-barry-ssh
tumbledwyer Sep 18, 2025
a753d9e
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
jamil314 Sep 18, 2025
e3efddf
Merge pull request #1692 from opencrvs/sync-fork-18-09
jamil314 Sep 18, 2025
bdde85d
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 18, 2025
e512f55
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 18, 2025
bad73c9
try with superuser credentials
cibelius Sep 18, 2025
b3a5fe6
Merge remote-tracking branch 'upstream/use-postgres-superuser-credent…
cibelius Sep 18, 2025
25fa95d
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 18, 2025
5811791
Merge branch 'develop' into use-postgres-superuser-credentials
cibelius Sep 18, 2025
b7bcdd4
Merge pull request #1694 from opencrvs/use-postgres-superuser-credent…
cibelius Sep 18, 2025
bb40c74
fix shell script env check
cibelius Sep 18, 2025
fbfad07
Merge pull request #1695 from opencrvs/use-postgres-superuser-credent…
cibelius Sep 18, 2025
18b0ecd
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 19, 2025
763e635
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 19, 2025
18b23f7
Merge branch 'develop' of github.com:opencrvs/opencrvs-countryconfig …
Zangetsu101 Sep 19, 2025
f2c6799
chore: allow V2_EVENTS to be set via env variable
Zangetsu101 Sep 19, 2025
e65363c
chore: enable 2FA on v19-beta-prod
Zangetsu101 Sep 19, 2025
962c0c9
Merge pull request #1696 from opencrvs/merge-cc-dev-to-far
Zangetsu101 Sep 19, 2025
f6593a5
chore: enable v2 by default on v19-beta-prod
Zangetsu101 Sep 19, 2025
62ceadc
chore: provide tameem access to v19-prod
Zangetsu101 Sep 19, 2025
db7896f
fix: Properly distribute analytics postgres user
adskyiproger Sep 19, 2025
0ee4fe6
Merge branch 'opencrvs:fix-analytics-user' into fix-analytics-user
adskyiproger Sep 19, 2025
0622f2c
Add environment files for aaa
github-actions[bot] Sep 19, 2025
c09ed88
Remove environment files for aaa
github-actions[bot] Sep 19, 2025
0e986a3
Add environment files for fix-analytics
github-actions[bot] Sep 19, 2025
dfcd143
Merge branch 'fix-analytics-user' into fix-analytics-user
adskyiproger Sep 19, 2025
225111f
Merge pull request #1023 from opencrvs/fix-analytics-user
adskyiproger Sep 19, 2025
4551e8f
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 19, 2025
ba1257f
fix: add missing translation for roles
jamil314 Sep 22, 2025
63809e3
fix: add missing user roles translations
jamil314 Sep 22, 2025
2151bec
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 22, 2025
c6d2d70
fix v1 tests
cibelius Sep 22, 2025
b29f2f3
remove assert
cibelius Sep 22, 2025
10c38c3
fix one more test suite
cibelius Sep 22, 2025
237b666
remove non working V2_EVENTS=false
cibelius Sep 22, 2025
d729475
fix: Backup/Restore scripts (#10513)
adskyiproger Sep 22, 2025
df4bbc3
Merge pull request #1704 from opencrvs/sync-farajaland-2025-09-22
adskyiproger Sep 22, 2025
8bedaa6
use V2_EVENTS=false
cibelius Sep 22, 2025
7597307
fix
cibelius Sep 22, 2025
b9a79a3
fix v2 login
cibelius Sep 22, 2025
e96f838
fix query param
cibelius Sep 22, 2025
c338e63
Merge pull request #1701 from opencrvs/fix-v1-tests
cibelius Sep 22, 2025
9c10300
fix: update default user roels
jamil314 Sep 22, 2025
4eff8be
test: add tests for messages
jamil314 Sep 22, 2025
e642640
Merge branch 'ocrvs-10536' of github.com:opencrvs/opencrvs-countrycon…
rikukissa Sep 23, 2025
5e6be38
Remove environment files for meta
github-actions[bot] Sep 23, 2025
25cff74
Merge branch 'develop' of github.com:opencrvs/opencrvs-countryconfig …
Zangetsu101 Sep 23, 2025
18e936e
Merge pull request #1707 from opencrvs/merge-cc-dev-to-far
Zangetsu101 Sep 23, 2025
da66cef
Merge branch 'develop' into ocrvs-10027-b
jamil314 Sep 23, 2025
5d6d004
Merge branch 'ocrvs-10027-b' of https://github.com/opencrvs/opencrvs-…
jamil314 Sep 23, 2025
de3a816
update e2e tests for office being sent as part of notification
rikukissa Sep 23, 2025
939564f
Merge branch 'develop' of github.com:opencrvs/opencrvs-farajaland int…
rikukissa Sep 23, 2025
70673cd
in notifications workqueue, only show records that were created or up…
rikukissa Sep 23, 2025
4eac41c
Merge pull request #1705 from opencrvs/ocrvs-10536
rikukissa Sep 23, 2025
4287c32
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 23, 2025
d02c3a7
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 23, 2025
026b021
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 24, 2025
c8de1e1
Merge remote-tracking branch 'upstream/develop' into sync-2025-09-24
cibelius Sep 24, 2025
6719cc5
Merge pull request #1708 from opencrvs/sync-2025-09-24
cibelius Sep 24, 2025
09808f4
event notification test now performs view action for created event
cibelius Sep 24, 2025
81d55c0
Merge branch 'develop' into ocrvs-10027-b
jamil314 Sep 24, 2025
d512433
Merge branch 'ocrvs-10027-b' of https://github.com/opencrvs/opencrvs-…
jamil314 Sep 24, 2025
0a9416f
fix: remove duplicate entries
jamil314 Sep 24, 2025
b186d67
Merge pull request #1711 from opencrvs/ocrvs-10546
cibelius Sep 25, 2025
4d0ac0f
Merge branch 'ocrvs-10027-b' of https://github.com/opencrvs/opencrvs-…
jamil314 Sep 25, 2025
eca1a18
add testcase, unskip testcase
cibelius Sep 25, 2025
3fe1b30
Merge branch 'ocrvs-10027-b' of https://github.com/opencrvs/opencrvs-…
jamil314 Sep 25, 2025
c497da5
Merge branch 'ocrvs-10027-b' of https://github.com/opencrvs/opencrvs-…
jamil314 Sep 25, 2025
690ed62
Merge remote-tracking branch 'upstream/develop' into sync-2025-09-25
cibelius Sep 25, 2025
f185a9a
Merge pull request #1713 from opencrvs/sync-2025-09-25
cibelius Sep 25, 2025
df8e1ab
Merge branch 'develop' into ocrvs-10565
cibelius Sep 25, 2025
a73034f
remove duplicate env import
cibelius Sep 25, 2025
1b6c99d
Merge branch 'develop' into ocrvs-10565
cibelius Sep 25, 2025
9e7acc3
fix: remove duplicate imports
jamil314 Sep 25, 2025
dde1969
Merge branch 'ocrvs-10561' of https://github.com/opencrvs/opencrvs-co…
jamil314 Sep 25, 2025
2182cd8
Merge branch 'develop' into ocrvs-10561
jamil314 Sep 25, 2025
20e6d45
e2e: add testcase for certified copy logic
jamil314 Sep 26, 2025
79692d1
add new testcase
cibelius Sep 26, 2025
fe7bdd2
Add environment files for mosip
github-actions[bot] Sep 26, 2025
d1be71f
Merge branch 'develop' into ocrvs-10565
cibelius Sep 26, 2025
bf11e7a
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 26, 2025
998847b
Merge pull request #1712 from opencrvs/ocrvs-10565
cibelius Sep 26, 2025
4a9b135
fix: e2e
jamil314 Sep 29, 2025
1cd7281
Merge branch 'develop' into ocrvs-10561
jamil314 Sep 29, 2025
74b6729
Merge branch 'ocrvs-10561' of https://github.com/opencrvs/opencrvs-co…
jamil314 Sep 29, 2025
6766955
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 29, 2025
90980b4
Merge branch 'develop' into ocrvs-10561
jamil314 Sep 29, 2025
4233e25
Merge branch 'develop' into ocrvs-10578
cibelius Sep 29, 2025
d59d1bd
Merge branch 'develop' into ocrvs-10027-b
jamil314 Sep 29, 2025
cee1e13
fix tests
cibelius Sep 29, 2025
4756b71
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 29, 2025
30f000c
Merge branch 'develop' into fix-tests
cibelius Sep 29, 2025
69cf83c
fix tests
cibelius Sep 29, 2025
6f45013
Merge pull request #1718 from opencrvs/fix-tests
cibelius Sep 29, 2025
4997d37
Merge branch 'develop' into ocrvs-10578
cibelius Sep 29, 2025
9855596
Merge branch 'develop' into ocrvs-10561
jamil314 Sep 29, 2025
e5144c0
Merge branch 'develop' into ocrvs-10027-b
jamil314 Sep 29, 2025
e3c1c46
add test case
cibelius Sep 29, 2025
97c7278
Merge branch 'ocrvs-10027-b' of https://github.com/opencrvs/opencrvs-…
jamil314 Sep 30, 2025
c4b3753
fix(e2e): remove for..of
jamil314 Sep 30, 2025
2e25c90
fix(e2e): add suffix to weight at birth
jamil314 Sep 30, 2025
e9ecc42
update test case (#1719)
pankaj-pant Sep 30, 2025
8ebd69d
add test suite
cibelius Sep 30, 2025
8d2bfd5
Merge branch 'develop' into ocrvs-10561
jamil314 Sep 30, 2025
2225cc1
Merge branch 'ocrvs-10561' of https://github.com/opencrvs/opencrvs-co…
jamil314 Sep 30, 2025
5f66429
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 30, 2025
a55a49b
Merge branch 'develop' into ocrvs-10027-b
jamil314 Sep 30, 2025
6133eb8
progress with test
cibelius Sep 30, 2025
2ab846e
fix: e2e
jamil314 Sep 30, 2025
47ee2c7
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 30, 2025
d53619d
Merge branch 'develop' into ocrvs-10578
cibelius Sep 30, 2025
c9b3542
remove tag
cibelius Sep 30, 2025
93945a0
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 30, 2025
7d90cce
fix test
cibelius Sep 30, 2025
c45fcdd
Merge branch 'develop' into ocrvs-10578
cibelius Sep 30, 2025
566d9e4
Merge branch 'develop' into ocrvs-10561
jamil314 Sep 30, 2025
831be80
fix: url in e2e
jamil314 Sep 30, 2025
4864e9e
chore: add tests for conditionals
makelicious Sep 30, 2025
b26fc82
fix: e2e url
jamil314 Sep 30, 2025
95bbd96
Merge pull request #1700 from opencrvs/ocrvs-10027-b
jamil314 Sep 30, 2025
57e49b6
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 30, 2025
b127fdd
Merge pull request #1715 from opencrvs/ocrvs-10561
jamil314 Sep 30, 2025
77b83fa
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 30, 2025
4d91292
Merge branch 'develop' into ocrvs-10578
cibelius Oct 1, 2025
e3c336a
Merge branch 'develop' into cihan-user-context
makelicious Oct 1, 2025
2543b21
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 1, 2025
27e9d24
Merge branch 'develop' into cihan-user-context
makelicious Oct 1, 2025
372344b
Merge branch 'develop' into ocrvs-10578
cibelius Oct 1, 2025
0ffc5e6
fix test
cibelius Oct 1, 2025
e49d17e
Merge pull request #1717 from opencrvs/ocrvs-10578
cibelius Oct 1, 2025
095f5f4
add test case
cibelius Oct 1, 2025
d2c702f
Merge branch 'develop' into cihan-user-context
makelicious Oct 1, 2025
d798f07
fix: remove duplicate step
makelicious Oct 1, 2025
243924e
add testcase, refactor createDeclaration
cibelius Oct 1, 2025
162d9d4
remove comments
cibelius Oct 1, 2025
e1b8ead
chore: add Hospital clerk to conditional list
makelicious Oct 1, 2025
52eb7d8
chore: add missing exit
makelicious Oct 1, 2025
6095d3c
Merge pull request #1722 from opencrvs/ocrvs-10258
cibelius Oct 2, 2025
4312851
Merge branch 'develop' into cihan-user-context
makelicious Oct 2, 2025
9b2e085
Merge pull request #1721 from opencrvs/cihan-user-context
makelicious Oct 2, 2025
2ab3cbf
improve test case
cibelius Oct 2, 2025
d9a0ecf
Merge remote-tracking branch 'upstream/develop' into sync-2025-10-02
cibelius Oct 2, 2025
1696ffd
Merge pull request #1724 from opencrvs/sync-2025-10-02
cibelius Oct 2, 2025
68a7866
Merge branch 'develop' into ocrvs-10613
cibelius Oct 2, 2025
65b7623
improve tests
cibelius Oct 2, 2025
ddc6c4d
Merge pull request #1723 from opencrvs/ocrvs-10613
cibelius Oct 2, 2025
a5bb114
Merge remote-tracking branch 'upstream/develop' into sync-2025-10-02-2
cibelius Oct 2, 2025
6e77a5f
Merge pull request #1725 from opencrvs/sync-2025-10-02-2
cibelius Oct 2, 2025
fb9c430
chore: add test cases for navigation content
makelicious Oct 2, 2025
7f67b94
fix child.birthLocation.address
tareq89 Oct 3, 2025
0a0ccd5
add testcase for death form date validations
cibelius Oct 3, 2025
e3d51a0
Merge remote-tracking branch 'upstream/ocrvs-10527' into ocrvs-10527
cibelius Oct 3, 2025
60f22d4
chore: click to change page
makelicious Oct 3, 2025
a8cf3e7
chore: fix typo
makelicious Oct 3, 2025
501a94e
Merge pull request #1728 from opencrvs/ocrvs-10527
cibelius Oct 3, 2025
7ce8930
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 3, 2025
514c035
add testcase for printing a API notified event
cibelius Oct 3, 2025
b1f080a
Merge remote-tracking branch 'upstream/ocrvs-10550' into ocrvs-10550
cibelius Oct 3, 2025
b4ea478
fix(death-form-field): amend reason for late registration field label…
Nil20 Oct 3, 2025
7660b63
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 3, 2025
dfef803
add a wait for url in navigation test to make it less flaky in case t…
rikukissa Oct 4, 2025
56c94e4
Merge pull request #1730 from opencrvs/ocrvs-10550
cibelius Oct 6, 2025
fdc5b32
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 6, 2025
7d0923c
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 6, 2025
cb42e62
Merge pull request #1727 from opencrvs/ocrvs-10573
tareq89 Oct 6, 2025
b94882d
fix: amend sent for review workqueue query (#1729)
Nil20 Oct 6, 2025
808ddf1
fix: death advanced search config
jamil314 Oct 6, 2025
18e2008
Merge branch 'develop' into ocrvs-10574
jamil314 Oct 6, 2025
64f6e3f
amend: revert unintended role change
jamil314 Oct 6, 2025
ea5d33a
Merge branch 'ocrvs-10574' of https://github.com/opencrvs/opencrvs-co…
jamil314 Oct 6, 2025
31e1e02
Merge branch 'develop' into fix/use-new-workqueue
makelicious Oct 6, 2025
fa47652
test(e2e): write test case for advanced search death place of death
jamil314 Oct 6, 2025
8898ea0
fix(e2e): use p.gondwe for marriage test
jamil314 Oct 6, 2025
875c5e1
fix(e2e): use p.gondwe for marriage test
jamil314 Oct 6, 2025
d8ec077
Merge pull request #1065 from opencrvs/ocrvs-10574
jamil314 Oct 6, 2025
64af2cc
Merge pull request #1731 from opencrvs/ocrvs-10574
jamil314 Oct 6, 2025
8c6f441
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
jamil314 Oct 7, 2025
0fc9512
Merge pull request #1067 from opencrvs/ocrvs-10582
tareq89 Oct 7, 2025
ed392db
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 7, 2025
93741e1
Merge branch 'develop' into fix/use-new-workqueue
makelicious Oct 7, 2025
f4e37cf
Merge pull request #1726 from opencrvs/fix/use-new-workqueue
makelicious Oct 7, 2025
2a7e88d
Merge pull request #1732 from opencrvs/sync-fork-07-10
jamil314 Oct 7, 2025
1e21915
child.dob is 360 days in past from current date to avoid certificate …
tareq89 Oct 7, 2025
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: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
fhir: true
},
env: {
node: true
node: true,
jest: true
}
}
3 changes: 2 additions & 1 deletion .github/workflows/block-pr-develop-to-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
if: env.blocked == 'true'
uses: thollander/actions-comment-pull-request@v2
with:
message: "🚫 **Pull requests from 'develop' to 'release-*' are not allowed!**
message:
"🚫 **Pull requests from 'develop' to 'release-*' are not allowed!**
Please create pull request from hotfix into 'release-*' branch instead."
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/block-pr-fork-upstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Block PRs from forks

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
check-fork:
runs-on: ubuntu-latest
steps:
- name: Block PRs from forks
run: |
echo "PR from: ${{ github.event.pull_request.head.repo.full_name }}"
echo "Base repo: ${{ github.repository }}"
if [[ "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.repository }}" ]]; then
echo "❌ This pull request is from a fork. Closing."
exit 1
else
echo "✅ This pull request is from the same repository. Proceeding."
fi
11 changes: 8 additions & 3 deletions .github/workflows/clear-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
environment:
required: true
type: string
outputs:
outcome:
value: ${{ jobs.reset-data.outputs.outcome }}
workflow_dispatch:
inputs:
environment:
Expand All @@ -17,6 +20,11 @@ on:
- staging
- qa
- development
- pentest
- v19-beta-staging
- v19-beta-prod
- fix-analytics
- mosip
jobs:
reset-data:
name: 'Reset data'
Expand All @@ -32,21 +40,18 @@ jobs:
fetch-depth: 0
ref: ${{ github.ref_name }}
path: './${{ github.event.repository.name }}'

- name: Read known hosts
run: |
cd ${{ github.event.repository.name }}
echo "KNOWN_HOSTS<<EOF" >> $GITHUB_ENV
sed -i -e '$a\' ./infrastructure/known-hosts
cat ./infrastructure/known-hosts >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV

- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ env.KNOWN_HOSTS }}

- name: Reset data
id: reset-data
env:
Expand Down
254 changes: 254 additions & 0 deletions .github/workflows/create-hetzner-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,254 @@
name: Create Hetzner Server
run-name: Create server for ${{ inputs.environment }} environment
on:
workflow_dispatch:
inputs:
environment:
description: "Short server name (3–5 letters)"
required: true
type:
description: "Environment type (single or multi node)"
required: false
type: choice
default: 'single-node'
options:
- single-node
- multi-node
backup_enabled:
type: boolean
description: Backup enabled
default: false
required: false
workflow_call:
inputs:
environment:
type: string
description: Environment to deploy to
required: true
type:
type: string
description: Select group tag you want to execute
default: 'single-node'
backup_enabled:
type: boolean
description: Backup enabled
default: false

env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
TF_PATH: infrastructure/provision-server/hetzner-cloud-empty-server
TF_VAR_hcloud_token: ${{ secrets.HCLOUD_TOKEN }}
TF_VAR_country_name: ${{ vars.COUNTRY_NAME }}
TF_VAR_env_name: ${{ inputs.environment }}
TF_VAR_env_type: ${{ inputs.type }}
TF_VAR_cloudflare_api_token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
TF_VAR_cloudflare_zone_id: ${{ secrets.CLOUDFLARE_ZONE_ID }}
TERRAFORM_REPO: opencrvs/terraform-state
type: ${{ inputs.type }}
jobs:
create-environment:
name: Create New HCloud Environment
runs-on: ubuntu-24.04
environment: ${{ inputs.environment }}
steps:
- name: Checkout repo ${{ github.repository }}
uses: actions/checkout@v4
with:
# Token permissions: read:org, read:public_key, repo, workflow
token: ${{ secrets.GH_TOKEN }}
fetch-depth: 0
ref: ${{ github.ref_name }}
- name: Configure git client for ${{ github.repository }}
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Checkout repo ${{ env.TERRAFORM_REPO }}
uses: actions/checkout@v4
with:
repository: ${{ env.TERRAFORM_REPO }}
ref: main
token: ${{ secrets.GH_TOKEN }}
path: terraform-state
- name: Configure git client for ${{ env.TERRAFORM_REPO }}
working-directory: terraform-state/
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Pull SSH key pair files from github
run: |
ssh_key_path=$TF_PATH/.ssh
mkdir -p $ssh_key_path
echo "${{ secrets.SSH_PRIVATE_KEY }}" > $ssh_key_path/id_rsa
echo "${{ secrets.SSH_PUBLIC_KEY }}" > $ssh_key_path/id_rsa.pub
chmod 600 $ssh_key_path/id_rsa
chmod 644 $ssh_key_path/id_rsa.pub

- name: Restore terraform state
run: |
mkdir -p terraform-state/${{ vars.COUNTRY_NAME }}
[ -f terraform-state/${{ vars.COUNTRY_NAME }}/${{ inputs.environment }}-${{ env.type }}.tfstate ] && \
cp terraform-state/${{ vars.COUNTRY_NAME }}/${{ inputs.environment }}-${{ env.type }}.tfstate ${{ env.TF_PATH }}/terraform.tfstate || \
echo "Terraform state file not found. Creating a new one."

- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.5.7

- name: Terraform Init
working-directory: ${{ env.TF_PATH }}
run: terraform init

- name: Terraform Apply
working-directory: ${{ env.TF_PATH }}
run: |
terraform apply -auto-approve -input=false

- name: Store variables from terraform state file
id: output
working-directory: ${{ env.TF_PATH }}
run: |
echo "hostname=$TF_VAR_country_name-$TF_VAR_env_name" >> $GITHUB_OUTPUT
echo "public_ip=$(terraform output -raw public_ip)" >> $GITHUB_OUTPUT
echo "master_ip=$(terraform output -raw master_ip)" >> $GITHUB_OUTPUT
if [ ${{ inputs.type }} == 'single-node' ]
then
echo "master_hostname=$TF_VAR_country_name-$TF_VAR_env_name" >> $GITHUB_OUTPUT
else
echo "master_hostname=$TF_VAR_country_name-$TF_VAR_env_name-master" >> $GITHUB_OUTPUT
echo "worker_hostname=$TF_VAR_country_name-$TF_VAR_env_name-worker" >> $GITHUB_OUTPUT
# echo "backup_hostname=$TF_VAR_country_name-$TF_VAR_env_name-backup" >> $GITHUB_OUTPUT
echo "worker_ip=$(terraform output -raw worker_ip)" >> $GITHUB_OUTPUT
# echo "backup_ip=$(terraform output -raw backup_ip)" >> $GITHUB_OUTPUT
fi

- name: Update terraform state file in ${{ env.TERRAFORM_REPO }}
run: |
cp ${{ env.TF_PATH }}/terraform.tfstate terraform-state/${{ vars.COUNTRY_NAME }}/${{ inputs.environment }}-${{ env.type }}.tfstate
cd terraform-state/
if [[ -n "$(git status --porcelain)" ]]; then
git add ${{ vars.COUNTRY_NAME }}/${{ inputs.environment }}-${{ env.type }}.tfstate
git commit -m "Add environment file for ${{ inputs.environment }} env with type ${{ env.type }}"
git push
else
echo "No changes to commit"
fi

- name: Create environment file for ansible
env:
ENV: ${{ inputs.environment }}
MASTER_IP: ${{ steps.output.outputs.master_ip }}
MASTER_HOSTNAME: ${{ steps.output.outputs.master_hostname }}
WORKER_IP: ${{ steps.output.outputs.worker_ip }}
WORKER_HOSTNAME: ${{ steps.output.outputs.worker_hostname }}
# BACKUP_IP: ${{ steps.output.outputs.backup_ip }}
# BACKUP_HOSTNAME: ${{ steps.output.outputs.backup_hostname }}
run: |
TARGET_ENV_BACKUP=$ENV
SOURCE_ENV_BACKUP=${ENV/staging/prod}
[ ${{ inputs.backup_enabled }} == 'true' ] && \
INVENTORY_TEMPLATE_FILE=infrastructure/provision-server/templates/${{ env.type }}-with-backup-ansible-env.yml || \
INVENTORY_TEMPLATE_FILE=infrastructure/provision-server/templates/${{ env.type }}-ansible-env.yml
cat $INVENTORY_TEMPLATE_FILE | \
sed -e "s#SSH_HOST_MASTER#$MASTER_IP#" \
-e "s#HOSTNAME_MASTER#$MASTER_HOSTNAME#" \
-e "s#SSH_HOST_WORKER#$WORKER_IP#" \
-e "s#HOSTNAME_WORKER#$WORKER_HOSTNAME#" \
-e "s#TARGET_ENV_BACKUP#$TARGET_ENV_BACKUP#" \
-e "s#SOURCE_ENV_BACKUP#$SOURCE_ENV_BACKUP#" \
-e "s#ENV_BACKUP#$${{ inputs.environment }}#" \
> infrastructure/server-setup/inventory/${{ inputs.environment }}.yml && \
echo "Environment file created: infrastructure/server-setup/inventory/${{ inputs.environment }}.yml"
- name: Create docker compose
run: |
[ ! -f infrastructure/docker-compose.${{ inputs.environment }}-deploy.yml ] && \
cp infrastructure/provision-server/templates/docker-compose.${{ env.type }}.yml infrastructure/docker-compose.${{ inputs.environment }}-deploy.yml && \
echo "Docker-compose created" || \
echo "Docker-compose already exists"

- name: Update workflows
run: |
workflows=(
".github/workflows/provision.yml"
".github/workflows/deploy.yml"
".github/workflows/seed-data.yml"
".github/workflows/clear-environment.yml"
)
path=".on.workflow_dispatch.inputs.environment.options"

# Check if option already exists in first workflows file
if ! yq e "$path" "$workflows" | grep -qc "${{ inputs.environment }}"; then
echo "Adding new option '${{ inputs.environment }}' to workflows: ${workflows[@]}"
for workflow in ${workflows[@]}
do
yq e "$path += [\"${{ inputs.environment }}\"]" -i "$workflow"
echo "Updated workflow $workflow"
done
else
echo "Option '${{ inputs.environment }}' already exists in workflows ${workflows[@]}"
fi

- name: Create environment variables and secrets on GitHub
env:
MASTER_IP: ${{ steps.output.outputs.master_ip }}
DOMAIN: ${{ inputs.environment }}.opencrvs.dev
GH_TOKEN: ${{ secrets.GH_TOKEN }}
ENVIRONMENT: ${{ inputs.environment }}
run: |
cat infrastructure/provision-server/templates/environment.variables.${{ env.type }}.tpl | \
sed -e "s/#SSH_HOST#/$MASTER_IP/" \
-e "s/#DOMAIN#/$DOMAIN/" \
> infrastructure/environment.variables
echo "Environment variables file created: infrastructure/environment.variables"
while read line; do
if [[ $line == *"="* ]]; then
key=$(echo "$line" | cut -d '=' -f 1)
value=$(echo "$line" | cut -d '=' -f 2-)
echo "Adding variable: $key"
gh variable set --env "$ENVIRONMENT" $key --body "$value"
fi
done < infrastructure/environment.variables
existing_secrets=$(gh secret list --env "$ENVIRONMENT" --json name -q '.[].name')
while read line; do
key=$(echo "$line" | cut -d '=' -f 1)
if echo "$existing_secrets" | grep -qw "$key"; then
echo "Secret $key already exists, skipping."
continue;
fi

if [[ $line == *"="* ]]; then
value=$(echo "$line" | cut -d '=' -f 2-)
echo "Adding secret with predefined value: $key"
else
value=`openssl rand -base64 25 | tr -cd '[:alnum:]._-' ; echo ''`
echo "Adding secret with random value: $key"
fi
gh secret set "$key" --env "$ENVIRONMENT" --body "$value"
done < infrastructure/provision-server/templates/environment.secrets.tpl
gh secret set SSH_KEY --env ${{ inputs.environment }} < $TF_PATH/.ssh/id_rsa || echo "Failed"
- name: Update known-hosts
env:
SSH_PORT: 22
MASTER_IP: ${{ steps.output.outputs.master_ip }}
MASTER_HOSTNAME: ${{ steps.output.outputs.master_hostname }}
WORKER_IP: ${{ steps.output.outputs.worker_ip }}
WORKER_HOSTNAME: ${{ steps.output.outputs.worker_hostname }}
# BACKUP_IP: ${{ steps.output.outputs.backup_ip }}
# BACKUP_HOSTNAME: ${{ steps.output.outputs.backup_hostname }}
run: |
echo "Wait few seconds for server to be available" && sleep 10
bash ./infrastructure/environments/update-known-hosts.sh ${{ env.MASTER_IP }} ${{ env.SSH_PORT }}
if [ ${{ inputs.type }} == 'multi-node' ]
then
bash ./infrastructure/environments/update-known-hosts.sh ${{ env.WORKER_IP }} ${{ env.SSH_PORT }}
fi

- name: Commit and push changes to ${{ github.repository }}
run: |
git add infrastructure/server-setup/inventory/${{ inputs.environment }}.yml \
infrastructure/known-hosts \
.github \
infrastructure/docker-compose.${{ inputs.environment }}-deploy.yml
git status
git commit -m "Add environment files for ${{ inputs.environment }}"
git push
Loading
Loading