Daniel J Walsh
5b73fbdeeb
Merge pull request #54 from vbatts/new_container_repo
...
README: point to non-vbatts container repo
2019-10-18 09:44:13 -04:00
Daniel J Walsh
2d5e0f03f3
Merge pull request #53 from vbatts/rpm
...
rpm: crafting an rpmspec for this tool
2019-10-18 09:42:57 -04:00
3f6301a8a4
README: point to non-vbatts container repo
...
Fixes #17
2019-10-17 20:48:36 +00:00
f7d8f1315c
rpm: crafting an rpmspec for this tool
...
Now you can `make srpm` or `make rpm`.
Additionally, trying to make a way for copr to build this as well. We'll
see if that is something.
2019-10-17 15:37:29 -04:00
Valentin Rothberg
27c11edb8b
Merge pull request #45 from vbatts/fix_44
...
BuildSourceImage: naive relative symlink path
2019-10-16 09:59:39 +02:00
Valentin Rothberg
05804b31c9
Merge pull request #46 from vbatts/subcommand_unpack
...
BuildSourceImage: expose "unpack" as subcommand
2019-10-16 09:58:50 +02:00
Valentin Rothberg
52794961d2
Merge pull request #51 from vbatts/dev-doc
...
*: add a doc for development
2019-10-16 09:56:05 +02:00
a958ccbc92
test: fixing the symlink path, changes the checksum of the tar layer
2019-10-15 20:32:35 +00:00
cd0bcd3c6b
BuildSourceImage: naive relative symlink path
...
Fixes #44
This does not account for the `${artifact_path}` potentially being
nested.
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-10-15 19:32:50 +00:00
599c0eb13f
Merge pull request #50 from vbatts/catch_error
...
BuildSourceImage: catch return code and exit
2019-10-15 15:30:21 -04:00
fd4c31be2f
*: add a doc for development
2019-10-15 15:26:18 +00:00
8e438c7a6d
BuildSourceImage: expose "unpack" as subcommand
...
This may be a pattern we can do for some of the more useful functions.
But for now, folks can build, push, etc. and once they skopeo copy an
image to their host, they can
```bash
./BuildSourceImage unpack <src> <dest>
```
and it will be nicely exposed in the container build too
Also included, exporting the defaults into the bats test for easier
direct running. Perhaps we can move the srpm caching into bats too, so
the Makefile target isn't strictly required.
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-10-15 15:26:02 +00:00
cb1dd4ca21
BuildSourceImage: catch return code and exit
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-10-15 15:25:20 +00:00
Valentin Rothberg
e565987415
Merge pull request #52 from vrothberg/bats
...
travis: use bionic and the default bats
2019-10-15 17:23:51 +02:00
Valentin Rothberg
d7fcf047ac
travis: use bionic and the default bats
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-10-15 15:59:59 +02:00
Valentin Rothberg
9d14ec7aea
Merge pull request #43 from vbatts/fix_41
...
Makefile: no need to shell to realpath
2019-10-15 15:54:53 +02:00
Daniel J Walsh
53a04f926f
Merge pull request #38 from vbatts/container_build
...
README: add the quay build status
2019-09-30 17:48:34 -04:00
Daniel J Walsh
518cb2a191
Merge pull request #39 from vbatts/more_umoci
...
More umoci
2019-09-30 17:47:55 -04:00
Daniel J Walsh
f3e23d60dd
Merge pull request #40 from vbatts/no_output
...
Dockerfile: no default output directory
2019-09-28 08:25:04 +02:00
1a85b05a32
Makefile: no need to shell to realpath
...
Fixes #41
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-09-26 15:09:40 -04:00
a358531460
Dockerfile: no default output directory
...
Just let the user provide this if wanted
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-09-26 14:58:39 -04:00
c03dcdeb76
BuildSourceImage: insert layer with umoci, if present
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-09-26 12:53:20 -04:00
19b9ecc797
BuildSourceImage: use umoci for OCI layout, if present
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-09-26 12:20:46 -04:00
778c9b47a5
README: add the quay build status
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-09-21 08:02:38 -04:00
9726e11de5
BuildSourceImage: bump the version
...
Fixes #36
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-09-21 01:35:53 -04:00
f6d650996c
Merge pull request #34 from vrothberg/farts
...
Add BATS_OPTS and fix test flakes
2019-09-19 15:43:38 +02:00
Valentin Rothberg
b432209ed4
test: use --mount instead of --volume
...
Looks like we hit a Podman bug.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-09-19 14:35:55 +02:00
Valentin Rothberg
03cdb6f9a5
Makefile: export env vars and add BATS_OPTS
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-09-19 14:35:46 +02:00
Valentin Rothberg
5f249c84e8
Merge pull request #35 from vbatts/cruft
...
test: partial save missed with #33
2019-09-19 14:18:47 +02:00
402905ccb6
test: partial save missed with #33
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-09-19 08:03:52 -04:00
8c41011e5e
Merge pull request #32 from vrothberg/push
...
add push test
2019-09-19 13:42:26 +02:00
Valentin Rothberg
2c04cc6159
add push test
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-09-19 13:29:11 +02:00
Valentin Rothberg
0acf4c5e59
Merge pull request #33 from vbatts/test_image_ref
...
test: build source image from a remote image reference
2019-09-19 13:27:38 +02:00
4eccc55233
test: build source image from a remote image reference
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-09-19 06:48:07 -04:00
83159669c4
Merge pull request #31 from vrothberg/helpers
...
test: add helpers.bash to reduce boilerplate
2019-09-19 12:10:09 +02:00
Valentin Rothberg
66ac3195c8
test: add helpers.bash to reduce boilerplate
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-09-19 11:58:44 +02:00
Daniel J Walsh
b77abbafa3
Merge pull request #30 from vbatts/non-root-container
...
Enable non-root container
2019-09-19 05:37:20 -04:00
a863652505
*: default the container to /tmp basedir for non-root
...
and adding an example to the README showing to run as non-root inside
the container as well.
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-09-19 05:26:34 -04:00
a8df221421
BuildSourceImage: fail early if mkdir fails
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-09-19 05:26:27 -04:00
Daniel J Walsh
525ae39ec3
Merge pull request #29 from vbatts/test
...
testing: test building a source image from src.rpms
2019-09-18 15:12:34 -04:00
7ebf051043
testing: test building a source image from src.rpms
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-09-18 12:25:48 -04:00
e6d201b553
Merge pull request #28 from vbatts/output_dir
...
*: clarify output directory written
2019-09-18 18:18:34 +02:00
Daniel J Walsh
1263c398f8
Merge pull request #27 from vbatts/makefile
...
Makefile: have cleanup and dependencies
2019-09-18 09:20:42 -04:00
cdd9e3aaef
*: clarify output directory written
...
Also, SRC_DIR is no longer used.
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-09-18 09:18:37 -04:00
be0266b073
Makefile: have cleanup and dependencies
...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-09-18 09:17:44 -04:00
Valentin Rothberg
1a69fc0059
Merge pull request #26 from rhatdan/license
...
Re-license as GPLV2
2019-09-13 11:47:52 +02:00
Daniel J Walsh
22bb008514
Merge pull request #25 from vrothberg/fix-help
...
exit 0 on -h
2019-09-11 16:27:16 -04:00
Daniel J Walsh
522d9eecfb
Re-license as GPLV2
...
The code was originally licensed as GPL V3 and we thought that was
too restrictive, so we are lowering it to GPL V2
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-09-11 14:20:08 -04:00
Valentin Rothberg
b26fada584
exit 0 on -h
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-09-11 16:25:47 +02:00
Valentin Rothberg
ba7191aed9
Merge pull request #24 from vrothberg/add-integration-tests
...
add simple integration tests
2019-09-11 16:21:32 +02:00