Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1991 commits
Select commit Hold shift + click to select a range
a0a0ecc
Merge remote-tracking branch 'upstream/alpha-testing-v19' into alpha-…
github-actions[bot] Aug 7, 2025
781c02f
Merge branch 'merge-alpha-testing-to-develop' of github.com:opencrvs/…
Zangetsu101 Aug 7, 2025
fb3bcfc
Merge branch 'alpha-testing-v19' into merge-alpha-testing-to-develop
Zangetsu101 Aug 7, 2025
cfb05b5
fix: e2e (#1594)
jamil314 Aug 7, 2025
7ef08f4
Merge branch 'alpha-testing-v19' into merge-alpha-testing-to-develop
Zangetsu101 Aug 7, 2025
3c45a50
Merge branch 'merge-alpha-testing-to-develop' of github.com:opencrvs/…
Zangetsu101 Aug 8, 2025
e7cea47
test: update name field accessors
Zangetsu101 Aug 8, 2025
7c6d825
Merge pull request #1599 from opencrvs/merge-alpha-testing-to-develop
Zangetsu101 Aug 8, 2025
87eaf96
started porting correct-birth-record-3.spec.ts
tareq89 Jul 31, 2025
ddaadd3
data-test-id fixed to data-testid
tareq89 Aug 4, 2025
6fd82d2
v2/correct-birth-record-3.spec.ts added
tareq89 Aug 4, 2025
25b90d8
misc
tareq89 Aug 6, 2025
f40d6ad
v2/correct-birth-record-4.spec.ts added
tareq89 Aug 7, 2025
3bfe8e9
birth-declaration-with-mother-father.ts added
tareq89 Aug 8, 2025
295ff8f
toolkit updated
tareq89 Aug 8, 2025
2d55d8a
misc
tareq89 Aug 10, 2025
8aa81a9
Merge pull request #1591 from opencrvs/porting-v1-correction-e2e-to-v2
tareq89 Aug 10, 2025
8e10557
update e2e domain
tareq89 Aug 11, 2025
250944b
increase timeout for e2e tests
rikukissa Aug 12, 2025
e2517c5
Merge branch 'alpha-testing-v19' of github.com:opencrvs/opencrvs-fara…
rikukissa Aug 12, 2025
352bfd5
Merge branch 'alpha-testing-v19' into sync-with-alpha-testing-v19
makelicious Aug 13, 2025
c2dd7bd
Merge pull request #1600 from opencrvs/sync-with-alpha-testing-v19
makelicious Aug 13, 2025
ea0980f
update API test as copy has changed
rikukissa Aug 13, 2025
fa54955
more copy updates
rikukissa Aug 13, 2025
49d004f
chore: update test script to have assign modal confirmation
tahmidrahman-dsi Aug 13, 2025
9f57315
chore: add markus to alpha prod
makelicious Aug 13, 2025
b57c18c
Merge pull request #1606 from opencrvs/chore/add-markus-to-alpha-prod
makelicious Aug 13, 2025
f4d2dd8
Merge branch 'alpha-to-dev' of github.com:opencrvs/opencrvs-countryco…
rikukissa Aug 13, 2025
5a87786
fix: text matching to exact
tahmidrahman-dsi Aug 13, 2025
97bcc51
Merge branch 'alpha-testing-v19' into fix/ocrvs-10124
tahmidrahman-dsi Aug 13, 2025
1510ac5
Merge country config (#1603)
Nil20 Aug 13, 2025
b07785e
Sync farajaland with country-config (#1607)
Nil20 Aug 13, 2025
270ffb6
Merge branch 'alpha-testing-v19' of github.com:opencrvs/opencrvs-coun…
rikukissa Aug 15, 2025
483c996
Merge branch 'alpha-testing-v19' of github.com:opencrvs/opencrvs-fara…
rikukissa Aug 15, 2025
a356dd1
Merge branch 'develop' of github.com:opencrvs/opencrvs-countryconfig …
rikukissa Aug 15, 2025
96df741
Merge branch 'alpha-testing-v19' into fix/ocrvs-10124
tahmidrahman-dsi Aug 15, 2025
d1beb05
Merge branch 'alpha-to-dev' of github.com:opencrvs/opencrvs-countryco…
rikukissa Aug 15, 2025
156bf7a
update tests and copy
rikukissa Aug 15, 2025
10a6611
Merge branch 'alpha-testing-v19' of github.com:opencrvs/opencrvs-fara…
rikukissa Aug 15, 2025
9231362
update toolkit version
rikukissa Aug 15, 2025
7703ac9
fix translation
rikukissa Aug 15, 2025
597377c
copy, e2e test and configuration fixes
rikukissa Aug 15, 2025
e638760
Merge branch 'develop' of github.com:opencrvs/opencrvs-farajaland int…
rikukissa Aug 15, 2025
33d89b0
Merge remote-tracking branch 'upstream/alpha-testing-v19' into alpha-…
github-actions[bot] Aug 15, 2025
e4bc09c
Merge branch 'alpha-to-dev' of github.com:opencrvs/opencrvs-countryco…
rikukissa Aug 15, 2025
ad10ee4
Merge pull request #1610 from opencrvs/alpha-to-dev
rikukissa Aug 15, 2025
78510e0
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Aug 15, 2025
12b5102
increase timeout, fix translation
rikukissa Aug 17, 2025
2947bce
revert back to old playwright version as file uploads did not work ex…
rikukissa Aug 17, 2025
4c95765
Merge pull request #1602 from opencrvs/update-e2e-domain
tareq89 Aug 17, 2025
5eb51f6
fix: Ignore https certificate errors on CI env
adskyiproger Aug 18, 2025
e22ee1b
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
jamil314 Aug 18, 2025
e963c48
Merge pull request #1605 from opencrvs/fix/ocrvs-10124
Zangetsu101 Aug 18, 2025
fa0d33a
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
jamil314 Aug 19, 2025
0a059c5
chore: amend role label for event history (#1612)
Nil20 Aug 19, 2025
8f65a76
Merge pull request #1615 from opencrvs/sync-fork-18-08
jamil314 Aug 20, 2025
905edfb
fix translation
tareq89 Aug 20, 2025
6ff8df9
Merge pull request #1614 from opencrvs/death-correction-action-config
tareq89 Aug 20, 2025
8b81d76
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
jamil314 Aug 20, 2025
51bd2f8
fix: update test to handle unassign modal
tahmidrahman-dsi Aug 20, 2025
4a37335
Merge pull request #1618 from opencrvs/sync-fork-20-08
tareq89 Aug 20, 2025
2e6e867
fix: handle unassign modal
tahmidrahman-dsi Aug 20, 2025
dcdbde2
Merge branch 'ocrvs-10054' of https://github.com/opencrvs/opencrvs-co…
jamil314 Aug 20, 2025
4f794fc
chore: update test cases to accommodate workqueue action mapping
makelicious Aug 21, 2025
c630772
Merge pull request #1620 from opencrvs/fix/workqueue-declaration-flow…
makelicious Aug 21, 2025
2340b1a
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Aug 21, 2025
c5c6796
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Aug 22, 2025
1ab1bb9
fix: e2e test scripts
tahmidrahman-dsi Aug 22, 2025
15298f0
Merge branch 'alpha-testing-v19' of github.com:opencrvs/opencrvs-fara…
tahmidrahman-dsi Aug 22, 2025
842492b
Merge branch 'develop' into sync-with-develop
makelicious Aug 22, 2025
bdd456b
fix: resolve package-lock
makelicious Aug 22, 2025
8efea01
Merge branch 'develop' into ocrvs-10054
jamil314 Aug 22, 2025
83ddecf
Merge pull request #1621 from opencrvs/sync-with-develop
jamil314 Aug 23, 2025
17145eb
Merge branch 'opencrvs:develop' into develop
adskyiproger Aug 25, 2025
ce5741e
Add environment files for pentest
github-actions[bot] Aug 25, 2025
70625c2
Merge branch 'develop' into fix/ocrvs-10124
tahmidrahman-dsi Aug 25, 2025
4714884
Merge pull request #1619 from opencrvs/fix/ocrvs-10124
makelicious Aug 25, 2025
4e53d9e
fix: add Archive option in action menu
jamil314 Aug 26, 2025
59a496d
fix: correction tests
jamil314 Aug 26, 2025
cbbf49b
Merge pull request #1625 from opencrvs/fix/ocrvs-10124
makelicious Aug 26, 2025
685aab1
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Aug 27, 2025
c7fba5c
take shorter substr of branch name for e2e deployment
cibelius Aug 27, 2025
bd5e560
Merge branch 'develop' into try-shorter-branch-name-for-e2e-deploymen…
cibelius Aug 27, 2025
d106b1c
Merge pull request #1627 from opencrvs/try-shorter-branch-name-for-e2…
cibelius Aug 27, 2025
66bd7e0
Merge branch 'develop' into ocrvs-10054
jamil314 Aug 27, 2025
05abf91
Merge branch 'ocrvs-10054' of https://github.com/opencrvs/opencrvs-co…
jamil314 Aug 27, 2025
18e0fe7
sync
cibelius Aug 27, 2025
88fd13c
Merge remote-tracking branch 'upstream/ocrvs-10054' into ocrvs-10054
github-actions[bot] Aug 27, 2025
615e971
Merge pull request #1630 from opencrvs/sync-2025-08-27
cibelius Aug 27, 2025
db22ae7
Merge branch 'develop' into ocrvs-10054
jamil314 Aug 27, 2025
3869e9c
Merge branch 'ocrvs-10054' of https://github.com/opencrvs/opencrvs-co…
jamil314 Aug 27, 2025
8c2e435
Merge branch 'ocrvs-10054' of https://github.com/opencrvs/opencrvs-co…
jamil314 Aug 27, 2025
d381b4b
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Aug 27, 2025
6ed6a7f
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Aug 28, 2025
1344ee7
adjusted v2 correction e2e against label based correction view (previ…
tareq89 Aug 20, 2025
e97e105
Merge pull request #1604 from opencrvs/ocrvs-10140
tareq89 Aug 28, 2025
805d944
add trimming to branch name
cibelius Aug 28, 2025
b6f00e0
Merge branch 'develop' into fix/branch-name-not-starting-w-alpha-char
cibelius Aug 28, 2025
a3b966e
progress with fixing tests
cibelius Aug 28, 2025
b1773e5
Merge pull request #1634 from opencrvs/fix/branch-name-not-starting-w…
cibelius Aug 28, 2025
3a075a2
Merge branch 'develop' into ocrvs-10054
jamil314 Aug 28, 2025
3ce4616
Merge branch 'ocrvs-10054' of https://github.com/opencrvs/opencrvs-co…
jamil314 Aug 28, 2025
902ae42
Merge branch 'ocrvs-10054' of https://github.com/opencrvs/opencrvs-co…
jamil314 Aug 28, 2025
2d623f7
Merge branch 'ocrvs-10054' of https://github.com/opencrvs/opencrvs-co…
jamil314 Aug 28, 2025
79523eb
fix tests
cibelius Aug 28, 2025
849f73b
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Aug 28, 2025
6155420
Merge pull request #1635 from opencrvs/ocrvs-10263
cibelius Aug 28, 2025
9816379
progress with tests
cibelius Aug 28, 2025
d7a9532
add test
cibelius Aug 28, 2025
4809390
Merge branch 'develop' into ocrvs-10054
jamil314 Aug 28, 2025
15ea9be
Merge branch 'ocrvs-10054' of https://github.com/opencrvs/opencrvs-co…
jamil314 Aug 28, 2025
ca58f6e
chore: add markus to e2e users
makelicious Aug 28, 2025
29937e9
add testcase
cibelius Aug 28, 2025
594622c
fix: tests
jamil314 Aug 28, 2025
4b3d913
Merge branch 'ocrvs-10054' of https://github.com/opencrvs/opencrvs-co…
jamil314 Aug 28, 2025
b9746df
Merge pull request #1637 from opencrvs/chore/add-markus-to-e2e-server
makelicious Aug 29, 2025
dc6a96f
Merge pull request #1631 from opencrvs/ocrvs-10054
jamil314 Aug 29, 2025
ed513fc
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Aug 29, 2025
f66d2a9
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Aug 29, 2025
148c877
fix tests
cibelius Aug 29, 2025
c35a30f
Merge branch 'develop' into ocrvs-9829
cibelius Aug 29, 2025
60a9fc8
infra: add jamil as a user in v19-alpha-prod
jamil314 Aug 29, 2025
39aa1f5
infra: add tameem as a user in v19-alpha-prod
jamil314 Aug 29, 2025
1940679
add extra timeout for record details updating after approving a request
rikukissa Aug 29, 2025
3b00eaa
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Aug 29, 2025
8121cfd
Merge pull request #1638 from opencrvs/ocrvs-9829
cibelius Aug 29, 2025
31ec7b1
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Aug 29, 2025
23be89c
fix: update ctas in review
makelicious Aug 29, 2025
75bb287
Merge branch 'develop' into fix/text-on-rejected-items
makelicious Aug 29, 2025
421363d
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Aug 29, 2025
b0390d1
fix test
cibelius Aug 29, 2025
d499c2e
fix: amend declaration payload to have checkbox default value (#1642)
Nil20 Aug 30, 2025
69ebce6
Merge branch 'develop' into ocrvs-10263-b
cibelius Aug 30, 2025
d99a000
fix test
cibelius Aug 30, 2025
b0353e2
fix test
cibelius Aug 31, 2025
38f9dc4
Merge pull request #1641 from opencrvs/ocrvs-10263-b
cibelius Aug 31, 2025
a6e60e6
block /internal from being accessed through traefik
rikukissa Aug 31, 2025
09bb4cf
Merge branch 'ocrvs-10276-2' of github.com:opencrvs/opencrvs-countryc…
rikukissa Aug 31, 2025
438578c
Merge remote-tracking branch 'upstream/ocrvs-10341' into ocrvs-10341
cibelius Sep 1, 2025
0dfbd32
Merge pull request #1640 from opencrvs/fix/text-on-rejected-items
makelicious Sep 1, 2025
193c762
fix: show all but rejected under sent for review
makelicious Sep 1, 2025
764c6a5
Merge branch 'develop' into ocrvs-10341
cibelius Sep 2, 2025
b6955a3
Merge remote-tracking branch 'upstream/ocrvs-10341' into ocrvs-10341
cibelius Sep 2, 2025
7c5553b
Merge branch 'develop' into ocrvs-10085
makelicious Sep 2, 2025
ac726fe
Merge remote-tracking branch 'upstream/ocrvs-10341' into ocrvs-10341
cibelius Sep 2, 2025
1699dd4
chore: update tests
makelicious Sep 2, 2025
b5f1e71
Merge remote-tracking branch 'upstream/ocrvs-10341' into ocrvs-10341
cibelius Sep 2, 2025
487da1b
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 2, 2025
7310c5c
Merge pull request #1644 from opencrvs/ocrvs-10085
makelicious Sep 2, 2025
f59bade
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 2, 2025
51f90c8
Merge remote-tracking branch 'upstream/ocrvs-10341' into ocrvs-10341
cibelius Sep 2, 2025
2e26e6d
feat: separate routes for correction request & review (#1646)
Zangetsu101 Sep 2, 2025
115c174
Merge branch 'develop' into ocrvs-10341
cibelius Sep 2, 2025
97dec2c
remove duplicate roles
cibelius Sep 2, 2025
46ba94f
update scopes to roles
cibelius Sep 2, 2025
23ff44a
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 2, 2025
6630339
Merge remote-tracking branch 'upstream/ocrvs-10341' into ocrvs-10341
cibelius Sep 2, 2025
94fa09c
Merge branch 'develop' into ocrvs-10341
cibelius Sep 2, 2025
1655dcf
remove extra scope
cibelius Sep 2, 2025
e522d0e
Merge pull request #1639 from opencrvs/add-jamil-to-alpha-testing-prord
jamil314 Sep 3, 2025
3314baf
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
jamil314 Sep 3, 2025
bbf2cfe
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
jamil314 Sep 3, 2025
ddb5e22
Merge pull request #1647 from opencrvs/sync-fork-03-09
jamil314 Sep 3, 2025
e831f9a
Merge remote-tracking branch 'upstream/ocrvs-10341' into ocrvs-10341
cibelius Sep 3, 2025
6446084
Merge branch 'develop' into ocrvs-10341
cibelius Sep 3, 2025
126ff6d
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
jamil314 Sep 3, 2025
b56316e
Merge pull request #1650 from opencrvs/sync-fork-03-09-b
jamil314 Sep 3, 2025
aa9c61f
Merge remote-tracking branch 'upstream/ocrvs-10341' into ocrvs-10341
cibelius Sep 3, 2025
9be2e8b
Merge branch 'develop' into ocrvs-10341
cibelius Sep 3, 2025
fce60fc
Merge branch 'develop' of github.com:opencrvs/opencrvs-countryconfig …
Zangetsu101 Sep 3, 2025
2692144
Merge pull request #1651 from opencrvs/sync-countryconfig
Zangetsu101 Sep 3, 2025
8b14c52
Merge branch 'develop' into ocrvs-10341
cibelius Sep 3, 2025
8600380
Merge remote-tracking branch 'upstream/ocrvs-10341' into ocrvs-10341
cibelius Sep 3, 2025
b65cc5f
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 3, 2025
fa263a0
Merge remote-tracking branch 'upstream/ocrvs-10342' into ocrvs-10342
cibelius Sep 4, 2025
4309614
fix issues
cibelius Sep 4, 2025
53073f5
Merge remote-tracking branch 'origin/develop' into ocrvs-10342
cibelius Sep 4, 2025
7db2071
Merge remote-tracking branch 'upstream/ocrvs-10342' into ocrvs-10342
cibelius Sep 4, 2025
2c88cd1
Merge pull request #1643 from opencrvs/ocrvs-10341
cibelius Sep 4, 2025
045d411
fix: guard against missing declaration in action objects (#1654)
Nil20 Sep 4, 2025
c101588
Merge remote-tracking branch 'origin/develop' into ocrvs-10342
cibelius Sep 4, 2025
43ebbf1
Merge remote-tracking branch 'upstream/develop' into sync-2025-09-04
cibelius Sep 4, 2025
4b81468
Merge pull request #1655 from opencrvs/sync-2025-09-04
cibelius Sep 4, 2025
61e913e
Merge remote-tracking branch 'upstream/develop' into ocrvs-10342
cibelius Sep 4, 2025
d229a22
fix request
cibelius Sep 4, 2025
673cb1d
fix: remove audit scope from different users (#1616)
Nil20 Sep 4, 2025
7b4b480
Merge remote-tracking branch 'origin/develop' into ocrvs-10342
cibelius Sep 4, 2025
134c819
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 4, 2025
64ee575
Merge remote-tracking branch 'upstream/develop' into ocrvs-10342
cibelius Sep 4, 2025
c6c1087
Merge remote-tracking branch 'origin/develop' into ocrvs-10342
cibelius Sep 4, 2025
818a9cf
fix tests
cibelius Sep 4, 2025
23ab98d
fix: amend e2e testcase for father addressSameAs field (#1657)
Nil20 Sep 4, 2025
ffa8078
fix test
cibelius Sep 4, 2025
6c39880
Merge branch 'develop' into ocrvs-10342
cibelius Sep 4, 2025
1601e5a
fix tests
cibelius Sep 4, 2025
48abab5
fix test
cibelius Sep 4, 2025
3bb63fc
Merge pull request #1652 from opencrvs/ocrvs-10342
cibelius Sep 4, 2025
9fbd824
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 4, 2025
078dccf
fix: allow a hospital clerk/ community leader to create a declaration
jamil314 Sep 5, 2025
fd53eb8
Merge pull request #1659 from opencrvs/ocrvs-10392
jamil314 Sep 5, 2025
edde0b1
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-countr…
jamil314 Sep 5, 2025
a0f0602
Merge pull request #1661 from opencrvs/sync-fork-05-09
jamil314 Sep 5, 2025
fac03d7
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 5, 2025
aa32693
Merge remote-tracking branch 'upstream/record-create-scope' into reco…
cibelius Sep 7, 2025
3c398f1
chore: update test to read draft from draft wq (#1648)
Nil20 Sep 7, 2025
a902878
Merge branch 'develop' into record-create-scope
cibelius Sep 7, 2025
d3a02dc
Configurable address (#1658)
makelicious Sep 8, 2025
9a12351
Remove environment files for v19-alpha-staging
github-actions[bot] Sep 8, 2025
0beea36
Remove environment files for v19-alpha-prod
github-actions[bot] Sep 8, 2025
47344eb
Merge branch 'develop' into record-create-scope
cibelius Sep 8, 2025
db6d53a
Merge branch 'develop' of github.com:opencrvs/opencrvs-countryconfig …
Zangetsu101 Sep 8, 2025
e99e099
chore: bring back mosip dependency
Zangetsu101 Sep 8, 2025
b13ad59
fix failing e2e tests when address configs are passed in
pankaj-pant Sep 8, 2025
e02411e
Merge pull request #1663 from opencrvs/merge-cc-dev-to-far
makelicious Sep 8, 2025
be2d9bf
Merge pull request #1662 from opencrvs/record-create-scope
cibelius Sep 8, 2025
7f5accf
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 8, 2025
53e07ca
add create scope and print scope for hospital clerk and community leader
cibelius Sep 8, 2025
3f7a9ff
Merge branch 'develop' into record-create-scope
cibelius Sep 8, 2025
0b82835
Merge pull request #1664 from opencrvs/record-create-scope
cibelius Sep 8, 2025
2ca347a
Merge remote-tracking branch 'upstream/configurable-unassign-others-s…
cibelius Sep 9, 2025
a43acb1
Merge remote-tracking branch 'upstream/configurable-unassign-others-s…
cibelius Sep 9, 2025
daabc13
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 9, 2025
0656fe9
Merge remote-tracking branch 'upstream' into sync-cc-09-09
makelicious Sep 9, 2025
552980c
Merge pull request #1667 from opencrvs/sync-cc-09-09
makelicious Sep 9, 2025
8f76fe3
Merge remote-tracking branch 'upstream/configurable-unassign-others-s…
cibelius Sep 9, 2025
9fbff35
Merge branch 'develop' into configurable-unassign-others-scope
cibelius Sep 9, 2025
0be580f
Merge pull request #1665 from opencrvs/configurable-unassign-others-s…
cibelius Sep 9, 2025
26299f2
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 9, 2025
51aa7fa
chore: revert audit scope of users (#1668)
Nil20 Sep 9, 2025
21f6213
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Sep 9, 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
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
69a2c4e
wip with test improvements
cibelius Sep 15, 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
7 changes: 4 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,7 @@ on:
- staging
- qa
- development
- pentest
jobs:
reset-data:
name: 'Reset data'
Expand All @@ -32,21 +36,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