* [Tarantool-patches] [PATCH luajit] ci: conditionally install lua-cjson for perf job
@ 2026-04-23 17:08 Sergey Kaplun via Tarantool-patches
2026-04-24 15:14 ` Evgeniy Temirgaleev via Tarantool-patches
0 siblings, 1 reply; 2+ messages in thread
From: Sergey Kaplun via Tarantool-patches @ 2026-04-23 17:08 UTC (permalink / raw)
To: Sergey Bronnikov, Evgeniy Temirgaleev; +Cc: tarantool-patches
We have encountered the flakiness of the network on our CI runners. It
happens only on lua-cjson installation and only in some particular job
run.
This patch helps to deal with it by installing this package only if it
is not installed in the system. Also, it installs it only for Lua 5.1,
which is compatible with LuaJIT.
---
Branch: https://github.com/tarantool/luajit/tree/skaplun/ci-perf-install-conditionally-lua-cjson
.github/actions/setup-performance/action.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/actions/setup-performance/action.yml b/.github/actions/setup-performance/action.yml
index 4e0e1929..3c2a8230 100644
--- a/.github/actions/setup-performance/action.yml
+++ b/.github/actions/setup-performance/action.yml
@@ -11,7 +11,9 @@ runs:
apt install -y curl luarocks util-linux
shell: bash
- name: Install Lua modules
- run: luarocks install lua-cjson
+ run: >
+ luarocks --lua-version=5.1 show lua-cjson ||
+ luarocks --lua-version=5.1 install lua-cjson
shell: bash
- name: Run script to setup Linux environment
run: sh ./perf/helpers/setup_env.sh
--
2.53.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Tarantool-patches] [PATCH luajit] ci: conditionally install lua-cjson for perf job
2026-04-23 17:08 [Tarantool-patches] [PATCH luajit] ci: conditionally install lua-cjson for perf job Sergey Kaplun via Tarantool-patches
@ 2026-04-24 15:14 ` Evgeniy Temirgaleev via Tarantool-patches
0 siblings, 0 replies; 2+ messages in thread
From: Evgeniy Temirgaleev via Tarantool-patches @ 2026-04-24 15:14 UTC (permalink / raw)
To: Sergey Kaplun; +Cc: tarantool-patches
[-- Attachment #1: Type: text/plain, Size: 1603 bytes --]
LGTM
--
Evgeniy Temirgaleev
Отправлено из Почты Mail ( https://trk.mail.ru/c/zzm979 )
>
> От кого: Sergey Kaplun <skaplun@tarantool.org>
> Кому: Sergey Bronnikov <sergeyb@tarantool.org>, Evgeniy Temirgaleev
> <e.temirgaleev@tarantool.org>
> Копия: tarantool-patches@dev.tarantool.org, Sergey Kaplun
> <skaplun@tarantool.org>
> Дата: Четверг, 23 апреля 2026, 20:09 +03:00
> We have encountered the flakiness of the network on our CI runners. It
> happens only on lua-cjson installation and only in some particular job
> run.
>
> This patch helps to deal with it by installing this package only if it
> is not installed in the system. Also, it installs it only for Lua 5.1,
> which is compatible with LuaJIT.
> ---
>
> Branch: https://github.com/tarantool/luajit/tree/skaplun/ci-perf-install-conditionally-lua-cjson
>
>
> .github/actions/setup-performance/action.yml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/.github/actions/setup-performance/action.yml
> b/.github/actions/setup-performance/action.yml
> index 4e0e1929..3c2a8230 100644
> --- a/.github/actions/setup-performance/action.yml
> +++ b/.github/actions/setup-performance/action.yml
> @@ -11,7 +11,9 @@ runs:
> apt install -y curl luarocks util-linux
> shell: bash
> - name: Install Lua modules
> - run: luarocks install lua-cjson
> + run: >
> + luarocks --lua-version=5.1 show lua-cjson ||
> + luarocks --lua-version=5.1 install lua-cjson
> shell: bash
> - name: Run script to setup Linux environment
> run: sh ./perf/helpers/setup_env.sh
> --
> 2.53.0
>
[-- Attachment #2: Type: text/html, Size: 2458 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-24 15:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-23 17:08 [Tarantool-patches] [PATCH luajit] ci: conditionally install lua-cjson for perf job Sergey Kaplun via Tarantool-patches
2026-04-24 15:14 ` Evgeniy Temirgaleev via Tarantool-patches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox