Skip to content

Commit 72b5d29

Browse files
committed
Bump GHA environment to use Ubuntu 22.04
Since some time ago, GH is warning us that the Ubuntu 18.04 environment is deprecated: "The ubuntu-18.04 environment is deprecated, consider switching to ubuntu-20.04(ubuntu-latest), or ubuntu-22.04 instead...." Hence, we are bumping here, to be able to cerify if everything continues working ok. The changes cover own scripts, templates and guides. All them now pointing to Ubuntu 22.04 (jammy).
1 parent 68bcbc6 commit 72b5d29

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
# Avoid forks to perform this job.
1010
if: github.repository_owner == 'moodlehq'
1111
name: Create Release
12-
runs-on: ubuntu-18.04
12+
runs-on: ubuntu-22.04
1313

1414
steps:
1515
- name: Check out repository code

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push, pull_request, workflow_dispatch]
55
jobs:
66
selftest:
77
name: CI test (make validate)
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-22.04
99

1010
steps:
1111
- name: Check out repository code
@@ -28,7 +28,7 @@ jobs:
2828
citest:
2929
name: CI test
3030
needs: selftest
31-
runs-on: ubuntu-20.04
31+
runs-on: ubuntu-22.04
3232

3333
services:
3434
postgres:

docs/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
99
The format of this change log follows the advice given at [Keep a CHANGELOG](http://keepachangelog.com).
1010

1111
## [Unreleased]
12+
### Changed
13+
- Updated all GHA scripts, templates and guides to use Ubuntu 22.04 (jammy). This change is not required yet, but integrations using old versions (Ubuntu 16.04, 18.04...) may face problems in the future because they are being deprecated.
14+
1215

1316
## [3.4.0] - 2022-07-27
1417
### Added

docs/GHAFileExplained.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# when a job name is not provided
2727
test:
2828
# Virtual environment to use.
29-
runs-on: ubuntu-18.04
29+
runs-on: ubuntu-22.04
3030

3131
# DB services you need for testing.
3232
services:

gha.dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
test:
7-
runs-on: ubuntu-18.04
7+
runs-on: ubuntu-22.04
88

99
services:
1010
postgres:

0 commit comments

Comments
 (0)