1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-06 06:44:58 +01:00
Commit Graph

25 Commits

Author SHA1 Message Date
gabemontero
ed1f0ecedc update script url from builder image labels with s2i build --as-dockerfile 2021-07-02 15:50:15 -04:00
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
Adam Kaplan
9b55f54e76 api/constants package
Moved docker labels, s2i scripts, and deprecated env var constants
to it's own package.

Fixes #882
2018-06-21 08:49:12 -04:00
Ben Parees
62488a5747 Option to produce a buildable Dockerfile instead of an image when building 2018-05-25 10:33:41 -04:00
Jim Minter
d4e9bd0df6 break out util/cmd, util/fs, util/cygpath packages 2017-07-11 13:58:16 +01:00
Victor
70c2f5ac3a improve failure status messages 2017-01-05 10:25:28 +01:00
Jim Minter
251057d7f3 s2i windows build enablement
- enable use of cygwin to build and test s2i
- simplify git and file downloaders
- track posix file permissions on windows
- remove unnecessary runtime.GOOS == "windows" checks
- unit test fixes
2016-11-29 19:17:50 +00:00
Jim Minter
0604914056 fix lint warnings 2016-10-18 11:21:52 +01:00
gabemontero
7f8cd156d0 s2i switch to k8s/engine-api 2016-08-16 15:57:42 -04:00
jupierce
05c257c1f2 Migrating s2i to use glog mock library 2016-06-28 13:51:51 -04:00
jupierce
f3c7110d7c Changing messaging to Clayton's spec 2016-06-21 14:41:19 -04:00
Slava Semushin
9a4232410c Minor code improvements.
- strategies/layered/layered.go: add missed bracket to comment
- strategies/layered/layered.go(CreateDockerfile): use variables instead of slice
- strategies/layered/layered.go(CreateDockerfile): extract variable
- strategies/layered/layered.go(CreateDockerfile): use -- for separating options from directories
- DefaultCleaner.Cleanup(): use %q modifier
- DefaultCleaner.Cleanup(): show warnings when error happened
- Use glog.Info instead of glog.Infof
- DefaultCleaner.Cleanup(): add comment with explanation how it works
- pkg/docker/docker.go(dumpContainerInfo): fix a typo in comment
2016-05-17 22:59:03 +02:00
Cesar Wong
6c7e58fde4 Throw an error if a scripts URL is specified but no scripts can be downloaded from it 2016-03-29 17:05:48 -04:00
Cesar Wong
2c0fc8ae61 Allow passing a proxy configuration for script download 2016-03-28 13:06:24 -04:00
Michal Fojtik
9176989510 Fix .sti/bin detection 2016-01-29 19:52:45 +01:00
Michal Fojtik
e5455214a2 Refactor S2I script installation 2016-01-27 12:32:13 +01:00
Michal Fojtik
b86ed91aea Print warning when s2i script exists in wrong directory 2015-11-12 10:48:45 +01:00
Michal Fojtik
82ff17419b Add support for new scripts-url label format 2015-06-26 15:42:50 +02:00
Michal Fojtik
156089e1e8 Add labels with build metadata into output image 2015-06-25 12:06:37 +02:00
Maciej Szulik
fbfcc2cd88 Issue 205 - renamed io.openshift.sti.* label to shorter io.s2i.* 2015-05-29 20:48:26 +02:00
Michal Fojtik
124af7d3c2 Add support for request.PullAuthentication 2015-05-07 18:38:14 +02:00
Cesar Wong
4391162d62 Set permissions of installed scripts to world read/exec
This makes it possible for users that are not the user building
the STI image to execute the image.
2015-05-01 11:11:32 -04:00
Maciej Szulik
a35d3ba684 Changed Script -> string for readability 2015-02-20 13:54:14 +01:00
Michal Fojtik
e8fdd7fdeb Fix the errors names 2015-02-20 11:36:44 +01:00
Maciej Szulik
e67968972b Refactor installer interface 2015-02-19 21:50:27 +01:00