Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2519 commits
Select commit Hold shift + click to select a range
a2d7306
fix tests
cibelius Oct 8, 2025
e94b8fd
fix function name
cibelius Oct 8, 2025
d29f851
improve test
cibelius Oct 8, 2025
301cd17
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 8, 2025
658e8cd
improve test
cibelius Oct 8, 2025
14573f5
import expect
cibelius Oct 8, 2025
f4e2c48
Merge branch 'develop' into ocrvs-10583
cibelius Oct 8, 2025
4e9fbbd
Merge pull request #1739 from opencrvs/ocrvs-10583
cibelius Oct 8, 2025
f3c6538
Merge remote-tracking branch 'upstream/develop' into sync-2025-10-08
cibelius Oct 8, 2025
8425aa5
Merge pull request #1742 from opencrvs/sync-2025-10-08
cibelius Oct 8, 2025
7743ee8
Merge branch 'develop' into ocrvs-10606
cibelius Oct 8, 2025
487f98b
fix: add missing fields for data in death certificate form
makelicious Oct 9, 2025
b9a358f
fix: amend test case for duplicate identifier (#1738)
Nil20 Oct 9, 2025
3796af5
Merge branch 'develop' into ocrvs-10612
makelicious Oct 9, 2025
0aa2b78
add network mocking tools, add slow connection test for printing flow
cibelius Oct 9, 2025
0944df3
minor refactor
cibelius Oct 9, 2025
5fb677b
fix: add test cases for age in death verify informant
makelicious Oct 9, 2025
70f63c8
chore: clear unneeded generics
makelicious Oct 9, 2025
deb696b
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 9, 2025
ef48b02
Merge pull request #1743 from opencrvs/ocrvs-10671
cibelius Oct 9, 2025
41dc23b
Merge branch 'develop' into ocrvs-10606
cibelius Oct 9, 2025
b8edd99
chore: fix ages to number
makelicious Oct 9, 2025
a3b2dee
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
jamil314 Oct 9, 2025
90b461f
Add environment files for openfn
github-actions[bot] Oct 10, 2025
433b174
Merge pull request #1745 from opencrvs/sync-fork-09-10
jamil314 Oct 10, 2025
1d6aede
Merge remote-tracking branch 'upstream/ocrvs-10654' into ocrvs-10654
cibelius Oct 10, 2025
ed57cea
Merge branch 'develop' into ocrvs-10606
cibelius Oct 10, 2025
8d8d425
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 10, 2025
828dad4
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 10, 2025
a4d6220
Merge pull request #1736 from opencrvs/ocrvs-10606
cibelius Oct 10, 2025
5f28100
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 10, 2025
102f203
chore: revert number changes
makelicious Oct 10, 2025
4aaa440
Merge branch 'develop' into ocrvs-10612
makelicious Oct 10, 2025
4c5685b
Remove environment files for metabase
github-actions[bot] Oct 10, 2025
c8fdea6
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 10, 2025
472301b
Merge branch 'develop' of github.com:opencrvs/opencrvs-countryconfig …
rikukissa Oct 10, 2025
48aa622
Merge branch 'develop' of github.com:opencrvs/opencrvs-farajaland int…
rikukissa Oct 10, 2025
4774a59
update e2e
rikukissa Oct 10, 2025
6ae7629
e2e: test that workqueue can be changed in offline
jamil314 Oct 10, 2025
f07a138
progress with tests
cibelius Oct 10, 2025
f2e1bf7
e2e: test that draft can be opened offline
jamil314 Oct 10, 2025
900ed98
Merge branch 'develop' into ocrvs-10176
jamil314 Oct 10, 2025
aeea843
remove note from pr template in farajaland
cibelius Oct 10, 2025
527f3a9
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 10, 2025
86d06bf
make Farajaland dev V2 by default
rikukissa Oct 10, 2025
7eda16f
fix street level address validation
tareq89 Oct 10, 2025
602a0a5
correct-birth-record-change-ages-address.spec
tareq89 Oct 10, 2025
91a8b06
fix: Drop duplicate entry after merge from countryconfig
adskyiproger Oct 10, 2025
27c01b6
chore: provide Jamil acess to v19-beta-prod
jamil314 Oct 13, 2025
5520cce
Merge branch 'fix-sync' into fix-sync
adskyiproger Oct 13, 2025
b341e1a
Merge pull request #1754 from opencrvs/fix-sync
adskyiproger Oct 13, 2025
9c93b86
Merge pull request #1755 from opencrvs/fix-sync
adskyiproger Oct 13, 2025
89a43e7
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 13, 2025
8a5156b
Merge pull request #1744 from opencrvs/ocrvs-10612
makelicious Oct 13, 2025
ad4d6c5
fix: Use default user for metabase: [email protected]
adskyiproger Oct 13, 2025
62313f9
fix: reduce timeout
jamil314 Oct 13, 2025
c698283
Merge branch 'develop' into ocrvs-10176
jamil314 Oct 13, 2025
d07a2d9
Merge remote-tracking branch 'origin/develop' into ocrvs-10654
cibelius Oct 13, 2025
a2ec409
Merge remote-tracking branch 'upstream/ocrvs-10654' into ocrvs-10654
cibelius Oct 13, 2025
a27dc2d
Merge remote-tracking branch 'upstream/ocrvs-10654' into ocrvs-10654
cibelius Oct 13, 2025
86e693f
Merge pull request #1751 from opencrvs/ocrvs-10176
jamil314 Oct 13, 2025
9e086a1
Merge branch 'ocrvs-10647' of https://github.com/opencrvs/opencrvs-co…
jamil314 Oct 13, 2025
ef777e9
e2e: test death informant phone validation error
jamil314 Oct 13, 2025
cbfe6e0
remove flag assert frome2e tests
rikukissa Oct 13, 2025
96b6483
Merge remote-tracking branch 'upstream/ocrvs-10654' into ocrvs-10654
cibelius Oct 13, 2025
10f1037
Merge remote-tracking branch 'origin/develop' into ocrvs-10654
cibelius Oct 13, 2025
acaae60
improve tests
cibelius Oct 14, 2025
71847f7
fix test
cibelius Oct 14, 2025
25acc92
fix: spelling
jamil314 Oct 14, 2025
d55d61d
Merge pull request #1756 from opencrvs/ocrvs-10647
jamil314 Oct 14, 2025
2e64041
Merge pull request #1752 from opencrvs/jamil-v19-beta-prod
jamil314 Oct 14, 2025
c0c04a0
remove exact
cibelius Oct 14, 2025
feb5fdf
Merge branch 'develop' into ocrvs-10712
rikukissa Oct 14, 2025
7d40dbc
Merge pull request #1757 from opencrvs/ocrvs-10712
rikukissa Oct 14, 2025
db8e912
fix translation, add test
cibelius Oct 14, 2025
bf6a080
Merge pull request #1750 from opencrvs/ocrvs-10547
tareq89 Oct 14, 2025
f569932
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 14, 2025
2b3967b
improve test
cibelius Oct 14, 2025
a8c9df1
Merge branch 'develop' into ocrvs-10656
cibelius Oct 14, 2025
a0d7277
fix: remove print in advance from death form of print cert (#1737)
Nil20 Oct 14, 2025
c72b093
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 14, 2025
d62abd2
add test
cibelius Oct 14, 2025
964ca8d
remove unused var
cibelius Oct 14, 2025
514b23c
chore: add markus to v19 beta prod
makelicious Oct 14, 2025
7f3325c
Merge branch 'develop' into chore/add-markus-to-v19-beta-prod
makelicious Oct 14, 2025
ec99b29
remove extra char
cibelius Oct 14, 2025
eec4db2
fix test
cibelius Oct 14, 2025
2e44db9
remove page.close
cibelius Oct 14, 2025
6ae753e
Merge pull request #1760 from opencrvs/chore/add-markus-to-v19-beta-prod
makelicious Oct 14, 2025
922e829
Merge pull request #1758 from opencrvs/ocrvs-10656
cibelius Oct 14, 2025
460ce87
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 14, 2025
5ffcac3
Update e2e/testcases/v2-advanced-search/mobile.spec.ts
cibelius Oct 14, 2025
16105d5
e2e: test that the default `Birth certificate` can only be printed once
jamil314 Oct 14, 2025
f736516
fix test
cibelius Oct 14, 2025
7ee8d98
fix test name
cibelius Oct 14, 2025
ab9061d
Merge branch 'ocrvs-10561-b' of https://github.com/opencrvs/opencrvs-…
jamil314 Oct 14, 2025
5f9505c
fix test
cibelius Oct 14, 2025
6e7263d
Merge pull request #1759 from opencrvs/ocrvs-10675
cibelius Oct 14, 2025
745a7af
Merge remote-tracking branch 'upstream/develop' into develop
cibelius Oct 14, 2025
756af38
Merge remote-tracking branch 'countryconfig/ocrvs-10351' into ocrvs-1…
Zangetsu101 Oct 15, 2025
49f202d
fix: update visibility assertion
jamil314 Oct 15, 2025
4aede97
progress with test
cibelius Oct 15, 2025
03b221c
Merge pull request #1761 from opencrvs/ocrvs-10561-b
jamil314 Oct 15, 2025
6107617
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 15, 2025
ea88c2c
test: use a min age of 61
Zangetsu101 Oct 15, 2025
eeb4f07
test: provide age value in new format
Zangetsu101 Oct 15, 2025
7784798
minor fix
cibelius Oct 15, 2025
81238ba
add mobile support to helpers
cibelius Oct 15, 2025
6e675d5
fix: Add template file for multi-node without backup
adskyiproger Oct 15, 2025
a91c3e6
Merge branch 'ocrvs-10574-b' of https://github.com/opencrvs/opencrvs-…
jamil314 Oct 15, 2025
f6bf9dc
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 15, 2025
08f3193
simplify selectAction()
cibelius Oct 15, 2025
5fbceea
Merge branch 'develop' into fix-create-env-m-node
adskyiproger Oct 15, 2025
f0d9277
e2e: update advanced search place of death tests
jamil314 Oct 15, 2025
89f7eb6
Merge pull request #1763 from opencrvs/ocrvs-10697
cibelius Oct 15, 2025
8605ea8
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 15, 2025
c4c3571
fix: age value as number
Zangetsu101 Oct 15, 2025
80909f7
fix: update function signature to accept resolver
Zangetsu101 Oct 15, 2025
a0525ed
Merge remote-tracking branch 'countryconfig/ocrvs-10351' into ocrvs-1…
Zangetsu101 Oct 15, 2025
854b282
refactor: use `assertTexts()` helper
jamil314 Oct 15, 2025
a0ab95c
Merge remote-tracking branch 'countryconfig/ocrvs-10351' into ocrvs-1…
Zangetsu101 Oct 15, 2025
6c3bfe3
Merge remote-tracking branch 'countryconfig/ocrvs-10351' into ocrvs-1…
Zangetsu101 Oct 15, 2025
9c0ff6d
Merge branch 'develop' into ocrvs-10351
Zangetsu101 Oct 15, 2025
caf65ab
fix: use int value for informant age
Zangetsu101 Oct 15, 2025
ca27ba1
Remove all references and configuration to make an environment V2 fro…
tareq89 Oct 15, 2025
537c81e
Merge branch 'ocrvs-10707' of github.com:opencrvs/opencrvs-countrycon…
tareq89 Oct 15, 2025
faea963
chore: update age field accessors
Zangetsu101 Oct 16, 2025
42c2760
Merge pull request #1762 from opencrvs/ocrvs-10351
Zangetsu101 Oct 16, 2025
178c724
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 16, 2025
dbfdc4c
Merge remote-tracking branch 'upstream/develop' into ocrvs-10654
cibelius Oct 16, 2025
365a3c7
Merge remote-tracking branch 'upstream/ocrvs-10654' into ocrvs-10654
cibelius Oct 16, 2025
d80afff
Merge branch 'develop' into ocrvs-10574-b
jamil314 Oct 16, 2025
1dbdcff
Merge branch 'develop' into ocrvs-10707
tareq89 Oct 16, 2025
be00a04
Merge remote-tracking branch 'origin/develop' into ocrvs-10654
cibelius Oct 16, 2025
ea592cb
Merge remote-tracking branch 'upstream/ocrvs-10654' into ocrvs-10654
cibelius Oct 16, 2025
d63ee1b
Merge pull request #1749 from opencrvs/ocrvs-10654
cibelius Oct 16, 2025
9dc0d82
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 16, 2025
49e18c5
Merge branch 'develop' of github.com:opencrvs/opencrvs-countryconfig …
rikukissa Oct 16, 2025
cf2d0be
Merge pull request #1766 from opencrvs/ocrvs-10574-b
jamil314 Oct 17, 2025
eee2043
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 17, 2025
e96f546
chore: add ashikul ssh key in beta prod env (#1769)
Nil20 Oct 17, 2025
035b4da
Merge remote-tracking branch 'upstream/develop' into sync-cc-17-10-25
makelicious Oct 17, 2025
5224cfd
fix: bring back mosip
makelicious Oct 17, 2025
322b984
Merge pull request #1772 from opencrvs/sync-cc-17-10-25
makelicious Oct 17, 2025
6635f0e
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 17, 2025
85040d9
fix: Node configuration
adskyiproger Oct 17, 2025
a41faf7
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 17, 2025
8eb5901
fix e2e for workqueue redirection after an action is completed
tareq89 Oct 20, 2025
425f087
add logging
cibelius Oct 20, 2025
9ac449c
try new listener check
cibelius Oct 20, 2025
8f7f649
Merge remote-tracking branch 'upstream/develop' into sync-2025-10-20
cibelius Oct 20, 2025
4743bbc
Merge pull request #1779 from opencrvs/sync-2025-10-20
cibelius Oct 20, 2025
3aff040
Merge branch 'develop' into ocrvs-10747
cibelius Oct 20, 2025
6170c0b
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 20, 2025
2ee3043
Merge pull request #1770 from opencrvs/ocrvs-10691
tareq89 Oct 20, 2025
a560c68
Merge branch 'develop' into ocrvs-10747
cibelius Oct 20, 2025
77eba90
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 20, 2025
7596ceb
Merge branch 'develop' into ocrvs-10707
tareq89 Oct 20, 2025
4c8446a
Merge pull request #1775 from opencrvs/ocrvs-10747
cibelius Oct 20, 2025
038e2f6
Merge pull request #1768 from opencrvs/ocrvs-10707
tareq89 Oct 20, 2025
458c93c
Merge remote-tracking branch 'upstream/develop' into sync-develop-21-…
makelicious Oct 21, 2025
5800bc1
Merge remote-tracking branch 'upstream/develop' into sync-develop-21-…
cibelius Oct 21, 2025
329ca0f
Merge pull request #1781 from opencrvs/sync-develop-21-10-25
makelicious Oct 21, 2025
837e4ac
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 21, 2025
5caaf0c
Remove all references and configuration to make an environment V2 fro…
tareq89 Oct 21, 2025
0ae56c9
fix: remove repetitive action from backup shell (#1783)
Nil20 Oct 21, 2025
b0f2c1f
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
jamil314 Oct 21, 2025
165929f
Merge pull request #1785 from opencrvs/sync-fork-21-10
jamil314 Oct 21, 2025
eda3a4c
first step in cleaning up v1 tests
cibelius Oct 22, 2025
8dc6847
rename folders, more cleanup
cibelius Oct 22, 2025
6e12c01
fix: e2e for age input
jamil314 Oct 22, 2025
0afe2e9
refactor
cibelius Oct 22, 2025
481932d
Revert "refactor"
cibelius Oct 22, 2025
07ffd31
Merge pull request #1787 from opencrvs/ocrvs-10542
jamil314 Oct 22, 2025
03a262c
fix test
cibelius Oct 23, 2025
aa26218
remove v1 login, remove v2 client url
cibelius Oct 23, 2025
47513d0
rename utils file
cibelius Oct 23, 2025
19ee61a
Merge remote-tracking branch 'origin/develop' into remove-v1-tests
cibelius Oct 23, 2025
d54feee
fix loginToV2 -> login
cibelius Oct 23, 2025
756a527
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 23, 2025
9baa6a5
Merge branch 'develop' into ocrvs-10834
cibelius Oct 23, 2025
f626304
Merge pull request #1788 from opencrvs/ocrvs-10834
cibelius Oct 23, 2025
b0d0bac
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 23, 2025
acad820
Merge remote-tracking branch 'origin/develop' into remove-v1-tests
cibelius Oct 23, 2025
6c72dee
fix login
cibelius Oct 23, 2025
edec1f7
remove unused test file
cibelius Oct 23, 2025
68528da
Merge pull request #1789 from opencrvs/sync-release-v1.9.0
Zangetsu101 Oct 23, 2025
39b8ca4
chore: add additional test case for declaration action
makelicious Oct 24, 2025
23bd902
add test
cibelius Oct 27, 2025
a817b47
Merge pull request #1786 from opencrvs/remove-v1-tests
cibelius Oct 27, 2025
9261f72
Merge remote-tracking branch 'origin/develop' into ocrvs-10578-comment
cibelius Oct 27, 2025
4f0f2c2
Merge pull request #1791 from opencrvs/fix/navigation-from-wq
makelicious Oct 27, 2025
7bdec3c
Merge branch 'opencrvs:release-v1.9.0' into release-v1.9.0
Zangetsu101 Oct 27, 2025
1d62165
Merge pull request #1792 from opencrvs/ocrvs-10578-comment
cibelius Oct 27, 2025
f13c513
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
jamil314 Oct 27, 2025
9976e35
Merge pull request #1793 from opencrvs/sync-far-27-10
jamil314 Oct 27, 2025
507b0c4
Merge branch 'opencrvs:release-v1.9.0' into release-v1.9.0
Zangetsu101 Oct 27, 2025
bd22c3b
Merge branch 'release-v1.9.0' into sync-dev-with-1.9
jamil314 Oct 29, 2025
c13e727
Merge branch 'sync-dev-with-1.9' of https://github.com/opencrvs/openc…
jamil314 Oct 29, 2025
40b9d5d
MOSIP interoperability for 1.9 (#1716)
naftis Oct 30, 2025
9673b0f
Merge branch 'release-v1.9.0' of github.com:opencrvs/opencrvs-farajal…
naftis Oct 30, 2025
078340b
cherry-pick cbb4af4 & 031a518
naftis Oct 30, 2025
3f07d63
Merge pull request #1795 from opencrvs/sync-dev-with-1.9
jamil314 Oct 30, 2025
55b91e7
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Oct 30, 2025
15656bc
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Nov 3, 2025
e421608
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Nov 3, 2025
98ecfe8
mother e-signat verified status added in dedup config (#1800)
tareq89 Nov 3, 2025
766eda8
Merge branch 'ocrvs-10908' of https://github.com/opencrvs/opencrvs-co…
jamil314 Nov 3, 2025
661819b
e2e: add tests for actions in history
jamil314 Nov 3, 2025
c6e1002
feat: add custom logics for birth and death events before forwarding …
tahmidrahman-dsi Nov 4, 2025
b4896ce
e2e: add testcases for showing searchbar based on scopes (#1803)
jamil314 Nov 4, 2025
ccc2031
add comments indicating field ids used as mosip integration fields fo…
tahmidrahman-dsi Nov 5, 2025
bd0ae76
Merge pull request #1804 from opencrvs/implement-custom-logic
tahmidrahman-dsi Nov 5, 2025
3c9f7e9
fix: forward deceased nid to mosip death request call
tahmidrahman-dsi Nov 5, 2025
08f28cb
fix: replace @todos from request fields
tahmidrahman-dsi Nov 5, 2025
2c14569
Merge branch 'develop' into fix-create-env-m-node
adskyiproger Nov 5, 2025
8274949
Merge pull request #1765 from opencrvs/fix-create-env-m-node
adskyiproger Nov 5, 2025
c128816
Merge branch 'merge-v19-to-dev' of https://github.com/opencrvs/opencr…
jamil314 Nov 5, 2025
a751759
Merge branch 'develop' into merge-v19-to-dev
jamil314 Nov 5, 2025
8af21d0
fix: -loginToV2 +login
jamil314 Nov 5, 2025
34e7b6c
fix: informant validator
jamil314 Nov 6, 2025
28c17d2
Merge pull request #1810 from opencrvs/merge-v19-to-dev
jamil314 Nov 6, 2025
a46951c
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Nov 6, 2025
57ede26
Merge branch 'develop' into ocrvs-10908
jamil314 Nov 6, 2025
4f8b002
Merge branch 'ocrvs-10908' of https://github.com/opencrvs/opencrvs-co…
jamil314 Nov 6, 2025
50cdf5b
Merge branch 'develop' into forward-deceased-nid-to-mosip-request
tahmidrahman-dsi Nov 6, 2025
7bf5d67
Merge pull request #1805 from opencrvs/forward-deceased-nid-to-mosip-…
tahmidrahman-dsi Nov 6, 2025
b80103f
dedup config for death e-signate added (#1812)
tareq89 Nov 6, 2025
136f664
fix: translations
jamil314 Nov 7, 2025
f2dd4e1
fix: translation
jamil314 Nov 7, 2025
632d88e
Merge branch 'ocrvs-10908' of https://github.com/opencrvs/opencrvs-co…
jamil314 Nov 7, 2025
fb80b73
Merge branch 'develop' into ocrvs-10908
jamil314 Nov 7, 2025
a640908
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Nov 7, 2025
0a86097
Merge pull request #1802 from opencrvs/ocrvs-10908
jamil314 Nov 7, 2025
6350ad7
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Nov 7, 2025
849af08
fix: improve logic and add unit tests
tahmidrahman-dsi Nov 10, 2025
fe467e1
Merge branch 'develop' into ocrvs-10916
tahmidrahman-dsi Nov 10, 2025
b0fe504
fix: expected test case for roles
tahmidrahman-dsi Nov 10, 2025
640e632
fix: prevent tests make console outputs
tahmidrahman-dsi Nov 10, 2025
bc0422e
navigate to dashboard e2e added (#1815)
tareq89 Nov 12, 2025
c931ce5
Revert "chore: enable 2FA on v19-beta-prod"
jamil314 Nov 13, 2025
8f11bef
Merge branch 'develop' into ocrvs-10916
tahmidrahman-dsi Nov 13, 2025
ba1b924
Merge pull request #1814 from opencrvs/ocrvs-10916
tahmidrahman-dsi Nov 13, 2025
bfb4758
Merge branch 'develop' into disable-2fa
tahmidrahman-dsi Nov 13, 2025
207572e
Update declaration payload to match FieldValue (#1811)
Nil20 Nov 13, 2025
4434ad7
Merge branch 'develop' into disable-2fa
tahmidrahman-dsi Nov 13, 2025
5e4e367
Merge pull request #1821 from opencrvs/disable-2fa
tahmidrahman-dsi Nov 13, 2025
d781fca
pull country-config develop (#1827)
naftis Nov 14, 2025
c419c4a
Merge branch 'develop' of github.com:opencrvs/opencrvs-countryconfig …
naftis Nov 14, 2025
10feac6
improve logging on reindex
naftis Nov 14, 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
}
}
5 changes: 0 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
> [!NOTE]
> Currently, we do **not** run e2e tests as a check on `opencrvs-countryconfig`-repo PRs. Please ensure your PR doesn't break any e2e tests.
>
> One method for doing this is to open a PR with these changes to `opencrvs-farajaland` as well, and see if the PR check passes there.

## Description

Clearly describe what has been changed. Include relevant context or background.
Expand Down
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
12 changes: 9 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,12 @@ on:
- staging
- qa
- development
- pentest
- v19-beta-staging
- v19-beta-prod
- fix-analytics
- mosip
- openfn
jobs:
reset-data:
name: 'Reset data'
Expand All @@ -32,21 +41,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