From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 1099A7030D; Thu, 15 Apr 2021 09:03:56 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 1099A7030D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1618466636; bh=YDDhrBwoSM3nkM05GUPiHCaZBWw9TfIvsKFUlnRlhhk=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=IcwlenMI6SehNSRL+sCkXKhx/dfl6B/54gr3TQhyMIipcI657my5rQNZJqlWOcg54 p78pMS5JWj6Nrt4wHS/Lu9ZXDfYLALNfrLE6N0Jnje+KsFTvrapDjuqpEPRMl4gpnG jcXaIbqD/z9zUSQT66+8yeU8V432o0o61YC8W/dM= Received: from smtp49.i.mail.ru (smtp49.i.mail.ru [94.100.177.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 6B3476EC5F for ; Thu, 15 Apr 2021 09:03:54 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 6B3476EC5F Received: by smtp49.i.mail.ru with esmtpa (envelope-from ) id 1lWv6X-0005Jq-7D; Thu, 15 Apr 2021 09:03:53 +0300 To: Leonid Vasiliev Date: Thu, 15 Apr 2021 09:04:10 +0300 Message-Id: X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD92FFCB8E6708E74809299FB6B3996B874F289A033C44AD400182A05F538085040ADD0D489CF6869C044CA7C1423D0F5C5966037B59BCD644A19E030C694B5206D X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE78E8764B5BC580342EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006370218B86C916BF3528638F802B75D45FF914D58D5BE9E6BC1A93B80C6DEB9DEE97C6FB206A91F05B2BF5375882BCA804DA96533CA818BA5DD07164437C8F97EC6D2E47CDBA5A96583C09775C1D3CA48CFE97D2AE7161E217F117882F4460429724CE54428C33FAD30A8DF7F3B2552694AC26CFBAC0749D213D2E47CDBA5A9658378DA827A17800CE767883B903EA3BAEA9FA2833FD35BB23DF004C90652538430302FCEF25BFAB3454AD6D5ED66289B5278DA827A17800CE7EA573B31DA3C486ED32BA5DBAC0009BE395957E7521B51C20BC6067A898B09E4090A508E0FED6299176DF2183F8FC7C0AD034EB5B321323CCD04E86FAF290E2D7E9C4E3C761E06A71DD303D21008E298D5E8D9A59859A8B6B372FE9A2E580EFC725E5C173C3A84C3ADB12FF6AD8D9AFD35872C767BF85DA2F004C90652538430E4A6367B16DE6309 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CB69F9342289A40B32170078AC6ACF0E5B92B5F853C5199E89C2B6934AE262D3EE7EAB7254005DCED556CBE7F905700A49510FB958DCE06DB6ED91DBE5ABE359ADBCB5631A0A9D21F1B2EFE7B39F7738393EDB24507CE13387DFF0A840B692CF8 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34C53D1911AD7E4199AC88DD893225141FA48EEB14691F914CA19A2F5230B29955C36251A9297B58701D7E09C32AA3244C3AA2F8F51B887B67F972CFCF40751313725D5B54B2FE4575927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXi23FRaUALWyA+AIw2MfNsV X-Mailru-Sender: FFAA8E4AEE17E37C3731A083A1A85ADE3E37678A7B62F46DFAB88622CA01C782B7EA9FE7735C3DBFC664A44C781FCEA7C77752E0C033A69EDF9F2CE1E9CF805D8CD356D4F938FF726C18EFA0BB12DBB0 X-Mras: Ok Subject: [Tarantool-patches] [PATCH 0/2] Set box.cfg options using environment variables X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Alexander Turenko via Tarantool-patches Reply-To: Alexander Turenko Cc: tarantool-patches@dev.tarantool.org, Alexander Turenko Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" https://github.com/tarantool/tarantool/issues/5602 lvasilev/env https://github.com/tarantool/tarantool/tree/lvasilev/env No test case for tarantoolctl, sorry. Tested manually. Cyrill Gorcunov (1): cfg: provide types for logger options Roman Khabibov (1): box: set box.cfg options via environment variables changelogs/unreleased/environment-cfg.md | 7 ++ extra/dist/tarantoolctl.in | 19 ++- src/box/lua/load_cfg.lua | 111 ++++++++++++++++++ .../gh-5602-environment-cfg-test-cases.lua | 71 +++++++++++ .../gh-5602-environment-vars-cfg.result | 33 ++++++ .../gh-5602-environment-vars-cfg.test.lua | 57 +++++++++ 6 files changed, 297 insertions(+), 1 deletion(-) create mode 100755 changelogs/unreleased/environment-cfg.md create mode 100755 test/box-tap/gh-5602-environment-cfg-test-cases.lua create mode 100644 test/box-tap/gh-5602-environment-vars-cfg.result create mode 100755 test/box-tap/gh-5602-environment-vars-cfg.test.lua -- 2.30.0