From 3eeabe90db5a79fae8b77be0fd172fa608b1c0c1 Mon Sep 17 00:00:00 2001 From: Jesus Garcia Date: Thu, 19 Dec 2024 11:09:29 -0500 Subject: [PATCH] Update GHA runners to use 'ubuntu-22.02' instead of 'ubuntu-latest' --- .github/workflows/al_aio.yml | 4 ++-- .github/workflows/al_wazuh.yml | 4 ++-- .github/workflows/centos_aio.yml | 4 ++-- .github/workflows/centos_wazuh.yml | 4 ++-- .github/workflows/ubuntu_aio.yml | 4 ++-- .github/workflows/ubuntu_wazuh.yml | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/al_aio.yml b/.github/workflows/al_aio.yml index cd121303c..076a5e21f 100644 --- a/.github/workflows/al_aio.yml +++ b/.github/workflows/al_aio.yml @@ -4,7 +4,7 @@ on: [pull_request, workflow_dispatch, release] jobs: start-runner: name: Start self-hosted EC2 runner - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: label: ${{ steps.start-ec2-runner.outputs.label }} ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} @@ -49,7 +49,7 @@ jobs: needs: - start-runner # required to get output from the start-runner job - install-aio-single-instance # required to wait when the main job is done - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs steps: - name: Configure AWS credentials diff --git a/.github/workflows/al_wazuh.yml b/.github/workflows/al_wazuh.yml index 8200e866b..4e5157d7e 100644 --- a/.github/workflows/al_wazuh.yml +++ b/.github/workflows/al_wazuh.yml @@ -4,7 +4,7 @@ on: [pull_request, workflow_dispatch, release] jobs: start-runner: name: Start self-hosted EC2 runner - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: label: ${{ steps.start-ec2-runner.outputs.label }} ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} @@ -49,7 +49,7 @@ jobs: needs: - start-runner # required to get output from the start-runner job - install-wazuh-single-instance # required to wait when the main job is done - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs steps: - name: Configure AWS credentials diff --git a/.github/workflows/centos_aio.yml b/.github/workflows/centos_aio.yml index 0d03a1684..58488e91b 100644 --- a/.github/workflows/centos_aio.yml +++ b/.github/workflows/centos_aio.yml @@ -4,7 +4,7 @@ on: [pull_request, workflow_dispatch, release] jobs: start-runner: name: Start self-hosted EC2 runner - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: label: ${{ steps.start-ec2-runner.outputs.label }} ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} @@ -58,7 +58,7 @@ jobs: needs: - start-runner # required to get output from the start-runner job - install-aio-single-instance # required to wait when the main job is done - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs steps: - name: Configure AWS credentials diff --git a/.github/workflows/centos_wazuh.yml b/.github/workflows/centos_wazuh.yml index 17e90e397..cced7849d 100644 --- a/.github/workflows/centos_wazuh.yml +++ b/.github/workflows/centos_wazuh.yml @@ -4,7 +4,7 @@ on: [pull_request, workflow_dispatch, release] jobs: start-runner: name: Start self-hosted EC2 runner - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: label: ${{ steps.start-ec2-runner.outputs.label }} ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} @@ -58,7 +58,7 @@ jobs: needs: - start-runner # required to get output from the start-runner job - install-wazuh-single-instance # required to wait when the main job is done - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs steps: - name: Configure AWS credentials diff --git a/.github/workflows/ubuntu_aio.yml b/.github/workflows/ubuntu_aio.yml index 05eb37787..32ff7db74 100644 --- a/.github/workflows/ubuntu_aio.yml +++ b/.github/workflows/ubuntu_aio.yml @@ -4,7 +4,7 @@ on: [pull_request, workflow_dispatch, release] jobs: start-runner: name: Start self-hosted EC2 runner - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: label: ${{ steps.start-ec2-runner.outputs.label }} ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} @@ -58,7 +58,7 @@ jobs: needs: - start-runner # required to get output from the start-runner job - install-aio-single-instance # required to wait when the main job is done - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs steps: - name: Configure AWS credentials diff --git a/.github/workflows/ubuntu_wazuh.yml b/.github/workflows/ubuntu_wazuh.yml index 64db955ef..245c4c7f5 100644 --- a/.github/workflows/ubuntu_wazuh.yml +++ b/.github/workflows/ubuntu_wazuh.yml @@ -4,7 +4,7 @@ on: [pull_request, workflow_dispatch, release] jobs: start-runner: name: Start self-hosted EC2 runner - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: label: ${{ steps.start-ec2-runner.outputs.label }} ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} @@ -58,7 +58,7 @@ jobs: needs: - start-runner # required to get output from the start-runner job - install-wazuh-single-instance # required to wait when the main job is done - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs steps: - name: Configure AWS credentials