From 09ad57f428964eccb4fd638b023c01b98b733554 Mon Sep 17 00:00:00 2001 From: Sergey Vorontsov <piligrim@rootnix.net> Date: Wed, 22 Nov 2023 13:53:22 +0300 Subject: [PATCH] ci: remove using Docker container in source.yml In this commit, we're fixing a problem with Docker in the workflow `.github/workflows/source.yml`. The mentioned workflow uses the `.github/actions/environment` action that needs a permission to make a loopback device for [1]. We didn't allow for that before due to missing container args, and it caused the following error: ``` umount: /tmp/luajit-test-vardir: must be superuser to unmount. 256000+0 records in 256000+0 records out 1048576000 bytes (1.0 GB, 1000 MiB) copied, 1.36702 s, 767 MB/s mount: /tmp/luajit-test-vardir: mount failed: Operation not permitted. Error: Process completed with exit code 1. ``` The problem started since commit af996bbb920372f0 ("ci: dockerize linux workflows"). The simplest way to fix the issue is not to run the workflow inside a Docker container because a tarball with the source code is created via the `./packpack/packpack tarball` command that runs a Docker container as well. [1] https://github.com/tarantool/tarantool/issues/7472 NO_DOC=ci NO_TEST=ci NO_CHANGELOG=ci --- .github/workflows/source.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/source.yml b/.github/workflows/source.yml index 06fee9d672..69d66e00f5 100644 --- a/.github/workflows/source.yml +++ b/.github/workflows/source.yml @@ -15,9 +15,6 @@ jobs: runs-on: ubuntu-20.04-self-hosted - container: - image: docker.io/tarantool/testing:ubuntu-focal - steps: - name: Prepare checkout uses: tarantool/actions/prepare-checkout@master -- GitLab