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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b96b5492..6a52b0dde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ All notable changes to this project will be documented in this file. - Update to [Wazuh v4.10.3](https://github.com/wazuh/wazuh/blob/v4.10.3/CHANGELOG.md#v4103) +### Changed + +- Use fixed version of Ubuntu-22.04 in GHA runners instead of latest version ([#1479](https://github.com/wazuh/wazuh-ansible/pull/1479)) \- (PR Checks Workflows) + ## [v4.10.2] ### Added