From aabf7d761e51f129b543c2e33141ed96f0f80f9b Mon Sep 17 00:00:00 2001 From: Jack Ivanov <17044561+jackivanov@users.noreply.github.com> Date: Tue, 16 May 2023 19:04:50 -0400 Subject: [PATCH] lighsail to 22.04 and remove 20.04 --- .github/workflows/main.yml | 16 +++++++++++----- config.cfg | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 212cc0c..825feb9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: lint: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v2.3.2 @@ -13,6 +13,8 @@ jobs: cache: 'pip' - name: Install dependencies + env: + DEBIAN_FRONTEND: noninteractive run: | sudo apt update -y 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 scripted-deploy: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: - UBUNTU_VERSION: ["20.04", "22.04"] + UBUNTU_VERSION: ["22.04"] steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v2.3.2 @@ -39,6 +41,8 @@ jobs: cache: 'pip' - name: Install dependencies + env: + DEBIAN_FRONTEND: noninteractive run: | sudo apt update -y sudo apt install -y \ @@ -87,10 +91,10 @@ jobs: sudo env "PATH=$PATH" ./tests/ipsec-client.sh docker-deploy: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: - UBUNTU_VERSION: ["20.04", "22.04"] + UBUNTU_VERSION: ["22.04"] steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v2.3.2 @@ -99,6 +103,8 @@ jobs: cache: 'pip' - name: Install dependencies + env: + DEBIAN_FRONTEND: noninteractive run: | set -x sudo apt update -y diff --git a/config.cfg b/config.cfg index d85af0d..f1e102f 100644 --- a/config.cfg +++ b/config.cfg @@ -198,7 +198,7 @@ cloud_providers: external_static_ip: false lightsail: size: nano_2_0 - image: ubuntu_20_04 + image: ubuntu_22_04 scaleway: size: DEV1-S image: Ubuntu 22.04 Jammy Jellyfish