Skip to content

Commit

Permalink
Merge pull request #1902 from camptocamp/update-ubuntu-5.0
Browse files Browse the repository at this point in the history
Update the used Ubuntu version to from 20.04 to 22.04 in the workflows
  • Loading branch information
sbrunner committed Jul 18, 2023
2 parents dc01d96 + 90304c1 commit fc67d19
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 16 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Audit

on:
Expand All @@ -7,7 +6,7 @@ on:

jobs:
audit:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Audit
timeout-minutes: 5

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
auto-merge:
name: Auto reviews updates
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 5

steps:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/backport.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Backport

on:
Expand All @@ -12,7 +11,7 @@ env:

jobs:
backport:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Backport
timeout-minutes: 5

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/clean.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
---
name: Clean docker hub tags

on: delete

jobs:
clean:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Clean docker hub tags
timeout-minutes: 5

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Code scanning

on:
Expand All @@ -9,7 +8,7 @@ env:

jobs:
codeql:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Code scanning
timeout-minutes: 25

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Continuous integration

on:
Expand All @@ -10,7 +9,7 @@ env:
jobs:
build:
name: Continuous integration
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 15
if: "!startsWith(github.event.head_commit.message, '[skip ci] ')"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
build:
name: Pull request check
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 5

steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rebuild.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Rebuild

on:
Expand All @@ -11,7 +10,7 @@ env:
jobs:
rebuild:
name: Rebuild
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 15

strategy:
Expand Down Expand Up @@ -51,8 +50,9 @@ jobs:

- name: Install GDAL
# with .sh for release <= 3
run: docker run --rm camptocamp/c2cwsgiutils install-gdal ||
docker run --rm camptocamp/c2cwsgiutils:latest-full /opt/c2cwsgiutils/install_gdal.sh
run:
docker run --rm camptocamp/c2cwsgiutils install-gdal || docker run --rm camptocamp/c2cwsgiutils:latest-full
/opt/c2cwsgiutils/install_gdal.sh

- name: Publish
run: c2cciutils-publish --type=rebuild --branch=${{ matrix.branch }}

0 comments on commit fc67d19

Please sign in to comment.