From 3ee68d8baffc0b92eed990809f73b8a3c3241ad5 Mon Sep 17 00:00:00 2001 From: Sergey Vorontsov <piligrim@rootnix.net> Date: Wed, 22 Nov 2023 13:59:19 +0300 Subject: [PATCH] ci: use GitHub-hosted runner to upload sources In the `.github/workflows/source.yml` workflow for preparing a tarball with the source code, a PackPack Docker container is already used. For uploading the tarball to the repo, the `aws` utility is used, which is installed before. To skip installation of additional packages on the self-hosted runners, we are moving to the GitHub-hosted runners, which already have the `aws` utility installed. Step `Prepare checkout` is removed because the GitHub-hosted runner is an ephemeral environment. NO_DOC=ci NO_TEST=ci NO_CHANGELOG=ci --- .github/workflows/source.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/source.yml b/.github/workflows/source.yml index 69d66e00f5..ac771e9bd4 100644 --- a/.github/workflows/source.yml +++ b/.github/workflows/source.yml @@ -13,11 +13,9 @@ jobs: source: if: github.repository == 'tarantool/tarantool' - runs-on: ubuntu-20.04-self-hosted + runs-on: ubuntu-22.04 steps: - - name: Prepare checkout - uses: tarantool/actions/prepare-checkout@master - uses: actions/checkout@v3 with: fetch-depth: 0 @@ -28,10 +26,7 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_S3_ENDPOINT_URL: ${{ secrets.AWS_S3_ENDPOINT_URL }} - run: | - sudo apt-get -y update - sudo apt-get install -y awscli - ${CI_MAKE} source-deploy + run: ${CI_MAKE} source-deploy - name: Send VK Teams message on failure if: failure() uses: ./.github/actions/report-job-status -- GitLab