From b5011251e0218c15775503530cb6b69af1f1c8f7 Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 4 Jan 2023 19:00:36 +0100 Subject: [PATCH] Blubber: allow file writes in tests Add the "runs: insecurely" flag in the "development" and "test" variants in the blubber file. This is needed to allow restbase to use sqlite for storage, since without it, the database file cannot be opened in read/write mode. Change-Id: I6dfc2fa0676d02039caba6833bcf295ad8953ffc --- .pipeline/blubber.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pipeline/blubber.yaml b/.pipeline/blubber.yaml index a69cb241a..b59aa415a 100644 --- a/.pipeline/blubber.yaml +++ b/.pipeline/blubber.yaml @@ -16,6 +16,8 @@ variants: includes: [build] apt: { packages: [libsqlite3-0, ca-certificates] } entrypoint: [node, server.js] + runs: + insecurely: true test: includes: [build] apt: { packages: [libsqlite3-0, ca-certificates] } @@ -24,6 +26,7 @@ variants: environment: TEST_TARGET: sqlite TEST_MODE: fefs + insecurely: true prep: includes: [build] node: { env: production }