Skip to content

Commit

Permalink
Need ogr2ogr to generate score (#1871)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbowen-usds committed Aug 12, 2022
1 parent 3830c66 commit b263a9a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy_be_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:
aws-access-key-id: ${{ secrets.DATA_DEV_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.DATA_DEV_AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Install GDAL/ogr2ogr
run: |
sudo add-apt-repository ppa:ubuntugis/ppa
sudo apt-get update
sudo apt-get -y install gdal-bin
ogrinfo --version
- name: Generate Score
run: |
poetry run python3 data_pipeline/application.py score-full-run
Expand All @@ -71,13 +77,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: "github-actions[bot]"
allow-repeats: false
- name: Install GDAL/ogr2ogr
run: |
sudo add-apt-repository ppa:ubuntugis/ppa
sudo apt-get update
sudo apt-get -y install gdal-bin
ogrinfo --version
- name: Set timezone for tippecanoe
- name: Set timezone for tippecanoe
uses: szenius/[email protected]
with:
timezoneLinux: "America/Los_Angeles"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/generate-score.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
with:
path: ~/.cache/pypoetry/virtualenvs
key: env-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('.github/workflows/generate-score.yml') }}
- name: Install gdal
run: sudo apt-get install -y gdal-bin
- name: Install poetry
uses: snok/install-poetry@v1
- name: Print Poetry settings
Expand Down

0 comments on commit b263a9a

Please sign in to comment.