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 4194F6B94F; Tue, 13 Apr 2021 15:46:03 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 4194F6B94F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1618317963; bh=IIg83weG3gJ/bp8ilE8NUpjcZrc+4AzbIFU4zty40Us=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=YT9pYt0Du3FJ9IYPIg/IFnvxIgZWhJccJw2sdEQEUch5JfwjYhPhLoHo8orzWN02o cF8P+/9xsupHabUBzLpxWME4gDJaFyUPpzbiXQMYN5ApbYBi5se02kFnJjv7b6CaXc dBx3h2sK+5lseNeYaScb8kD8mxjG9okANNWQl5TE= Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (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 412E26BD29 for ; Tue, 13 Apr 2021 15:46:02 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 412E26BD29 Received: by smtpng2.m.smailru.net with esmtpa (envelope-from ) id 1lWIQb-0003Wr-PW; Tue, 13 Apr 2021 15:46:02 +0300 To: tarantool-patches@dev.tarantool.org Date: Tue, 13 Apr 2021 15:45:57 +0300 Message-Id: <20210413124559.47410-1-roman.habibov@tarantool.org> X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD92FFCB8E6708E7480D608FE24BC85426BB1B55F651FED8C70182A05F53808504056BFB7B1B168939C936E9F61911AACBE0F9210BA35D074FAC272A478A11D1753 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7544B1CCE26E01C74EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006376AFB9B40001E44068638F802B75D45FF914D58D5BE9E6BC1A93B80C6DEB9DEE97C6FB206A91F05B2022936D4FDA373D22DE22AC32BB6EFA2262F3407DF4BB9EED2E47CDBA5A96583C09775C1D3CA48CF4964A708C60C975A117882F4460429724CE54428C33FAD30A8DF7F3B2552694AC26CFBAC0749D213D2E47CDBA5A9658378DA827A17800CE767883B903EA3BAEA9FA2833FD35BB23DF004C906525384302BEBFE083D3B9BA73A03B725D353964B0B7D0EA88DDEDAC722CA9DD8327EE493B89ED3C7A6281781156CCFE7AF13BCA4B5C8C57E37DE458BEDA766A37F9254B7 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CB69F9342289A40B38F0CF5E676EBDD09FCCC0D32873DDA749C2B6934AE262D3EE7EAB7254005DCED556CBE7F905700A49510FB958DCE06DB6ED91DBE5ABE359ADBCB5631A0A9D21F1B2EFE7B39F7738393EDB24507CE13387DFF0A840B692CF8 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34A08F09726D78E07BDF8B6783409DEC7614B9FBBA4D3EA148CC71C57693D38E7A51EF757DFA58945F1D7E09C32AA3244C74943262884A4815B373BFE681D24FD0E646F07CC2D4F3D8729B2BEF169E0186 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojnA7/qPBUIXH49V4jqVVTeg== X-Mailru-Sender: 689FA8AB762F73936BC43F508A06382244A13486A93AD5C51219701EDCA9372D0F96A0E8EF440D4CA021B31A5B48C7CFFB559BB5D741EB9609AE011F3211FEEF240331F90058701C67EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH v2 0/2] Set cfg via 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: Roman Khabibov via Tarantool-patches Reply-To: Roman Khabibov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Issue: https://github.com/tarantool/tarantool/issues/5602 Branch: https://github.com/tarantool/tarantool/tree/romanhabibov/gh-5602-environment-variables Roman Khabibov (2): lua/log: remove 'module' option type box: set cfg via environment variables changelogs/unreleased/environment-cfg.md | 5 + src/box/lua/load_cfg.lua | 124 +++++++++++++++++- test/app-tap/tarantoolctl.test.lua | 33 ++++- .../gh-5602-environment-vars-cfg.result | 41 ++++++ .../gh-5602-environment-vars-cfg.test.lua | 57 ++++++++ test/box-tap/gh-5602-test-cases-script.lua | 69 ++++++++++ 6 files changed, 323 insertions(+), 6 deletions(-) create mode 100755 changelogs/unreleased/environment-cfg.md 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 create mode 100755 test/box-tap/gh-5602-test-cases-script.lua -- 2.24.3 (Apple Git-128)