blob: 94a87b64d8d789e3cb72200c4f1e729e63430d22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
Prepare the test data with the following instructions.
Create the git repository:
$ mkdir hello.git
$ git -C hello.git/ init --bare
Create the project:
$ bdep new -t empty hello
$ BDEP_AUTHOR_EMAIL=user@example.org bdep new --package -t lib libhello -d hello
$ BDEP_AUTHOR_EMAIL=user@example.org bdep new --package -t exe hello -d hello
Edit hello/libhello/manifest and hello/hello/manifest files setting version to
0.1.0.
$ git -C hello remote add origin "$(pwd)/hello.git"
$ git -C hello add '*'
$ git -C hello commit -m "Create"
$ git -C hello push --set-upstream origin master
$ tar cf hello.tar.gz hello.git/
Move the archive into tests/ci/ directory.
Locally run brep server configured to use ci-dir handler.
$ curl \
--form-string repository=https://git.build2.org/hello/hello.git#master \
http://localhost/pkg?ci
Replace the CI request data directory in tests/ci/ with the one produced by
the above command removing all entries it contains except request.manifest
file.
|