Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

feature(resource): Remove runtimeMode from fabric8:resource #1576

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rhuss
Copy link
Contributor

@rhuss rhuss commented Mar 16, 2019

Also bumped up snapshot version to 4.1-SNAPSHOT

Copy link
Member

@rohanKanojia rohanKanojia left a 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) {
Copy link
Member

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
Copy link
Member

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

@rohanKanojia
Copy link
Member

Strange, build seems to be passing on my machine.

@devang-gaur
Copy link
Contributor

@ro14nd can you group all the part of <version>4.0-SNAPSHOT</version> --> <version>4.1-SNAPSHOT</version> into a seperate commit ? It would be real clean and easier for tracking.

@devang-gaur
Copy link
Contributor

@ro14nd can you group all the part of <version>4.0-SNAPSHOT</version> --> <version>4.1-SNAPSHOT</version> into a seperate commit ? It would be real clean and easier for tracking.

Not required now

@rohanKanojia rohanKanojia self-assigned this Jul 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants