Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2094 commits
Select commit Hold shift + click to select a range
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
9ff1ff7
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
naftis 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
8cbc132
Merge branch 'develop' of https://github.com/opencrvs/opencrvs-faraja…
naftis Aug 29, 2025
fbd2536
Merge branch 'metabase' of https://github.com/opencrvs/opencrvs-count…
naftis Aug 29, 2025
3b00eaa
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Aug 29, 2025
2ec643b
Merge branch 'metabase' of https://github.com/opencrvs/opencrvs-count…
naftis Aug 29, 2025
8121cfd
Merge pull request #1638 from opencrvs/ocrvs-9829
cibelius Aug 29, 2025
c1c7c3f
Merge branch 'metabase' of https://github.com/opencrvs/opencrvs-count…
naftis Aug 29, 2025
31ec7b1
Merge remote-tracking branch 'upstream/develop' into develop
github-actions[bot] Aug 29, 2025
213cf18
Merge branch 'metabase' of https://github.com/opencrvs/opencrvs-count…
naftis 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
9dc8539
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
naftis Sep 1, 2025
8fe4cfb
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
naftis Sep 1, 2025
171579a
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
naftis Sep 1, 2025
d68ea71
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
naftis Sep 1, 2025
8e88784
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
naftis 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
c49bed3
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
rikukissa Sep 10, 2025
fc51b61
Merge branch 'metabase' of github.com:opencrvs/opencrvs-farajaland in…
rikukissa Sep 10, 2025
8f21d79
Add environment files for metab
github-actions[bot] Sep 10, 2025
8ed3e88
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
rikukissa Sep 10, 2025
ecfa9f5
generate credentials for analytics postgres as part of hetzner server…
rikukissa Sep 10, 2025
9d80cca
Remove environment files for metab
github-actions[bot] Sep 10, 2025
c569923
Add environment files for meta
github-actions[bot] Sep 10, 2025
9aa0bba
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
rikukissa Sep 10, 2025
f0d06f2
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
rikukissa Sep 10, 2025
86da5ab
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
rikukissa Sep 11, 2025
f22a60e
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
rikukissa Sep 11, 2025
9dab847
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
rikukissa Sep 11, 2025
8e2ebc3
Merge remote-tracking branch 'upstream/ocrvs-10405' into ocrvs-10405
cibelius Sep 11, 2025
373f4ea
fix test selector
cibelius Sep 11, 2025
9143ece
Merge remote-tracking branch 'upstream/ocrvs-10405' into ocrvs-10405
cibelius Sep 11, 2025
c504edf
Merge remote-tracking branch 'upstream/ocrvs-10405' into ocrvs-10405
cibelius Sep 11, 2025
748e853
fix couple of test selectors
cibelius Sep 11, 2025
2a729f9
Merge branch 'metabase' of github.com:opencrvs/opencrvs-countryconfig…
rikukissa Sep 11, 2025
c4827f2
fix test selectors
cibelius Sep 11, 2025
9aa4c17
add natonality translations back
cibelius Sep 11, 2025
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
0e986a3
Add environment files for fix-analytics
github-actions[bot] Sep 19, 2025
5fbab1d
fix: Properly distribute analytics postgres user
adskyiproger Sep 19, 2025
dfcd143
Merge branch 'fix-analytics-user' into fix-analytics-user
adskyiproger Sep 19, 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
- meta
- v19-beta-staging
- v19-beta-prod
- fix-analytics
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