Skip to content

Commit

Permalink
Use same gdal install command for post merge (#4008)
Browse files Browse the repository at this point in the history
Also add oc command for cleanup scripts.
  • Loading branch information
conbrad authored Oct 15, 2024
1 parent 9d5cd7b commit 71e17bb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install OpenShift CLI tools
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4.14"

- name: Clean up - dev (OCP4)
shell: bash
run: |
Expand Down Expand Up @@ -50,6 +55,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install OpenShift CLI tools
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4.14"

- name: Clean up dev database
shell: bash
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/post_merge_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
run: |
poetry run python -m pip install --upgrade pip
poetry install
poetry run python -m pip install gdal==$(gdal-config --version)
poetry run python -m pip install --no-build-isolation --no-cache-dir --force-reinstall gdal==$(gdal-config --version)
- name: Lint (api)
# We used to be able to do linting before installing gdal, but it's not possible anymore.
# We can however place it ahead of the R installs.
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
run: |
poetry run python -m pip install --upgrade pip
poetry install
poetry run python -m pip install gdal==$(gdal-config --version)
poetry run python -m pip install --no-build-isolation --no-cache-dir --force-reinstall gdal==$(gdal-config --version)
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.R }}
Expand Down

0 comments on commit 71e17bb

Please sign in to comment.