wip: custom environment variable passing

You should be able to tell your sci deployment which env vars should be
passed to the pipelines with -e ENV1 -e ENV2 and so on
This commit is contained in:
2024-08-25 15:52:43 +02:00
parent e442800779
commit 05701d9d85
11 changed files with 215 additions and 73 deletions
+2
View File
@@ -17,6 +17,7 @@
*/
#ifndef SCI_OPTIONAL_H
#define SCI_OPTIONAL_H
#include "strlist.h"
#include <stdbool.h>
#define optional_type(type) struct { bool has_value; type value; }
@@ -24,5 +25,6 @@ typedef optional_type(int) optional_int;
typedef optional_type(float) optional_float;
typedef optional_type(char*) optional_str;
typedef optional_type(const char*) optional_cstr;
typedef optional_type(strlist_node*) optional_strlist;
#endif