Skip to content
Snippets Groups Projects
Commit 3ee68d8b authored by Sergey Vorontsov's avatar Sergey Vorontsov Committed by Yaroslav Lobankov
Browse files

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
parent 09ad57f4
No related branches found
No related tags found
No related merge requests found
...@@ -13,11 +13,9 @@ jobs: ...@@ -13,11 +13,9 @@ jobs:
source: source:
if: github.repository == 'tarantool/tarantool' if: github.repository == 'tarantool/tarantool'
runs-on: ubuntu-20.04-self-hosted runs-on: ubuntu-22.04
steps: steps:
- name: Prepare checkout
uses: tarantool/actions/prepare-checkout@master
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
...@@ -28,10 +26,7 @@ jobs: ...@@ -28,10 +26,7 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_S3_ENDPOINT_URL: ${{ secrets.AWS_S3_ENDPOINT_URL }} AWS_S3_ENDPOINT_URL: ${{ secrets.AWS_S3_ENDPOINT_URL }}
run: | run: ${CI_MAKE} source-deploy
sudo apt-get -y update
sudo apt-get install -y awscli
${CI_MAKE} source-deploy
- name: Send VK Teams message on failure - name: Send VK Teams message on failure
if: failure() if: failure()
uses: ./.github/actions/report-job-status uses: ./.github/actions/report-job-status
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment