diff --git a/doc/POST_INSTALL.md b/doc/POST_INSTALL.md new file mode 100644 index 0000000..074585b --- /dev/null +++ b/doc/POST_INSTALL.md @@ -0,0 +1,6 @@ +If you want to enable Matrix notification, you should look at +the instructions inside `__FINAL_PATH__lib/chat_notify.sh` to deploy matrix-commander. + +You may also want to tweak the `__FINAL_PATH__/config.py` file to run test with a different branch or architecture. + +When you're ready to start the CI, restart its service via the webadmin or run `systemctl restart __APP__`. diff --git a/doc/PRE_INSTALL.md b/doc/PRE_INSTALL.md new file mode 100644 index 0000000..65be331 --- /dev/null +++ b/doc/PRE_INSTALL.md @@ -0,0 +1,2 @@ +YunoRunner will install LXD, for containers management. +Make sure your system has virtualization capability, and enough resources. diff --git a/manifest.json b/manifest.json index 7f1e2f7..37af0ce 100644 --- a/manifest.json +++ b/manifest.json @@ -53,7 +53,7 @@ "choices": ["auto", "manual"], "default": "manual", "ask": { - "en": "Should the jobs be automatically run from the apps list?" + "en": "Should the jobs be automatically run from the apps list? In manual mode, Yunorunner will expect to be triggered by the `ciclic` command or webhooks (like ci-apps-dev). In auto mode, all apps of the catalog will be scheduled to be tested at least once a month and upon any change in their designated main branch (like ci-apps)." } }, { @@ -62,7 +62,7 @@ "choices": ["cluster", "no"], "default": "no", "ask": { - "en": "Should an LXD cluster be created with this server as first node?" + "en": "Should an LXD cluster be created with this server as first node? (cluster mode is experimental)" } } ] diff --git a/scripts/_common.sh b/scripts/_common.sh index 201a0fe..0ea18f3 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -121,22 +121,6 @@ function add_cron_jobs() { EOF } -# ========================= -# Main stuff -# ========================= - -# Add permission to the user for the entire yunorunner home because it'll be the one running the tests (as a non-root user) -chown -R $ci_user $YUNORUNNER_HOME - -echo "Done!" -echo " " -echo "N.B. : If you want to enable Matrix notification, you should look at " -echo "the instructions inside lib/chat_notify.sh to deploy matrix-commander" -echo "" -echo "You may also want to tweak the 'config' file to run test with a different branch / arch" -echo "" -echo "When you're ready to start the CI, run: systemctl restart $ci_user" - #================================================= # EXPERIMENTAL HELPERS #=================================================