Commit Graph
100 Commits
Author SHA1 Message Date
jpic 28f555bcf3 Try more build 2020-05-31 12:23:48 +02:00
jpic 363bdb1493 Fix CI command to build 2020-05-31 05:15:15 +02:00
jpic 1373196eb5 Buildah __str__ 2020-05-31 03:51:13 +02:00
jpic da7b7191c9 Missing await in test function 2020-05-31 03:44:57 +02:00
jpic 1660acbcbb Pass status directly to clean 2020-05-31 03:44:51 +02:00
jpic 9c3790e438 Improve Buildah clean method 2020-05-31 03:40:00 +02:00
jpic f5c7e0b1a1 Set the action result prior to calling clean 2020-05-31 03:39:42 +02:00
jpic 3039f75179 Pip action implementation 2020-05-31 03:39:26 +02:00
jpic 637d49e1ab Bugfix: legacy code would prevent containers from shuting down after build 2020-05-31 02:45:24 +02:00
jpic ea4be19a86 Proper cache invalidation 2020-05-31 02:44:57 +02:00
jpic befd01cb03 Proper traceback prints 2020-05-31 02:44:13 +02:00
jpic fdd0ff6532 Copy action: refactor, caching, filtering 2020-05-31 02:43:37 +02:00
jpic 074546bdda Work on the CLI story 2020-05-31 00:10:57 +02:00
jpic 6a6e474a1e Adding Copy/User/Pip actions again 2020-05-31 00:00:25 +02:00
jpic 3eb0f22ef9 Add CLI to execute Actions on the fly 2020-05-31 00:00:25 +02:00
jpic d68fdf8d5d Proper render method actions 2020-05-31 00:00:25 +02:00
jpic 2dc00dc2cd fixup! Add layer caching 2020-05-31 00:00:25 +02:00
jpic 02e9ac6683 Replace Localhost with plain Target, ensure parent presence 2020-05-31 00:00:25 +02:00
jpic 700d13876a Add layer caching 2020-05-31 00:00:25 +02:00
jpic a6f2c9fb07 Add Proc.quiet 2020-05-31 00:00:25 +02:00
jpic 407240e2a2 Add Package.upgrade option 2020-05-31 00:00:25 +02:00
852f8551af Core rewrite
See merge request oss/shlax!2
2020-04-22 03:41:16 +02:00
jpic 8ab2fbcccd Pip for python 3.8 2020-04-22 03:25:06 +02:00
jpic 00bc4a74ae Fix can't execute shlax: no such file or dir 2020-04-22 03:25:06 +02:00
jpic 29505d1004 No need for a shlax image to build the shlax image
It will always build on python with shlax[cli] installed because that's
part of the requirement: no extra dependency to use just the framework
besides current Python stable release
2020-04-22 03:25:06 +02:00
jpic 111f086bdd Fix dependencies 2020-04-22 03:25:06 +02:00
jpic 4601ead8f8 Enable gitlab-ci 2020-04-22 03:25:06 +02:00
jpic b279760374 Complete core rewrite, with documentation
Still missing documentation about Output core component

And actual Action/Targets etc ... in the process of migrating to the new
engine
2020-04-22 03:25:06 +02:00
87ac000e87 Merge branch 'jpic' into 'master'
yourlabs/shlax auto build

See merge request oss/shlax!1
2020-02-16 20:09:15 +01:00
jpic ebcde95d5a Simplify gitlabci for now 2020-02-16 20:02:24 +01:00
jpic ee25255028 Prevent double clean 2020-02-16 19:57:44 +01:00
jpic ba87dea428 Container strategies swallows args 2020-02-16 19:41:20 +01:00
jpic 2e3b9d8e5b Avoid double push 2020-02-16 19:37:18 +01:00
jpic f4844b0e73 Fix login 2020-02-16 19:28:38 +01:00
jpic 3ea029efec Fix buildah login 2020-02-16 19:09:27 +01:00
jpic 92b62799f4 Fix pre-commit hook 2020-02-16 18:59:39 +01:00
jpic a374ac58b3 Gitlab update 2020-02-16 18:45:34 +01:00
jpic fe70c69b0c Update shlax in shlax 2020-02-16 18:39:50 +01:00
jpic 3152f83971 Cleanup success code 2020-02-16 18:34:15 +01:00
jpic a5f6c4fe74 Better to define script 2020-02-16 18:23:22 +01:00
jpic 3f4738f432 Gitlab cache 2020-02-16 18:21:04 +01:00
jpic 82f98b41b4 Enforce docker format 2020-02-16 18:18:07 +01:00
jpic 8be4a5c84f Debug output for shlax build 2020-02-16 18:15:05 +01:00
jpic 42595bfd10 Still sorting out test part 2020-02-16 18:12:18 +01:00
jpic b771e9bd1a Added Container strategy 2020-02-16 17:45:04 +01:00
jpic a720e22a50 Made ./shlaxfile.py build test push to do the right thing 2020-02-16 16:20:56 +01:00
jpic 8b145e6378 Add automatic build test 2020-02-16 16:12:12 +01:00
jpic 5b11100e0a Rename is_wrapper with is_runnable, rely on uid check 2020-02-16 15:35:02 +01:00
jpic 933c81b7a8 Break script on error 2020-02-16 15:34:44 +01:00
jpic a0cba02c25 Await asyncio jobs 2020-02-16 15:16:04 +01:00
jpic 440761fea2 Python3.8 on centos dance 2020-02-16 15:15:54 +01:00
jpic e20946a0f6 Optional upgrade, build async 2020-02-16 15:03:27 +01:00
jpic e0c902eb47 Buildah: support push arg 2020-02-16 14:47:03 +01:00
jpic 9736c1bb2b Add python3 yaml package 2020-02-16 14:42:48 +01:00
jpic 2ea37fb01d GitLabCI can now execute the same jobs it generates for gitlab 2020-02-16 14:36:03 +01:00
jpic 6924d39590 Add Docker target, recursive calls 2020-02-16 13:57:26 +01:00
jpic baf295f145 Fix prefix and bugfix CLI args landing in Output constructor 2020-02-15 22:39:14 +01:00
jpic f2bad27eb7 OMG such pretty output, such async copy by default 2020-02-15 21:31:12 +01:00
jpic a3a81eaca5 Clear out buildah wrapper public API and debug levels 2020-02-15 21:23:17 +01:00
jpic 2513c65433 Remove untested regexps 2020-02-15 21:21:36 +01:00
jpic 4fbae78057 Dont bother building buildah on buildah 2020-02-15 21:21:28 +01:00
jpic 5c38dc13b0 Add debug option back 2020-02-15 19:47:24 +01:00
jpic c84353c126 Clean GitLabCIConfig output 2020-02-15 19:41:27 +01:00
jpic 3c4f5f6d7e Remove most of gitlabci job 2020-02-15 19:38:57 +01:00
jpic 93de46b061 Add bold, perfect symbols 2020-02-15 19:09:24 +01:00
jpic 67aca9de44 No need for background in cmd output 2020-02-15 19:01:21 +01:00
jpic bd64a0fa3a Add colors script 2020-02-15 17:16:54 +01:00
jpic 884f96013e Buildah clean 2020-02-15 17:04:00 +01:00
jpic 7806e217ef Fix buildah clean 2020-02-15 17:01:52 +01:00
jpic c96d2494d2 Thread safety, cleaning 2020-02-15 16:59:36 +01:00
jpic 3afc739a1e Fix basic action outputs 2020-02-15 16:09:44 +01:00
jpic 638f0fa690 Fix cli that would play all scripts 2020-02-15 13:51:32 +01:00
jpic 1ceee0dee6 Remove leftover from repo import 2020-02-15 01:34:06 +01:00
jpic df88a1bc0e fixitall 2020-02-15 01:26:50 +01:00
jpic 984f09d704 Refactor output and call
Each action has its own output from now on.
2020-02-15 01:04:52 +01:00
jpic b703ed379e pullingmyleg 2020-02-14 22:15:32 +01:00
jpic 9f69b3474d srsly 2020-02-14 22:15:06 +01:00
jpic 3d1c2502bd Expose gitlabci commit hook 2020-02-14 22:11:47 +01:00
jpic d8ca3b7e2f Add test script 2020-02-14 22:08:48 +01:00
jpic ae03634682 Fix ci 2020-02-14 21:04:19 +01:00
jpic 9d7af0a04d Fix ci 2020-02-14 21:04:03 +01:00
jpic 6c1fc2685c Update ci 2020-02-14 20:53:39 +01:00
jpic c82aefc44a test 2020-02-14 20:43:24 +01:00
jpic 40187a3234 test 2020-02-14 20:43:11 +01:00
jpic f8432035b2 wip 2020-02-14 20:33:43 +01:00
jpic c8c281ebcf Test fix in CI env 2020-02-14 20:29:12 +01:00
jpic 56ce02c234 Import at top 2020-02-14 20:26:12 +01:00
jpic 3aa8503803 Support running inside CI 2020-02-14 20:25:11 +01:00
jpic 535aa797b5 Remove old example 2020-02-14 20:23:04 +01:00
jpic 2e94928aef Extracted shlax from podctl 2020-02-14 20:14:56 +01:00
jpic c78874a7e0 Output flushing 2020-02-13 15:13:23 +01:00
jpic 5f740f3e72 Package mgr detection works fine now 2020-02-13 14:46:23 +01:00
jpic 7926bd6a2e Disable push during test 2020-02-13 13:09:33 +01:00
jpic 88f49aa094 Run test in podctl image 2020-02-13 12:45:34 +01:00
jpic 96ddc4f474 Push repotags 2020-02-13 12:23:35 +01:00
jpic 7f3d6a685d wip 2020-02-13 05:43:15 +01:00
jpic 4366ee63f9 wip 2020-02-13 05:42:04 +01:00
jpic 6e8b2ec2a7 IMprove 2020-02-13 04:53:09 +01:00
jpic 00fa16052d qarm 2020-02-13 04:20:27 +01:00
jpic 0a863fe766 black 2020-02-13 04:18:22 +01:00