Skip to content

Releases: openshift/source-to-image

v1.0.7

27 Apr 14:26
Compare
Choose a tag to compare
  • Fix source path in nginx example assemble script
  • Handle user:group specification in builder image Dockerfiles (treat as a numeric uid)
  • Override the entrypoint instead of only the command when launching containers for assemble/etc

v1.0.6

11 Apr 14:07
Compare
Choose a tag to compare
  • Fixed deadlock issue that can occur during incremental builds due to missing pipe closures
  • Added flag to allow capability dropping during build execution
  • Output correct tag name in logging
  • Introduce option to use copy instead of git clone for local source repository builds
  • Add timeout handling for Docker api calls
  • Refactor runcontainer implementation to simplify it
  • Fix issues related to deferring file closures before checking if opening them had an error

v1.0.5

18 Feb 18:23
Compare
Choose a tag to compare
  • Fix file descriptor leak when .dockercfg was found
  • Switched generated examples to user /usr/libexec/s2i for scripts
  • Additional improvements to generated examples
  • Fixes to file copying when injecting source code
  • New image creation tutorial documentation
  • Fix bugs around script location handling
  • Support injecting additional files into the assemble process (and remove before committing the image)
  • Deprecate .sti directory in favor of .s2i
  • Always fail if strategy is PullAlways and the pull fails
  • Better logging when extracting the contents of the injected source
  • Fix bug related to image tags that ended in hex ids

v1.0.4

19 Nov 19:31
Compare
Choose a tag to compare
  • Updated Cobra dependency for better help output
  • Do not call chmod on Windows
  • Various fixes to tar logging and path handling
  • Remove glog prefix on build logs unless log level is verbose
  • Add example to build help output
  • Various fixes for git url parsing
  • Deprecate --force-pull, replace with --pull-policy
  • Validation check for docker daemon availability
  • Fix path joining for paths produced on Windows but used inside a container
  • Better logging when docker client invocations fail
  • Warn users if their override s2i scripts are in the wrong directory in their source repository
  • Add option to specify the user for executing the assemble script during the build process
  • Provide additional info about the source that was built when invoking optional webhook callback
  • Fixed issue with copying local filesystem paths that did not have a trailing slash
  • Added committer and author information to source information included in the resulting image
  • Proper handling of submodules when building a specific commit of a repository
  • Fix handling of symlinks in source repositories
  • Display s2i version in build logs when run in verbose mode

v1.0.3

20 Oct 18:09
Compare
Choose a tag to compare
  • Allow recursive git cloning to be disabled
  • Report errors from git cloning
  • Fix local source path support
  • Prefer git SCM plugin over file when git binary exists
    *Merge labels of parent image when performing layered builds
  • Use unix-style path separators when creating tar files
  • Include full git commit hash in output image
  • Fix handling of symlinks in source and artifact inputs

v1.0.2

04 Sep 13:39
Compare
Choose a tag to compare
  • fixed onbuild strategy when no output image is specified
  • added .s2iignore file where you can specify which files should be ignored from source when uploading those into builder image
  • allow ssh-based git repository
  • added --allowed-uids flag to specify a range of allowed user ids for the builder image to be run with
  • Added --context-dir value to the build information labels
  • Added --run flag to run the image after successful build
  • Fixed --force-pull for incremental builds
  • Renamed default --dockercfg-path to use $HOME/.docker/config.json instead of $HOME/.dockercfg
  • Allowed using separate credentials to pull previous image for incremental builds
  • Rebranded sti into s2i
  • Added support for go1.5

v1.0.1

06 Jul 17:19
Compare
Choose a tag to compare
  • Fixed warning regarding invalid source repository (https://bugzilla.redhat.com/show_bug.cgi?id=1190106)
  • Added logic to use local image if pull fails, warning a user about the fact.
  • Whitelisted EOF error when streaming docker output
  • Added labels with build information in resulting image (commit id, branch, context directory, author, date, etc)
  • Renamed io.s2i.scripts-url -> io.openshift.s2i.scripts-url and io.s2i.destination -> io.openshift.s2i.destination labels
  • Added sti rebuild command
  • Cleaned up sti create command

v1.0

01 Jun 17:26
Compare
Choose a tag to compare

1.0 Changelog

  • switched from using environment variables to labels:
    • STI_SCRIPTS_URL -> io.s2i.scripts-url
    • STI_LOCATION -> io.s2i.destination
  • renamed location flag and label to destination
  • fixed handling relative paths when specifying --scripts-url flag
  • cleaned up internal API
  • adding 'latest' tag for builder when no tag is specified
  • fixed flag error handling
  • added support for --environment-file/-E
  • fixed getting output from containers

v0.5.1

18 May 16:46
Compare
Choose a tag to compare
  • Updated release builder image to cross compile properly.

Note: This release includes osx and windows binaries again.

v0.5

15 May 19:49
Compare
Choose a tag to compare
  • Added --dockercfg-path to allow users pulling Docker images from private repositories
  • Use less layers when adding environment variables to the output Docker image
  • Display output from stderr when running save-artifacts scripts
  • Fix issue when having an archive with many files can reach the system limits (ulimit -n)
  • Added human-friendly printer for the STI request object (--loglevel=>2)
  • Prevent pulling the previous image during incremental build when --force-pull=false
  • Switched to use dashed case for command line arguments (--forcePull is now --force-pull)

Note: We ran into some issues with the cross compiler so we were not able to produce the mac and windows binaries, but you should be able to build your own version in those environments.