Commit Graph

66 Commits

Author SHA1 Message Date
Mikhail Gordeev
a85b480941 Add option to not fail on first build error 2020-04-21 22:29:39 +03:00
Mikhail Gordeev
690e24ba44 Add decorators to test.call 2020-04-21 22:23:56 +03:00
Mikhail Gordeev
5ae1d19a2c Skip error writing to unexistent log 2020-04-20 23:19:24 +03:00
Mikhail Gordeev
3757845a27 Add error handling tests 2020-04-20 19:58:09 +03:00
Mikhail Gordeev
839ac9e42a Update working with errors 2020-04-20 19:56:48 +03:00
Mikhail Gordeev
4ba1296d06 Bring back data_dir attribute for tests 2020-04-20 19:11:14 +03:00
Mikhail Gordeev
ae9fc14795 Change CB initialization 2020-04-20 17:59:49 +03:00
Mikhail Gordeev
2b15168983 Refactor integration tests 2020-04-20 17:59:49 +03:00
Mikhail Gordeev
fcec9c3b9b Use Error class to represent CB errors 2020-04-20 17:59:49 +03:00
Mikhail Gordeev
2b5676a89a Add basic integration tests 2020-04-20 17:59:49 +03:00
Mikhail Gordeev
13464ddb32 Close Popen stdout 2020-04-18 20:03:11 +03:00
Mikhail Gordeev
2ddc5c5249 Restore cwd 2020-04-18 20:03:11 +03:00
Mikhail Gordeev
49aa02982b Fix error with not closed lock file 2020-04-18 20:03:11 +03:00
Mikhail Gordeev
58b1bb6730 Add meaningful message if congig not found 2020-04-18 20:03:11 +03:00
Mikhail Gordeev
3f774d4e94 Allow images to skip branches 2020-04-18 20:03:10 +03:00
Mikhail Gordeev
88d0c94884 Use wrapper expand_path, also expand vars 2020-04-18 20:03:10 +03:00
Mikhail Gordeev
c86b78c01a Add option for creating remote dirs 2020-04-18 01:20:51 +03:00
Mikhail Gordeev
4d581a1501 Do not rely on args attributes 2020-04-18 01:20:51 +03:00
Mikhail Gordeev
0f19ea0bd5 Remove useless attribute data_dir 2020-04-18 01:20:51 +03:00
Mikhail Gordeev
11dbf8ad02 Remove newline at the beginning of the apt.conf 2020-04-15 23:54:25 +03:00
Mikhail Gordeev
70efca4e91 Move CB class to separate module 2020-04-15 23:54:25 +03:00
Mikhail Gordeev
fea0fcf876 Fix type error
cloud-build.py:173: error: Item "None" of "Optional[IO[bytes]]" has no
attribute "read"
2020-04-06 23:15:16 +03:00
Mikhail Gordeev
7206de1f74 Temporarly use Any type 2020-04-06 23:12:09 +03:00
Mikhail Gordeev
ce034648c2 Rename external_images to external_files 2019-12-04 18:25:51 +03:00
Mikhail Gordeev
81a068f1db Delete old files 2019-12-04 18:25:51 +03:00
Mikhail Gordeev
2702fb96f4 Fix ensure_dirs to work with paths 2019-11-04 21:37:18 +03:00
Mikhail Gordeev
04c99cc2f4 Fix typo 2019-11-04 21:24:55 +03:00
Mikhail Gordeev
be3ec60141 Move lock file after create dirs 2019-11-04 21:18:33 +03:00
Mikhail Gordeev
50fafaa8df Execute and log copying of external images 2019-11-04 19:35:54 +03:00
Mikhail Gordeev
c218219d13 Add --no-tests command line argument 2019-11-01 16:44:46 +03:00
Mikhail Gordeev
bb2e2fbc62 Rename test images module and function 2019-11-01 15:30:53 +03:00
Mikhail Gordeev
25bd46e665 Fix calling list 2019-11-01 14:22:56 +03:00
Mikhail Gordeev
1cf9fdc5c4 Do not check signed checksum before sync
If somebody disables sign, he wants this
2019-09-09 20:43:35 +03:00
Mikhail Gordeev
9da7bee180 Add copy_external_images 2019-09-07 01:18:04 +03:00
Mikhail Gordeev
dc79d5cf6c Use iterdir instead of glob 2019-09-07 01:10:16 +03:00
Mikhail Gordeev
0a1dd9ecec Refactor building and signing to be manually run 2019-09-07 00:34:55 +03:00
Mikhail Gordeev
d9f3c00355 Use pathlib.Path instead of str to represent paths 2019-09-07 00:32:03 +03:00
Mikhail Gordeev
a3e9994fcc Change docker image name 2019-07-08 17:57:36 +03:00
Mikhail Gordeev
66a93abfed Add notification when running tests 2019-07-08 17:53:30 +03:00
Mikhail Gordeev
1955b951d1 Test images 2019-07-08 02:18:22 +03:00
Mikhail Gordeev
12281d8dee Add options to scrips and option no_scripts to images
- global: this scritps will be used by all images
  except with explicit no_scripts declaration
- number: add this prefix to the script name
2019-06-27 01:37:25 +03:00
Mikhail Gordeev
263ab83e83 Add scripts 2019-06-25 20:59:26 +03:00
Mikhail Gordeev
4ef41b9cc7 Add prerequisites_by_image 2019-06-20 16:34:43 +03:00
Mikhail Gordeev
3e12166d07 Rename due to make terminology
- rename rule to recipe
- rename require to prerequisite
2019-06-20 15:53:34 +03:00
Mikhail Gordeev
461dda626e Fix comment indentation 2019-06-20 15:53:06 +03:00
Mikhail Gordeev
ce1ec44d79 Remove old tarballs 2019-05-30 00:21:31 +03:00
Mikhail Gordeev
7a53873fc3 Ensure run once using fcntl flock 2019-05-23 15:48:06 +03:00
Mikhail Gordeev
656d832e16 Fix line breaks in sources list 2019-04-19 17:01:56 +03:00
Mikhail Gordeev
d7b911b1f5 Rename skip_arches to exclude_arches 2019-04-19 15:59:27 +03:00
Mikhail Gordeev
5d816153a4 Add README.md 2019-04-19 15:49:56 +03:00