From e61ba22c191fd9cf7bc4301b9a56ab228ab84c95 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 27 Jan 2024 22:09:21 +0200 Subject: Implement basic build --- examples/apply-config-eval | 7 +++++++ examples/build-manifest | 9 +++++++++ examples/desmorc | 4 ++-- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 examples/apply-config-eval create mode 100644 examples/build-manifest (limited to 'examples') diff --git a/examples/apply-config-eval b/examples/apply-config-eval new file mode 100644 index 0000000..80678cb --- /dev/null +++ b/examples/apply-config-eval @@ -0,0 +1,7 @@ +(let ((replicas 9)) + + `#(((name . "foobar") + (base . "14.0-RELEASE-base") + (packages . #()) + (commands . #()) + (replicas . ,(+ 1 replicas))))) diff --git a/examples/build-manifest b/examples/build-manifest new file mode 100644 index 0000000..d0c0e56 --- /dev/null +++ b/examples/build-manifest @@ -0,0 +1,9 @@ +((packages + . #("nginx")) + (files + . #("nginx.conf")) + (build-commands + . #("sysrc nginx_enable=YES")) + (start-command + . "nginx -c nginx.conf")) + diff --git a/examples/desmorc b/examples/desmorc index 53ff809..9841c81 100644 --- a/examples/desmorc +++ b/examples/desmorc @@ -1,2 +1,2 @@ -((mgmt-api-url "http://localhost:9939") - (mgmt-api-key "foobar")) +((mgmt-api-url . "http://localhost:9939") + (mgmt-api-key . "foobar")) -- cgit v1.3