1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 12:44:54 +01:00

15 Commits

Author SHA1 Message Date
Adam Kaplan
1fad0a5e69 Refactor glog to log/klog in code
* pkg/util/glog -> pkg/util/log
* var glog replaced with var log
* Removed unnecessary flag.Parse call (fixed with klog)
2019-07-15 15:04:15 -04:00
Jim Minter
7751799a38 use only one engine client instance 2017-04-26 16:19:00 +01:00
Victor
70c2f5ac3a improve failure status messages 2017-01-05 10:25:28 +01:00
Jim Minter
eb59ecae86 resolve race condition worries in docker communication 2016-11-29 15:39:56 +00:00
Ben Parees
bdc27152e0 only override entrypoint in image if one is set 2016-08-23 16:18:58 -04:00
jupierce
a99e018249 Fixing line number accuracy with glog wrapper 2016-08-11 10:29:49 -04:00
Ben Parees
663a67082e move DefaultEntrypoint constant to sti package 2016-07-20 15:01:11 -04:00
Ben Parees
40469a64e3 override entrypoint to env during assemble 2016-07-18 15:05:06 -04:00
jupierce
05c257c1f2 Migrating s2i to use glog mock library 2016-06-28 13:51:51 -04:00
Slava Semushin
138e6924ca Minor code improvements.
- sti -> s2i
- fix a couple of typos
- remove useless fmt.Sprintf() usage
- use api.Assemble constant
- UploadToContainer: rename argument
- docs/cli.md: correct the number of log levels
- docs/debugging-s2i.md: fix a typo
2016-06-23 17:50:08 +02:00
Rodolfo Carvalho
f6a9d584f3 Do not ignore errors
We focused on translating one specific error case, and missed returning
any other error, returning nil instead.

Also document why we recreate a ContainerError, and preserve all
original fields except the one we intend to change.
2016-03-23 16:33:40 +01:00
Rodolfo Carvalho
811a56d81a Refactor pkg/run
- Update doc comments to match Go's convention
  https://golang.org/doc/effective_go.html
- Reorganize imports to match convention
- Call errors 'err', no need for prefixes
2016-03-23 14:51:42 +01:00
Cesar Wong
1f56b0f81d Allowing dropping capabilities when running a container 2016-03-07 13:00:49 -05:00
Ben Parees
44417ef9ec add cgroup config option when running images 2016-01-25 12:40:50 -05:00
gabemontero
0d7f7f426a issue180: launch resulting image in container for diagnostic purposes; comments from Ben; Maciej's comments; finalize on the displaying of ports 2015-08-13 16:44:40 -04:00