Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b36e1b3
Added mappings for Somalia
euanmillar Aug 26, 2025
8f4514e
Update to use new field formats
tumbledwyer Oct 3, 2025
abc08c4
Merge branch 'looped-migrations' into somalia-testing
tumbledwyer Oct 8, 2025
1a75d49
Fix duplicates
tumbledwyer Oct 13, 2025
95b3a47
Fix event date strange deceased chaining
tumbledwyer Oct 13, 2025
7d52bb9
Add empty string to default fields
tumbledwyer Oct 16, 2025
4ea3ffd
Remove age tostring so it stays an int
tumbledwyer Oct 16, 2025
57da6f2
Merge branch 'fix-duplicates' into somalia-testing
tumbledwyer Oct 28, 2025
63a2da1
OCRVS-10743 Fixed child address mapping
tumbledwyer Oct 29, 2025
c3ff7d8
OCRVS-10855 Fix deceased.BRN mapping
tumbledwyer Oct 29, 2025
747ba04
OCRVS-10861 Fix manner of death mapping
tumbledwyer Oct 29, 2025
af54bf3
OCRVS-10882 Fix proof of death documents
tumbledwyer Oct 29, 2025
72239c5
Merge remote-tracking branch 'origin/main' into somalia-testing
tumbledwyer Nov 3, 2025
a312d29
Move constants into if blocks
tumbledwyer Nov 3, 2025
929791c
Fix deaths
tumbledwyer Nov 3, 2025
05ff675
Fix informant relation mapping
tumbledwyer Nov 5, 2025
36e51b5
Merge branch 'support-age-component' into somalia-testing
tumbledwyer Nov 5, 2025
927cfe5
Merge branch 'support-age-component' into somalia-testing
tumbledwyer Nov 5, 2025
d2b2190
Handle age corrections
tumbledwyer Nov 5, 2025
483c607
Merge branch 'add-vpn-support' into somalia-testing
tumbledwyer Nov 13, 2025
ace3c87
Add VPN details to Somalia
tumbledwyer Nov 13, 2025
be36944
Ignore reindex for now
tumbledwyer Nov 13, 2025
46a12cc
Add qa option to prod migration action
tumbledwyer Nov 13, 2025
31bc71b
Merge remote-tracking branch 'origin/main' into somalia-testing
tumbledwyer Nov 19, 2025
e690762
Merge branch 'main' into somalia-testing
tumbledwyer Nov 28, 2025
21498d6
Fix merge issues
tumbledwyer Dec 1, 2025
6837550
Add index result check to migrations
tumbledwyer Dec 1, 2025
c7f59f8
Merge remote-tracking branch 'origin/adding-tests' into somalia-testing
tumbledwyer Dec 3, 2025
e620f2e
Add somalia specific tests
tumbledwyer Dec 3, 2025
460a898
Merge branch 'main' into somalia-testing
tumbledwyer Dec 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion .github/workflows/migrate-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
options:
- staging
- production
- qa
event:
description: 'The event to process (birth or death)'
required: true
Expand All @@ -34,7 +35,30 @@ jobs:
with:
ref: ${{ github.ref }}

# ADD VPN SETUP STEPS HERE
- name: Update apt
run: sudo apt update

- name: Install openconnect
run: sudo apt install -y openconnect

- name: Install virtualenv
run: |
sudo apt install virtualenvwrapper
sudo apt install virtualenv
virtualenv vpn-slice
source vpn-slice/bin/activate
pip3 install https://github.com/dlenski/vpn-slice/archive/master.zip

- name: Connect to VPN
run: |
echo "${{ secrets.VPN_PWD }}" | sudo openconnect --syslog -u ${{ secrets.VPN_USER }} --passwd-on-stdin --protocol=${{ secrets.VPN_PROTOCOL }} ${{ secrets.VPN_HOST }}:${{ secrets.VPN_PORT }} --servercert ${{ secrets.VPN_SERVERCERT }} --background -v --no-dtls -s 'vpn-slice/bin/vpn-slice 10.17.0.0/24'
sleep 3
ip_addr=$(ip -f inet addr show tun0 |sed -En -e 's/.*inet ([0-9.]+).*/\1/p')
sudo ip route add 10.17.30.0/24 via $ip_addr dev tun0

- name: Test VPN connection
run: |
ping -c4 ${{ vars.SSH_HOST || secrets.SSH_HOST }}

- name: Install dependencies
run: |
Expand Down
Loading
Loading