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

17 Commits

Author SHA1 Message Date
Adam Kaplan
2308927668 Refactor s2i Tests for ci-operator
* Isolate integration tests that don't require Docker
* Add OWNERS file
* Add make commands to run integration tests
2019-06-06 11:33:13 -04:00
Adam Kaplan
cfd8419086 Check Assemble Users Against Allowed UIDs
Adding check to ensure the s2i assemble user is allowed if the --allowed-uids flag is set.
The assemble user can come from one of two sources:

1. --assemble-user flag
2. builder image io.openshift.s2i.assemble-user label

The assemble user overrides the default image user for an s2i build.
However, if the base image has ONBUILD instructions with USER directives,
all USER directives will be checked to ensure compliance.

Bug 1582976
2018-05-29 10:55:15 -04:00
Rodolfo Carvalho
68c96a9fbc Replace STI_* env vars with S2I_*
This is a careful replacement of `STI_([A-Z_]+)` with `S2I_$1` in all
*.sh files, plus references to those env vars in other files.
2016-05-16 12:16:38 +02:00
Rodolfo Carvalho
56e1260220 Improve bash scripts
Bash sanitization in test image builder script and integration test
runner.
2016-04-04 17:21:52 +02:00
Michal Fojtik
90134c695d Replace --force-pull with --pull-policy 2015-11-06 11:54:19 +01:00
Cesar Wong
c9d475ae3c Fix integration test by merging labels of committed image 2015-09-28 12:13:44 -04:00
Cesar Wong
965426e9f4 Add allowed-uids flag to the STI command 2015-08-11 17:04:49 -04:00
ewolinetz
22d22a4b6b Adding test cases for ONBUILD strategy builds and no ImageID cases 2015-07-14 10:28:58 -05:00
Maciej Szulik
ded1aaa5d8 Issue 183 - migrated STI_SCRIPTS_URL and STI_LOCATION environment
variables to io.openshift.sti.scripts-url and
io.openshift.sti.location labels.
2015-05-25 16:25:32 +02:00
Michal Fojtik
b338043863 Fix integration tests 2015-02-12 19:55:24 +01:00
Maciej Szulik
47ba9bea40 Card devexp_416 - Removed the need for sti-helper. The untarring is done
on the fly when calling assemble script. Also added additional parameter
that can steer the location of untarred contents. Adding additional step
for images not having tar, we'll be uploading the scripts and sources as
a new layer and then proceed with the regular build.
2015-01-08 14:27:18 +01:00
Maciej Szulik
d09a314f18 Issue 92 - Fix incremental builds when using image internal scripts 2014-12-10 18:11:36 +01:00
Maciej Szulik
24b25efc20 Removed unused image 2014-12-03 23:01:47 +01:00
Maciej Szulik
a79f3116a5 Card devexp_395 - Allow using STI scripts from inside the image with 'image://' 2014-12-03 16:41:09 +01:00
Maciej Szulik
ca80ce28b1 Updated build and release process to match origins 2014-12-02 12:26:20 +01:00
Maciej Szulik
911bcc30d1 Changed logging to use glog library, fixed versioning and added check for test image existence when running integration tests. 2014-11-18 16:51:46 +01:00
csrwng
b6d932bb9b Standalone STI 2014-10-24 14:58:28 -04:00