Update download-geolite2.sh to use packages URLs (#1624)

makes use of our hosted download URLs for geolocation DBs
This commit is contained in:
Maycon Santos
2024-02-26 10:29:54 +01:00
committed by GitHub
parent 52fd9a575a
commit ce2d14c08e
2 changed files with 36 additions and 29 deletions

View File

@@ -189,3 +189,16 @@ jobs:
run: test -f zitadel.env
- name: test dashboard.env file gen
run: test -f dashboard.env
test-download-geolite2-script:
runs-on: ubuntu-latest
steps:
- name: Install jq
run: sudo apt-get update && sudo apt-get install -y unzip sqlite3
- name: Checkout code
uses: actions/checkout@v3
- name: test script
run: bash -x infrastructure_files/download-geolite2.sh
- name: test mmdb file exists
run: ls -l GeoLite2-City_*/GeoLite2-City.mmdb
- name: test geonames file exists
run: test -f geonames.db