lighsail to 22.04 and remove 20.04

This commit is contained in:
Jack Ivanov 2023-05-16 19:04:50 -04:00
parent 1c95063926
commit aabf7d761e
2 changed files with 12 additions and 6 deletions

View file

@ -4,7 +4,7 @@ on: [push, pull_request]
jobs: jobs:
lint: lint:
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-python@v2.3.2 - uses: actions/setup-python@v2.3.2
@ -13,6 +13,8 @@ jobs:
cache: 'pip' cache: 'pip'
- name: Install dependencies - name: Install dependencies
env:
DEBIAN_FRONTEND: noninteractive
run: | run: |
sudo apt update -y sudo apt update -y
python -m pip install --upgrade pip python -m pip install --upgrade pip
@ -27,10 +29,10 @@ jobs:
ansible-lint -x experimental,package-latest,unnamed-task -v *.yml roles/{local,cloud-*}/*/*.yml ansible-lint -x experimental,package-latest,unnamed-task -v *.yml roles/{local,cloud-*}/*/*.yml
scripted-deploy: scripted-deploy:
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
strategy: strategy:
matrix: matrix:
UBUNTU_VERSION: ["20.04", "22.04"] UBUNTU_VERSION: ["22.04"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-python@v2.3.2 - uses: actions/setup-python@v2.3.2
@ -39,6 +41,8 @@ jobs:
cache: 'pip' cache: 'pip'
- name: Install dependencies - name: Install dependencies
env:
DEBIAN_FRONTEND: noninteractive
run: | run: |
sudo apt update -y sudo apt update -y
sudo apt install -y \ sudo apt install -y \
@ -87,10 +91,10 @@ jobs:
sudo env "PATH=$PATH" ./tests/ipsec-client.sh sudo env "PATH=$PATH" ./tests/ipsec-client.sh
docker-deploy: docker-deploy:
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
strategy: strategy:
matrix: matrix:
UBUNTU_VERSION: ["20.04", "22.04"] UBUNTU_VERSION: ["22.04"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-python@v2.3.2 - uses: actions/setup-python@v2.3.2
@ -99,6 +103,8 @@ jobs:
cache: 'pip' cache: 'pip'
- name: Install dependencies - name: Install dependencies
env:
DEBIAN_FRONTEND: noninteractive
run: | run: |
set -x set -x
sudo apt update -y sudo apt update -y

View file

@ -198,7 +198,7 @@ cloud_providers:
external_static_ip: false external_static_ip: false
lightsail: lightsail:
size: nano_2_0 size: nano_2_0
image: ubuntu_20_04 image: ubuntu_22_04
scaleway: scaleway:
size: DEV1-S size: DEV1-S
image: Ubuntu 22.04 Jammy Jellyfish image: Ubuntu 22.04 Jammy Jellyfish