summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-02-08 11:48:12 +0200
committerLars Wirzenius <liw@liw.fi>2020-02-08 11:48:12 +0200
commit4ef78b95e80e9c89c3faed756afd72f6b50d4791 (patch)
tree1eb5632a4f4ebdf0155deeefabcb020f4c124f5d
parentd3329245bbdaf39a8228b992ee123475c83c8f92 (diff)
downloadick2-4ef78b95e80e9c89c3faed756afd72f6b50d4791.tar.gz
Add: git build step
-rw-r--r--worker.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/worker.md b/worker.md
index a63c110..a282536 100644
--- a/worker.md
+++ b/worker.md
@@ -201,6 +201,10 @@ debootstrap
workspace. Also install any other packages into the debootstrap'd
tree.
+git
+
+: Clone a git repository into the workspace.
+
shell
: Execute the given shell snippet.
@@ -214,6 +218,7 @@ create-artifact contractor no
unpack-artifact contractor no
create-systree contractor no
debootstrap bwrap on host yes
+git bwrap on host yes
shell bwrap on systree no
It is intended that any actions implemented by the contractor itself,
@@ -365,6 +370,11 @@ Build environment setup
Scenario that checks the security container has /workspace as cwd, and
a specific uid and gid.
+Get sources using git
+-----------------------------------------------------------------------------
+
+Scenario that clone the project's source code using git from a git server.
+
Known problems
=============================================================================