diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 07f265ee74c20e05ce11ffb5b001a10849b516e8..a1a47b87760a3deef6546603f3491a0b6993e6b2 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -27,6 +27,16 @@ jobs: runs-on: ubuntu-20.04-self-hosted + container: + image: docker.io/tarantool/testing:ubuntu-focal + # Mount /dev to the container to be able to mount a disk image inside it + # for successful run of the .github/actions/environment action. + volumes: + - /dev:/dev + # Add extra privileges to the container for successful run + # of the .github/actions/environment action. + options: '--privileged' + steps: - name: Prepare checkout uses: tarantool/actions/prepare-checkout@master diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index d5faf72af475a71390db3c221cfe6d082db7e82b..78f214d24b48708da9e055722219b7549b13a7b1 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -40,6 +40,19 @@ jobs: runs-on: ubuntu-20.04-self-hosted + container: + image: docker.io/tarantool/testing:ubuntu-focal + # Mount /dev to the container to be able to mount a disk image inside it + # for successful run of the .github/actions/environment action. + volumes: + - /dev:/dev + # Our testing expects that the init process (PID 1) will + # reap orphan processes. At least the following test leans + # on it: app-tap/gh-4983-tnt-e-assert-false-hangs.test.lua. + # Add extra privileges to the container for successful run + # of the .github/actions/environment action. + options: '--init --privileged' + steps: - name: Prepare checkout uses: tarantool/actions/prepare-checkout@master diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index 780f76e3cb04ea3155d373d71a39f980b5af8a7a..a72763d7919eea8d4943d31bf9570277a5d22e42 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -40,6 +40,19 @@ jobs: runs-on: ubuntu-20.04-self-hosted + container: + image: docker.io/tarantool/testing:ubuntu-focal + # Mount /dev to the container to be able to mount a disk image inside it + # for successful run of the .github/actions/environment action. + volumes: + - /dev:/dev + # Our testing expects that the init process (PID 1) will + # reap orphan processes. At least the following test leans + # on it: app-tap/gh-4983-tnt-e-assert-false-hangs.test.lua. + # Add extra privileges to the container for successful run + # of the .github/actions/environment action. + options: '--init --privileged' + steps: - name: Prepare checkout uses: tarantool/actions/prepare-checkout@master diff --git a/.github/workflows/debug_aarch64.yml b/.github/workflows/debug_aarch64.yml index 16a2f87e1737a7d845ee1328c10347fa660ae735..f8d1c9d341827441634fe8a3f1034d77d135d4d2 100644 --- a/.github/workflows/debug_aarch64.yml +++ b/.github/workflows/debug_aarch64.yml @@ -40,6 +40,19 @@ jobs: runs-on: graviton + container: + image: docker.io/tarantool/testing:ubuntu-focal + # Mount /dev to the container to be able to mount a disk image inside it + # for successful run of the .github/actions/environment action. + volumes: + - /dev:/dev + # Our testing expects that the init process (PID 1) will + # reap orphan processes. At least the following test leans + # on it: app-tap/gh-4983-tnt-e-assert-false-hangs.test.lua. + # Add extra privileges to the container for successful run + # of the .github/actions/environment action. + options: '--init --privileged' + steps: - name: Prepare checkout uses: tarantool/actions/prepare-checkout@master diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 731689fdab887e0aebee43936e58d3495670a663..9bbf9a58c2184aacd81231e76c7543d205ff0880 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -40,6 +40,9 @@ 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 @@ -67,6 +70,9 @@ 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 @@ -94,6 +100,9 @@ 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 diff --git a/.github/workflows/memtx_allocator_based_on_malloc.yml b/.github/workflows/memtx_allocator_based_on_malloc.yml index 81f456c32518129b793ab0c06c5e550326718002..3697c9e5cc9d858f8e18ecdf22d7435df5a6b2c6 100644 --- a/.github/workflows/memtx_allocator_based_on_malloc.yml +++ b/.github/workflows/memtx_allocator_based_on_malloc.yml @@ -40,6 +40,19 @@ jobs: runs-on: ubuntu-20.04-self-hosted + container: + image: docker.io/tarantool/testing:ubuntu-focal + # Mount /dev to the container to be able to mount a disk image inside it + # for successful run of the .github/actions/environment action. + volumes: + - /dev:/dev + # Our testing expects that the init process (PID 1) will + # reap orphan processes. At least the following test leans + # on it: app-tap/gh-4983-tnt-e-assert-false-hangs.test.lua. + # Add extra privileges to the container for successful run + # of the .github/actions/environment action. + options: '--init --privileged' + steps: - name: Prepare checkout uses: tarantool/actions/prepare-checkout@master diff --git a/.github/workflows/out_of_source.yml b/.github/workflows/out_of_source.yml index 74c7669dbe136fe45233649d323410a2e1061a5f..fab4ace0ba7a884c175894f0e63fa2b11f9c720b 100644 --- a/.github/workflows/out_of_source.yml +++ b/.github/workflows/out_of_source.yml @@ -40,6 +40,19 @@ jobs: runs-on: ubuntu-20.04-self-hosted + container: + image: docker.io/tarantool/testing:ubuntu-focal + # Mount /dev to the container to be able to mount a disk image inside it + # for successful run of the .github/actions/environment action. + volumes: + - /dev:/dev + # Our testing expects that the init process (PID 1) will + # reap orphan processes. At least the following test leans + # on it: app-tap/gh-4983-tnt-e-assert-false-hangs.test.lua. + # Add extra privileges to the container for successful run + # of the .github/actions/environment action. + options: '--init --privileged' + steps: - name: Prepare checkout uses: tarantool/actions/prepare-checkout@master diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 46c41440f8b5390fd2e7ef8fcb271ab3f8ab6e23..e0488aba8dd86a421b012dade9ccbb425e13bd05 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,6 +40,19 @@ jobs: runs-on: ubuntu-20.04-self-hosted + container: + image: docker.io/tarantool/testing:ubuntu-focal + # Mount /dev to the container to be able to mount a disk image inside it + # for successful run of the .github/actions/environment action. + volumes: + - /dev:/dev + # Our testing expects that the init process (PID 1) will + # reap orphan processes. At least the following test leans + # on it: app-tap/gh-4983-tnt-e-assert-false-hangs.test.lua. + # Add extra privileges to the container for successful run + # of the .github/actions/environment action. + options: '--init --privileged' + steps: - name: Prepare checkout uses: tarantool/actions/prepare-checkout@master diff --git a/.github/workflows/release_lto.yml b/.github/workflows/release_lto.yml index 852deb62a68a32d5017f7e030e8c11ef54778777..9b3afa4809d36cba2830e22e6791f1dcfc84eb58 100644 --- a/.github/workflows/release_lto.yml +++ b/.github/workflows/release_lto.yml @@ -40,6 +40,19 @@ jobs: runs-on: ubuntu-20.04-self-hosted + container: + image: docker.io/tarantool/testing:ubuntu-focal + # Mount /dev to the container to be able to mount a disk image inside it + # for successful run of the .github/actions/environment action. + volumes: + - /dev:/dev + # Our testing expects that the init process (PID 1) will + # reap orphan processes. At least the following test leans + # on it: app-tap/gh-4983-tnt-e-assert-false-hangs.test.lua. + # Add extra privileges to the container for successful run + # of the .github/actions/environment action. + options: '--init --privileged' + steps: - name: Prepare checkout uses: tarantool/actions/prepare-checkout@master diff --git a/.github/workflows/source.yml b/.github/workflows/source.yml index ac771e9bd47355f229ef5954cc06a688efb0de23..dfa877782cd9d8b91ccacfda45306033c81505e9 100644 --- a/.github/workflows/source.yml +++ b/.github/workflows/source.yml @@ -15,6 +15,9 @@ jobs: runs-on: ubuntu-22.04 + container: + image: docker.io/tarantool/testing:ubuntu-focal + steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/static_build.yml b/.github/workflows/static_build.yml index 1abc71c6352d8367393e664cb606463737987539..ffe28439327e3272b958778f808ea224ef20f6fa 100644 --- a/.github/workflows/static_build.yml +++ b/.github/workflows/static_build.yml @@ -41,6 +41,19 @@ jobs: runs-on: ubuntu-20.04-self-hosted + container: + image: docker.io/tarantool/testing:ubuntu-focal + # Mount /dev to the container to be able to mount a disk image inside it + # for successful run of the .github/actions/environment action. + volumes: + - /dev:/dev + # Our testing expects that the init process (PID 1) will + # reap orphan processes. At least the following test leans + # on it: app-tap/gh-4983-tnt-e-assert-false-hangs.test.lua. + # Add extra privileges to the container for successful run + # of the .github/actions/environment action. + options: '--init --privileged' + steps: - name: Prepare checkout uses: tarantool/actions/prepare-checkout@master diff --git a/.github/workflows/static_build_cmake_linux.yml b/.github/workflows/static_build_cmake_linux.yml index 16bc449acc1bf533f256bf44243099606cf5f43f..d7c923db4f1a6fbdb97a0d72ce5c719821edd002 100644 --- a/.github/workflows/static_build_cmake_linux.yml +++ b/.github/workflows/static_build_cmake_linux.yml @@ -41,6 +41,19 @@ jobs: runs-on: ubuntu-20.04-self-hosted + container: + image: docker.io/tarantool/testing:ubuntu-focal + # Mount /dev to the container to be able to mount a disk image inside it + # for successful run of the .github/actions/environment action. + volumes: + - /dev:/dev + # Our testing expects that the init process (PID 1) will + # reap orphan processes. At least the following test leans + # on it: app-tap/gh-4983-tnt-e-assert-false-hangs.test.lua. + # Add extra privileges to the container for successful run + # of the .github/actions/environment action. + options: '--init --privileged' + steps: - name: Prepare checkout uses: tarantool/actions/prepare-checkout@master diff --git a/.github/workflows/submodule_update.yml b/.github/workflows/submodule_update.yml index cf5a3974741b6319370002bc993d0bac804bb444..208d1e2b654d0356d3a5abc0c437a344420f08d6 100644 --- a/.github/workflows/submodule_update.yml +++ b/.github/workflows/submodule_update.yml @@ -18,6 +18,9 @@ jobs: runs-on: [ self-hosted, Linux, x86_64, flavor-1-2 ] + container: + image: docker.io/tarantool/testing:ubuntu-focal + outputs: commit-sha: ${{ steps.update-ee.outputs.sha }}