Make it possible to containerize the Native CI
The idea is to make it possible to specify a lancher script as adapter for the CI Broker, like this:
db: $HOME/.radicle-ci/ci-broker.sqlite
report_dir: $HOME/.radicle-ci/report
default_adapter: native
adapters:
native:
command: $HOME/.local/bin/launch-native-ci
env:
sensitive_env:
filters:
- !And
- !Repository "rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5"
- !Branch "master"
The Native CI’s config.yaml is created by launch-native-ci.
Environment variables that can be used to configure launch-native-ci:
-
RAD_HOMERadicle Home. default:
$HOME/.radicle -
RADICLE_NCI_HOMERadicle Native CI Home. default:
$HOME/.radicle-native-ci -
RADICLE_NCI_BASE_URLBase URL to map the state directory to. default:
file:///$HOME/.radicle-native-ci/var/radicle-nci/state
Directories and files created by launch-native-ci:
$RADICLE_NCI_HOME
|
+-- etc
| |
| +--- config.yaml
|
+-- var
|
+--- state
|
+--- logs
6 files changed
+165
-23
758dde8f
→
752c9fbb
added .containerignore
@@ -0,0 +1 @@
| + | |
modified README.md
@@ -2,15 +2,10 @@
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -20,26 +15,19 @@ shell: |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
|
|
| - | |
| + | |
|
|
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -57,6 +45,62 @@ The fields are:
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
added containerize/Containerfile
@@ -0,0 +1,29 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
added containerize/build.sh
@@ -0,0 +1,4 @@
| + | |
| + | |
| + | |
| + | |
added containerize/install.sh
@@ -0,0 +1,26 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
added containerize/launch-native-ci
@@ -0,0 +1,38 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |