Mrunal Patel
f59e9dae1c
docs: Add missing bind option in docs and command help
...
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2017-09-15 16:12:13 -07:00
Daniel J Walsh
a001b177d6
We should not be exiting with exit(1)
...
There is cleanup code that will never get run.
This code will print out all errors and then return the last error.
This should allow for proper cleanup.
Also cleanup help to switch usage and description.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-09-15 17:51:34 -04:00
umohnani8
036658b844
Modified namespace field in json struct
...
The namespace field was not being omitted when empty
Signed-off-by: umohnani8 <umohnani@redhat.com>
2017-09-15 17:30:25 -04:00
Daniel J Walsh
b82bf55404
Merge pull request #900 from TomSweeneyRedHat/dev/tsweeney/docfix5
...
Add a few build dependencies to README.md
2017-09-15 16:47:52 -04:00
Mrunal Patel
9f663c9b66
Merge pull request #912 from TomSweeneyRedHat/dev/tsweeney/clifix
...
Update urfave/cli to v1.20.0
2017-09-15 12:56:47 -07:00
TomSweeneyRedHat
a29bb63613
Add a few build dependencies to README.md
...
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2017-09-15 07:56:30 -04:00
TomSweeneyRedHat
359def92f1
Update urfave/cli to v1.20.0
...
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2017-09-14 23:39:15 -04:00
umohnani8
cfc2393d58
Vendor in latest containers/storage
...
Fixes store.lock issue comming up when using store.Names
Signed-off-by: umohnani8 <umohnani@redhat.com>
2017-09-14 09:54:39 -04:00
baude
951a943d16
libkpod/image/copy.go: Add pull by short-name
...
If the user provides kpod pull a short name like 'debian', we
still want the pull to be sucessful. As such, when a short
name is provided, we get the list of searchable registries via
the systemregistries code in containers-storage. We then
append a tag of 'latest' (if not provided) and we formulate
a list of possible fully-qualified image names to try.
Vendor update for containers-storage to bring in the system_registries
code.
Also includes a patch from Nalin to fix compilation errors.
Signed-off-by: baude <bbaude@redhat.com>
2017-09-14 08:33:10 -05:00
Mrunal Patel
9dcd8c47e7
version: Switch to 1.0.0-rc3-dev
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-09-13 12:47:35 -07:00
Mrunal Patel
6784a66f2d
version: Release 1.0.0-rc2
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-09-13 12:43:40 -07:00
Mrunal Patel
400713a58b
Merge pull request #904 from runcom/fix-manifest-list
...
fix issue with official images and manifest lits
2017-09-13 12:42:18 -07:00
Antonio Murdaca
22f96b1806
fix issue with official images and manifest lits
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-09-13 19:01:06 +02:00
Daniel J Walsh
05713958f2
Merge pull request #894 from TomSweeneyRedHat/dev/tsweeney/docfix4
...
Add golang version note to README.md
2017-09-12 17:48:30 -04:00
Daniel J Walsh
1eb9f8ed8c
Merge pull request #887 from baude/kpod_fix_rmi_by_id
...
cmd/kpod/rmi.go: Fix deletion by ID
2017-09-12 13:44:16 -04:00
Daniel J Walsh
ac5596cf62
Merge pull request #855 from baude/kpod_stop2
...
kpod stop -- stop one or more containers
2017-09-12 12:27:21 -04:00
Daniel J Walsh
98ab11f460
Merge pull request #885 from rhatdan/debug
...
Only print error message on kpod error not stacktrace
2017-09-12 11:52:26 -04:00
TomSweeneyRedHat
e2f46a34a6
Add golang version note to README.md
...
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2017-09-12 11:29:11 -04:00
Mrunal Patel
ae5739c3de
Merge pull request #884 from dcbw/clean-up-sandbox
...
server: clean up sandbox network when running the sandbox fails
2017-09-11 16:58:45 -07:00
baude
aca658b423
kpod stop -- stop one or more containers
...
Stop one or more containers. Specific a timeout value
that if the stop operation exceeds, will forcibly stop
the container.
Signed-off-by: baude <bbaude@redhat.com>
2017-09-11 17:03:27 -05:00
baude
f0b94a41e8
cmd/kpod/rmi.go: Fix deletion by ID
...
When deleting by ID, kpod rmi was only "untagging" the image
and not actually removing it.
Signed-off-by: baude <bbaude@redhat.com>
2017-09-11 16:52:57 -05:00
Daniel J Walsh
75a60cf519
Only print error message on kpod error not stacktrace
...
If the user specifies --debug flag then print stack trace.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-09-11 19:40:06 +00:00
Dan Williams
6a58bdf787
server: clean up sandbox network when running the sandbox fails
...
Runtimes need to clean up anything that needs it if RunPodSandbox()
fails.
Signed-off-by: Dan Williams <dcbw@redhat.com>
2017-09-11 14:19:27 -05:00
Daniel J Walsh
c56dcf2cb5
Merge pull request #863 from umohnani8/version
...
kpod version
2017-09-11 12:10:11 -04:00
Mrunal Patel
10b72d8bfa
Merge pull request #875 from rhatdan/docs
...
Cleanup README.md and transfer.md with latest kpod
2017-09-11 08:08:07 -07:00
Daniel J Walsh
a3a0bb5e55
Merge pull request #871 from umohnani8/kpod_ps
...
Add namespace flag to kpod ps
2017-09-11 10:14:39 -04:00
Daniel J Walsh
030b462e35
Merge pull request #877 from runcom/carry-748
...
Add image pull with signature integration test
2017-09-11 09:40:33 -04:00
Daniel J Walsh
51fa9f3baa
Cleanup README.md and transfer.md with latest kpod
...
Add a couple of new ascicinema also
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-09-11 08:31:38 -04:00
Aaron Weitekamp
adb0d19416
Add image pull with signature integration test
...
Signed-off-by: Aaron Weitekamp <aweiteka@redhat.com>
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-09-11 13:34:30 +02:00
Mrunal Patel
0f8cce1a4f
Merge pull request #876 from runcom/redir-stderr-to-stdout
...
contrib: test: redirect stderr to stdout
2017-09-10 10:17:21 -07:00
umohnani8
12512e418b
Update kpod version and info to show beta version
...
Signed-off-by: umohnani8 <umohnani@redhat.com>
2017-09-10 12:17:43 -04:00
umohnani8
38e9f07844
Add namespace flag to kpod ps
...
The namespace flag prints out information about the namespaces
Signed-off-by: umohnani8 <umohnani@redhat.com>
2017-09-10 11:21:49 -04:00
Antonio Murdaca
c9672671db
contrib: test: redirect stderr to stdout
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-09-09 18:13:56 +02:00
Daniel J Walsh
36584e6f34
Merge pull request #830 from umohnani8/update_load-save
...
Update kpod load and save for oci-archive
2017-09-09 05:58:54 -04:00
Daniel J Walsh
b5ed8b34c0
Merge pull request #843 from baude/kpod_tag
...
cmd/kpod/tag.go: Do not assume docker.io for tagging
2017-09-09 05:43:15 -04:00
Antonio Murdaca
f35108d114
Merge pull request #631 from runcom/e2e-conformance
...
contrib: test: switch node-e2e to e2e
2017-09-09 10:26:20 +02:00
Antonio Murdaca
500eb04b25
Merge pull request #874 from mrunalp/version_dirty_commit
...
version: Add -dirty if compiled binary includes uncommited changes
2017-09-09 10:05:18 +02:00
Mrunal Patel
e13803043a
version: Add -dirty if compiled binary includes uncommited changes
...
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2017-09-08 16:17:57 -07:00
Antonio Murdaca
dd1c617467
contrib: test: switch node-e2e to e2e
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-09-09 00:44:21 +02:00
Antonio Murdaca
5f7c5ee119
Merge pull request #872 from mrunalp/dev_version
...
version: Add -dev to VERSION
2017-09-09 00:03:54 +02:00
Mrunal Patel
1fe4afd29a
version: Bump up to rc2-dev
...
Signed-off-by: Mrunal Patel <mrunal@localhost.localdomain>
2017-09-08 15:02:55 -07:00
Antonio Murdaca
bb1da978e3
Merge pull request #870 from mrunalp/bump_rc_1
...
Bump up version to rc 1
2017-09-08 23:34:31 +02:00
Mrunal Patel
086aa910d4
Bump up version to 1.0.0-rc.1
...
We add a VERSION file and pass the gitCommit and version
to the binary builds in the Makefile.
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-09-08 13:23:59 -07:00
Mrunal Patel
77db25f5bb
Merge pull request #856 from umohnani8/kpod_ps
...
Slight modification to kpod ps based on QE feedback
2017-09-08 11:47:27 -07:00
Mrunal Patel
3211d506a0
Merge pull request #819 from umohnani8/kpod_history
...
Modify the JSON output of kpod history
2017-09-08 11:45:58 -07:00
Mrunal Patel
0ae21a5f08
Add support for displaying git commit in version
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-09-08 10:16:01 -07:00
Antonio Murdaca
6d2b19acbb
Merge pull request #860 from mrunalp/img_size_id
...
pkg: storage: image: get size from image ID
2017-09-08 19:12:46 +02:00
umohnani8
79c09d4343
Update kpod load and save for oci-archive
...
Signed-off-by: umohnani8 <umohnani@redhat.com>
2017-09-08 10:33:58 -04:00
umohnani8
216e35db18
Modify the JSON output of kpod history
...
The JSON output was being modified to type string, fixed that
to be of the same type as the source
This is better for further processing of the JSON output if needed
Restructured kpod history a bit as well
Signed-off-by: umohnani8 <umohnani@redhat.com>
2017-09-08 10:33:09 -04:00
umohnani8
45c7100253
Slight modification to kpod ps based on QE feedback
...
QE noticed that kpod ps --last 0 was returning the running containers
Fixed that problem so that it returns nothing
Signed-off-by: umohnani8 <umohnani@redhat.com>
2017-09-08 10:32:11 -04:00