Skip to content

system tests don't work on OpenShift #1369

@jstrachan

Description

@jstrachan

this is a rather complex problem. Right now when using OpenShift mode, we use S2I binary builds which use ImageStreams.

The problem is we can't refer to an image stream created in one namespace from another namespace. So we can't use CD Pipelines with kubernetesApply() or use mvn fabric8:deploy for a different namespace or use fabric8-arquillian system testing with image streams until we figure out some way to:

  • move images to different ImageStreams / images in other namespaces
  • update the DeploymentConfig / ReplicationController resources in each namespace to refer to the updated location of the image

One approach could be to just not use ImageStreams and stick with regular docker images which are labelled using the CD release number as we do for kubernetes.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions