jpic
4f5326c81b
Commiting build-itself job until i re-implement docker commiting
2021-04-24 13:12:18 +02:00
jpic
224608878e
Clean on KeyboardInterrupt, proper call in shlax Command
2021-04-24 13:12:18 +02:00
jpic
eafa371617
Package action working both on SSH host and Buildah guest now
2021-04-24 13:12:18 +02:00
jpic
b6fa18d82a
Added ssh target
2021-04-24 13:12:18 +02:00
jpic
754227d2d1
Silence pip output
2021-04-24 13:12:18 +02:00
jpic
62299da7c1
A bit of work on the command line
2021-04-24 13:12:18 +02:00
jpic
0929b37b36
Tag/build/push refactor
2021-04-24 13:12:18 +02:00
jpic
8dd4fa52ac
Typo in ci
2021-04-24 13:12:18 +02:00
jpic
0ac1764464
Try more build
2021-04-24 13:12:18 +02:00
jpic
70e354dd02
Fix CI command to build
2021-04-24 13:12:18 +02:00
jpic
0a983340b8
Buildah __str__
2021-04-24 13:12:18 +02:00
jpic
c6bc849574
Missing await in test function
2021-04-24 13:12:18 +02:00
jpic
2e1bbf098a
Pass status directly to clean
2021-04-24 13:12:18 +02:00
jpic
c6d7eedde2
Improve Buildah clean method
2021-04-24 13:12:18 +02:00
jpic
93b95a1f50
Set the action result prior to calling clean
2021-04-24 13:12:18 +02:00
jpic
a07d9c5e67
Pip action implementation
2021-04-24 13:12:18 +02:00
jpic
c570f0fd6d
Bugfix: legacy code would prevent containers from shuting down after build
2021-04-24 13:12:18 +02:00
jpic
5caf9d92e3
Proper cache invalidation
2021-04-24 13:12:18 +02:00
jpic
c58d1618ed
Proper traceback prints
2021-04-24 13:12:18 +02:00
jpic
4af938fab0
Copy action: refactor, caching, filtering
2021-04-24 13:12:18 +02:00
jpic
7a61b405ae
Work on the CLI story
2021-04-24 13:12:18 +02:00
jpic
600043ae64
Adding Copy/User/Pip actions again
2021-04-24 13:12:18 +02:00
jpic
b2169ff7eb
Add CLI to execute Actions on the fly
2021-04-24 13:12:18 +02:00
jpic
f374d77c21
Proper render method actions
2021-04-24 13:12:18 +02:00
jpic
b6bb06054d
fixup! Add layer caching
2021-04-24 13:12:18 +02:00
jpic
1b1a121a24
Replace Localhost with plain Target, ensure parent presence
2021-04-24 13:12:18 +02:00
jpic
1d5e8ab1c8
Add layer caching
2021-04-24 13:12:18 +02:00
jpic
e62d44514a
Add Proc.quiet
2021-04-24 13:12:18 +02:00
jpic
b044dd015e
Add Package.upgrade option
2021-04-24 13:12:18 +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