Skip to content

Commit d183906

Browse files
committed
Remove bionic and add jammy in CI config
1 parent 62a84b5 commit d183906

File tree

3 files changed

+35
-14
lines changed

3 files changed

+35
-14
lines changed

.changelog/changelog.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@
1010

1111
* #811 Fix user email update failures
1212

13+
# Build Changes
14+
15+
* Github Actions no longer maintains a build for Ubuntu Bionic (18.04),
16+
so automated `bionic` builds are no longer available. Automated builds
17+
for 22.04 Jammy have been added with the `jammy` label.
18+
19+
# Advisory
20+
21+
This is a pre-release and may not be stable for production use. The username
22+
update feature is under development and will currently update the username of
23+
any user that can be identified as being in need of a username update. This
24+
may have unexpected side effects.
25+
1326
---
1427

1528
| tag | date | title |

.changelog/latest.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

77
* #811 Fix user email update failures
88

9+
# Build Changes
10+
11+
* Github Actions no longer maintains a build for Ubuntu Bionic (18.04),
12+
so automated `bionic` builds are no longer available. Automated builds
13+
for 22.04 Jammy have been added with the `jammy` label.
14+
915
# Advisory
1016

1117
This is a pre-release and may not be stable for production use. The username

.github/workflows/package.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
- 'v*'
77

88
jobs:
9-
ubuntu-bionic:
10-
runs-on: ubuntu-18.04
9+
ubuntu-jammy:
10+
runs-on: ubuntu-22.04
1111
strategy:
1212
matrix:
1313
include:
@@ -20,18 +20,20 @@ jobs:
2020
- name: Set up Python
2121
uses: actions/setup-python@v2
2222
with:
23-
python-version: '3.9'
23+
python-version: '3.10'
2424
- name: Get version tag
2525
id: get_version
2626
uses: battila7/get-version-action@v2
27-
- name: Ubuntu-Install dependencies
27+
- name: Ubuntu dependencies
2828
run: |
29-
sudo apt-get update
30-
sudo apt-get install -y software-properties-common
31-
sudo apt-get install -y build-essential
32-
sudo apt-get install -y python3-dev python3-pip python3-virtualenv
33-
sudo apt-get install -y pkg-config libssl-dev libdbus-1-dev libdbus-glib-1-dev python-dbus libffi-dev libkrb5-dev
34-
- run: |
29+
apt-get install -y software-properties-common \
30+
build-essential \
31+
python3-dev python3-pip python3.10-venv \
32+
pkg-config libssl-dev libdbus-1-dev libdbus-glib-1-dev libffi-dev libkrb5-dev
33+
- name: Python dependencies
34+
run: |
35+
python3 -m venv venv
36+
source venv/bin/activate
3537
pip install ./sign_client
3638
pip install external/okta-0.0.3.1-py2.py3-none-any.whl
3739
pip install -e .
@@ -46,14 +48,14 @@ jobs:
4648
- name: Get build
4749
run: |
4850
cd dist
49-
tar czf "user-sync-${UST_VERSION}${UST_VARIANT_TAG}-ubuntu_bionic.tar.gz" user-sync
51+
tar czf "user-sync-${UST_VERSION}${UST_VARIANT_TAG}-ubuntu_jammy.tar.gz" user-sync
5052
env:
5153
UST_VARIANT_TAG: ${{matrix.variant_tag}}
5254
UST_VERSION: ${{ steps.get_version.outputs.version }}
5355
- name: Make artifacts
5456
uses: actions/upload-artifact@v2
5557
with:
56-
name: ubuntu-bionic
58+
name: ubuntu-jammy
5759
path: dist/*.tar.gz
5860
retention-days: 30
5961

@@ -233,7 +235,7 @@ jobs:
233235

234236
release:
235237
runs-on: ubuntu-latest
236-
needs: [centos, ubuntu-bionic, ubuntu-focal, examples, windows]
238+
needs: [centos, ubuntu-jammy, ubuntu-focal, examples, windows]
237239
steps:
238240
- uses: actions/checkout@v2
239241
- name: Create Release
@@ -258,6 +260,6 @@ jobs:
258260
uses: battila7/get-version-action@v2
259261
- uses: AButler/[email protected]
260262
with:
261-
files: 'examples/*;ubuntu-bionic/*;ubuntu-focal/*;centos/*'
263+
files: 'examples/*;ubuntu-jammy/*;ubuntu-focal/*;centos/*'
262264
repo-token: ${{ secrets.GITHUB_TOKEN }}
263265
release-tag: ${{ steps.get_version.outputs.version }}

0 commit comments

Comments
 (0)