-
Notifications
You must be signed in to change notification settings - Fork 41
Fix OpenShift s2i tests: #584
base: master
Are you sure you want to change the base?
Conversation
Minor changes to get the s2i tests working.
@surajnarwade review please :) |
@ashetty1 |
func runKedgeS2i(imageName string, baseImage string) error { | ||
s2iCmd := BinaryLocation + " build --s2i --image " + imageName + " -b " + baseImage | ||
func runKedgeS2i(nameSpace string, baseImage string, contextDir string) error { | ||
s2iCmd := BinaryLocation + " build --s2i --image " + nameSpace + "-img -b " + baseImage + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be,
s2iCmd := BinaryLocation + " build --s2i --image " + baseImage +" -c " + contextDir + " -n " + nameSpace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bit confused here, tests works fine locally:
$ make test-e2e-os
TEST=os make test-e2e
make[1]: Entering directory '/home/snarwade/go/src/github.com/kedgeproject/kedge'
./scripts/run_e2e.sh
======================================
| Running end-to-end cluster tests. |
| Tests will be ran against a k8s |
| cluster in separate namespaces |
| |
| Use command: |
| VERBOSE=yes make test-e2e-os |
| for verbosity. |
======================================
ok github.com/kedgeproject/kedge/tests/e2e 246.458s
make[1]: Leaving directory '/home/snarwade/go/src/github.com/kedgeproject/kedge'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@surajnarwade the --image
is for the name of the image to be generated. --baseimage
is for baseimage.
@surajnarwade semaphore failing because of test run timeout, not because of individual tests failing |
Minor changes to get the s2i tests working.