Skip to content

Releases: openshift/source-to-image

v1.1.7

22 Jun 18:24
Compare
Choose a tag to compare
  • Ignore blank lines in .s2iignore file
  • Allow presence of a /tmp/.s2i/image_metadata.json to contribute labels to be applied to the output image

v1.1.6

12 May 21:06
Compare
Choose a tag to compare
  • Ensure default pull policy is set
  • Support runtime image pull policy configuration
  • Remove deprecated --force-pull flag
  • Retry on image pull failures
  • Increase the log level threshold of some log messages
  • Redact credentials from proxy values before logging them
  • Binaries are now built fully static
  • Release binaries are now build with debug symbols stripped for smaller size
  • Share a single docker-engine client instance to reduce go routine creation
  • Ensure docker client related go routines are properly terminated
  • Fixes to the s2i examples
  • Pull image immediately before use to reduce timing window in which the image is removed after being pulled

v1.1.5

20 Mar 17:05
Compare
Choose a tag to compare
  • logging cleanup
  • remove timeout enforcement on image commit
  • fix handling of image pull policy for rebuild operations
  • do not force remove containers, kill them first and then remove them
  • use "." instead of "source" to run scripts as it is more portable
  • fix edge case where internal scripts could get left in the application image
  • use image metadata, not container metadata, when probing images for default user information
  • support volume mounting flags (e.g. selinux :z) when using volume arguments to builds

v1.1.4

19 Jan 18:29
Compare
Choose a tag to compare
  • Invoke callback URL if build fails (align with documentation)
  • Fixed potential hang conditions during build operations
  • Cleaned up example implementations
  • Handle empty docker auth configurations cleanly
  • Streamline tar operations to avoid writing temporary directories
  • Remove race condition in docker api interaction

v1.1.3

27 Oct 03:05
Compare
Choose a tag to compare
  • Remove Kubernetes docker api dependencies in preference to docker-engine client apis
  • Fixed handling of image sha ids for pulling/inspecting images
  • Tolerate arbitrary numbers of path segments in docker image specifications
  • Fixed some timing issues in handling of tar streams
  • Improved compatibility with non-native Docker environments (mac, windows, remote docker daemons)
  • Fixed regression in handling of git submodules

v1.1.2

23 Sep 13:38
Compare
Choose a tag to compare
  • Warn user if they are operating on an empty git repo due to uncommitted local files
  • Log stderr output from assemble scripts as info to avoid scary output from things like npm that send all output to stderr
  • When overriding the entrypoint, use /usr/bin/env instead of /bin/env and only override the entrypoint if the image includes a default entrypoing
  • Fix line number reporting from glog output
  • Use correct auth credentials when pulling a runtime image for an extended build
  • Switch to docker/docker-client and k8s/engine-api from fsouza/go-docker-client
  • Fix intermittent hang when performing assemble/commit operations
  • Increase timeout when waiting on the docker daemon
  • Rebuild behavior was broken due to accessing the wrong image for label metadata

v1.1.1

03 Aug 19:02
Compare
Choose a tag to compare
  • Properly handle runtime-assemble scripts that exist inside the runtime image
  • Fix permission issues with secret injection
  • Fix permission denied during temporary directory deletion on Windows
  • Override container entrypoint to "/bin/env" during assembly process to avoid conflicts w/ image entrypoints

v1.1.0

15 Jul 17:28
Compare
Choose a tag to compare

The most notable change in this release is the availability of extended builds which are documented here:
https://github.com/openshift/source-to-image/blob/master/docs/runtime_image.md

Other updates/fixes:

  • Code cleanup in signal handling logic
  • Cleanup image labels
  • Reworked logging logic to provide better default logging output
  • Fix symlink handling logic in tar stream processing
  • Explicitly name containers created by s2i during building
  • Fix handling of #ref suffixes on local filesystem git paths
  • Replaced broken --recursive flag with working --ignore-submodules flag (defaults to false)
  • Updated fsouza/go-dockerclient dependency to latest version, fixing some docker config.json parsing bugs

v1.0.9

09 May 19:20
Compare
Choose a tag to compare
  • Fix up test script generated by s2i create

v1.0.8

04 May 19:41
Compare
Choose a tag to compare
  • Allow -e (environment) flag to be passed multiple times
  • Revert entrypoint setting behavior due to regression introduced
  • Support bind mounts during build process
  • Better error reporting on image commit failures