jpic
1221ac5016
Do not specify an image format for layers
2021-04-24 13:12:19 +02:00
jpic
84b1230146
Build for docker
2021-04-24 13:12:19 +02:00
jpic
78252a439c
Use buildah copy to support workingdir
2021-04-24 13:12:19 +02:00
jpic
ae2aa62d0e
Glob support in Copy
2021-04-24 13:12:19 +02:00
jpic
a80e3fb48c
Add docker daemon support
2021-04-24 13:12:19 +02:00
jpic
77439b6dc3
Do not skip build/commit even if up to date
2021-04-24 13:12:19 +02:00
jpic
cada94ecc5
Fixing push
2021-04-24 13:12:19 +02:00
jpic
0edd573f4a
Fix up cmd
2021-04-24 13:12:19 +02:00
jpic
f5765c08a9
Target level cleaning had been forgotten
...
... when action level cleaning was added
Test both while we're at it, as this is pretty critical for actions to
clean up properly
2021-04-24 13:12:19 +02:00
jpic
c46b42b23a
Commenting docker job for now
2021-04-24 13:12:19 +02:00
jpic
4fcabf1aed
test
2021-04-24 13:12:19 +02:00
jpic
b37e4c1aed
Fix shlax.cli (finally)
2021-04-24 13:12:19 +02:00
jpic
4ea9783c93
Cache invalidation failures must not stop build
...
Images may still be in use by running containers
2021-04-24 13:12:19 +02:00
jpic
54e3266789
Prevent print traceback for failed commands
2021-04-24 13:12:19 +02:00
jpic
5c76ef3f2d
Forward CLI arguments
2021-04-24 13:12:19 +02:00
jpic
c5af902382
Fix Pod.build to unshare prior to building async
2021-04-24 13:12:19 +02:00
jpic
ecabf6c9ce
Add target argument only if present in sig
2021-04-24 13:12:19 +02:00
jpic
324a8f4962
Readability
2021-04-24 13:12:19 +02:00
jpic
61fb39ebea
Add container inspect
2021-04-24 13:12:19 +02:00
jpic
5a20ccf2f7
Layers refactor
2021-04-24 13:12:19 +02:00
jpic
d5544a6e85
Support configured containers in start
2021-04-24 13:12:19 +02:00
jpic
ce931a2cc6
Fix TargetArgument implementation to stay optional
2021-04-24 13:12:18 +02:00
jpic
12edb5168f
Add exec command
2021-04-24 13:12:18 +02:00
jpic
d2c0694005
Skip report display for only one result
2021-04-24 13:12:18 +02:00
jpic
15c71a3bf7
Getting on par with docker-compose
2021-04-24 13:12:18 +02:00
jpic
6e7f957d49
Remove artificial centering from output labels
2021-04-24 13:12:18 +02:00
jpic
30798fc66c
Name parallel executor
2021-04-24 13:12:18 +02:00
jpic
7408cf95c0
Add Buildah.Env and Buildah.Config
2021-04-24 13:12:18 +02:00
jpic
7f150ae17a
New write with bash heredoc
2021-04-24 13:12:18 +02:00
jpic
073c3713c1
Let an action mark itself as skipped
2021-04-24 13:12:18 +02:00
jpic
1ce27e1cd1
Container: support not having a build job and new methods
2021-04-24 13:12:18 +02:00
jpic
9235ffcd27
Fix user action
2021-04-24 13:12:18 +02:00
jpic
07a6c5b628
Run(root)
2021-04-24 13:12:18 +02:00
jpic
47740f01f9
Test build-itself
2021-04-24 13:12:18 +02:00
jpic
9330125208
Update TargetArgument docs
2021-04-24 13:12:18 +02:00
jpic
afc1823e54
Mention command line
2021-04-24 13:12:18 +02:00
jpic
f07787d865
Fix title order
2021-04-24 13:12:18 +02:00
jpic
84b10ce143
Lolnote
2021-04-24 13:12:18 +02:00
jpic
ae61e1b8cf
Going to maintain a little news at the top of the README
2021-04-24 13:12:18 +02:00
jpic
6a0b60d68a
Do not try to commit a container that has not been created because layers are uptodate
2021-04-24 13:12:18 +02:00
jpic
63e610ca4f
Fixing container config support
2021-04-24 13:12:18 +02:00
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