From 509b2dd13f26c6a64aefd7939c4d3969e18f6fa7 Mon Sep 17 00:00:00 2001 From: Mykola Babinskyi <45942058+babinskiy@users.noreply.github.com> Date: Mon, 30 Oct 2023 16:16:13 +0200 Subject: [PATCH] Replace ASSURIODEV_OIDC_AWS_ROLE_ARN secret with aws_assuriodev_role_arn var (#300) * Replace ASSURIODEV_OIDC_AWS_ROLE_ARN secret with aws_assuriodev_role_arn var * Disable fedora38 --- .github/workflows/ci.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d4a8abc..494616ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,10 @@ jobs: amazon2, amazon2023, centos7, centos8, centos9, debian8, debian9, debian10, debian11, debian12, - fedora31, fedora32, fedora34, fedora35, fedora36, fedora37, fedora38, + fedora31, fedora32, fedora34, fedora35, fedora36, fedora37, + # elastio-snap has been kept without support of kernel 6.5 and higher + # so we disable fedora38 because it has kernel 6.5 + # fedora38, ubuntu2004, ubuntu2204 ] arch: [ amd64 ] @@ -58,8 +61,10 @@ jobs: arch: arm64 - distro: fedora37 arch: arm64 - - distro: fedora38 - arch: arm64 + # elastio-snap has been kept without support of kernel 6.5 and higher + # so we disable fedora38 because it has kernel 6.5 + # - distro: fedora38 + # arch: arm64 - distro: ubuntu2204 arch: arm64 @@ -81,7 +86,7 @@ jobs: uses: aws-actions/configure-aws-credentials@v1-node16 with: aws-region: ${{ env.AWS_DEFAULT_REGION }} - role-to-assume: ${{ secrets.ASSURIODEV_OIDC_AWS_ROLE_ARN }} + role-to-assume: ${{ vars.aws_assuriodev_role_arn }} role-duration-seconds: 10800 # 3 hours - name: Start a box @@ -366,7 +371,7 @@ jobs: uses: aws-actions/configure-aws-credentials@v1-node16 with: aws-region: ${{ env.AWS_DEFAULT_REGION }} - role-to-assume: ${{ secrets.ASSURIODEV_OIDC_AWS_ROLE_ARN }} + role-to-assume: ${{ vars.aws_assuriodev_role_arn }} - name: Make manifest run: echo $GITHUB_RUN_NUMBER > latest && cat latest | grep -E '^[0-9]+$'