-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature(resource): Remove runtimeMode from fabric8:resource #1576
base: master
Are you sure you want to change the base?
Conversation
Also bumped up snapshot version to 4.1-SNAPSHOT
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.
Thanks, I just have a concern for a specific case. Otherwise looks good!
You also might want to remove fabric8.mode
parameter from invoker.properties
in integration tests.
@@ -42,11 +42,17 @@ | |||
} | |||
|
|||
public DeploymentConfig getDeploymentConfig(ResourceConfig config, | |||
List<ImageConfiguration> images, Long openshiftDeployTimeoutSeconds, Boolean imageChangeTrigger, Boolean enableAutomaticTrigger, Boolean isOpenshiftBuildStrategy) { | |||
List<ImageConfiguration> images, Long openshiftDeployTimeoutSeconds, Boolean imageChangeTrigger, Boolean enableAutomaticTrigger) { |
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.
Could you please remove PlatformMode import also?
@@ -89,7 +89,7 @@ items: | |||
valueFrom: | |||
fieldRef: | |||
fieldPath: metadata.namespace | |||
image: fabric8-maven-sample-zero-config:latest | |||
image: fabric8/fabric8-maven-sample-zero-config:latest | |||
imagePullPolicy: IfNotPresent |
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 don't think this we should do this, Try deploying this project onto openshift, DeploymentConfigs would not get rolled. I also did the same thing and had to revert this change afterwards. In minishift image is pushed as:
[docker@minishift ~]$ docker images | grep spring-boot
172.30.1.1:5000/myproject/fabric8-maven-sample-spring-boot latest bffc2e90d804 4 minutes ago 603 MB
172.30.1.1:5000/myproject/fabric8-maven-sample-spring-boot <none> dbc792415de5 4 minutes ago 603 MB
Strange, build seems to be passing on my machine. |
@ro14nd can you group all the part of |
Not required now |
Also bumped up snapshot version to 4.1-SNAPSHOT