Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/work/repos/jkube/quickstarts/maven/webapp : $ mvn oc:build
- [INFO] Scanning for projects...
- [INFO]
- [INFO] -------------< org.eclipse.jkube.quickstarts.maven:webapp >-------------
- [INFO] Building Eclipse JKube :: Quickstarts :: Maven :: Webapp 1.0.0-SNAPSHOT
- [INFO] --------------------------------[ war ]---------------------------------
- [INFO]
- [INFO] --- openshift-maven-plugin:1.0.0-SNAPSHOT:build (default-cli) @ webapp ---
- [INFO] oc: Running in OpenShift mode
- [INFO] oc: Using OpenShift build with strategy Docker
- [INFO] oc: Generators:
- [INFO] oc: - quarkus
- [INFO] oc: - spring-boot
- [INFO] oc: - wildfly-swarm
- [INFO] oc: - thorntail-v2
- [INFO] oc: - openliberty
- [INFO] oc: - karaf
- [INFO] oc: - vertx
- [INFO] oc: - java-exec
- [INFO] oc: - webapp
- [INFO] oc: Running generator webapp
- [INFO] oc: webapp: Using fabric8/tomcat-9:1.2.1 as base image for webapp
- [INFO] oc: [maven/webapp:latest] "webapp": Created docker source tar /home/rohaan/work/repos/jkube/quickstarts/maven/webapp/target/docker/maven/webapp/latest/tmp/docker-build.tar
- [INFO] oc: Using BuildServiceConfig webapp-s2i for Docker strategy
- [INFO] oc: Adding to ImageStream webapp
- [INFO] oc: Enrichers:
- [INFO] oc: - jkube-metadata
- [INFO] oc: - jkube-name
- [INFO] oc: - jkube-controller
- [INFO] oc: - jkube-controller-from-configuration
- [INFO] oc: - jkube-service
- [INFO] oc: - jkube-namespace
- [INFO] oc: - jkube-image
- [INFO] oc: - jkube-portname
- [INFO] oc: - jkube-project-label
- [INFO] oc: - jkube-dependency
- [INFO] oc: - jkube-pod-annotations
- [INFO] oc: - jkube-git
- [INFO] oc: - jkube-maven-scm
- [INFO] oc: - jkube-serviceaccount
- [INFO] oc: - jkube-maven-issue-mgmt
- [INFO] oc: - jkube-debug
- [INFO] oc: - jkube-remove-build-annotations
- [INFO] oc: - jkube-volume-permission
- [INFO] oc: - jkube-configmap-file
- [INFO] oc: - jkube-secret-file
- [INFO] oc: - jkube-openshift-service-expose
- [INFO] oc: - jkube-openshift-route
- [INFO] oc: - jkube-openshift-deploymentconfig
- [INFO] oc: - jkube-openshift-project
- [INFO] oc: - jkube-healthcheck-quarkus
- [INFO] oc: - jkube-healthcheck-spring-boot
- [INFO] oc: - jkube-healthcheck-wildfly-swarm
- [INFO] oc: - jkube-healthcheck-thorntail-v2
- [INFO] oc: - jkube-healthcheck-karaf
- [INFO] oc: - jkube-healthcheck-vertx
- [INFO] oc: - jkube-healthcheck-docker
- [INFO] oc: - jkube-healthcheck-webapp
- [INFO] oc: - jkube-prometheus
- [INFO] oc: - jkube-revision-history
- [INFO] oc: - jkube-docker-registry-secret
- [INFO] oc: - jkube-triggers-annotation
- [INFO] oc: - jkube-openshift-imageChangeTrigger
- [INFO] oc: Starting Build webapp-s2i
- [INFO] oc: Waiting for build webapp-s2i-2 to complete...
- [INFO] oc: Step 1/11 : FROM fabric8/tomcat-9:1.2.1
- [INFO] oc: ---> 044e10682118
- [INFO] oc: Step 2/11 : ENV DEPLOY_DIR /deployments
- [INFO] oc: ---> Using cache
- [INFO] oc: ---> c4c7851af2ba
- [INFO] oc: Step 3/11 : LABEL org.label-schema.description "" org.label-schema.version 1.0.0-SNAPSHOT org.label-schema.schema-version 1.0 org.label-schema.build-date 2020-04-01T19:22:13.445752 org.label-schema.name "Eclipse JKube :: Quickstarts :: Maven :: Webapp" org.label-schema.vcs-ref 7ecaea415aa4cb06622b547ffebb6a78fe9c67e8 org.label-schema.vcs-url [email protected]:rohanKanojia/jkube.git
- [INFO] oc: ---> Running in 0e5ea6a79a97
- [INFO] oc: ---> a7935efedef7
- [INFO] oc: Removing intermediate container 0e5ea6a79a97
- [INFO] oc: Step 4/11 : EXPOSE 8080 8778
- [INFO] oc: ---> Running in 4fdcd2eb58c4
- [INFO] oc: ---> 8c9665449b5b
- [INFO] oc: Removing intermediate container 4fdcd2eb58c4
- [INFO] oc: Step 5/11 : COPY maven /tmp/79b2b4b1-5cd7-4e36-92ff-c83cff3e656b/deployments/
- [INFO] oc: ---> 94410989537e
- [INFO] oc: Removing intermediate container cc8536bd7204
- [INFO] oc: Step 6/11 : USER root
- [INFO] oc: ---> Running in 2b9533a13804
- [INFO] oc: ---> b9ae976c7691
- [INFO] oc: Removing intermediate container 2b9533a13804
- [INFO] oc: Step 7/11 : RUN chown -R jboss:jboss /tmp/79b2b4b1-5cd7-4e36-92ff-c83cff3e656b && cp -rp /tmp/79b2b4b1-5cd7-4e36-92ff-c83cff3e656b/* / && rm -rf /tmp/79b2b4b1-5cd7-4e36-92ff-c83cff3e656b
- [INFO] oc: ---> Running in 9827f4db84b7
- [INFO] oc:
- [INFO] oc: ---> 02ce6fe7b9e9
- [INFO] oc: Removing intermediate container 9827f4db84b7
- [INFO] oc: Step 8/11 : USER jboss
- [INFO] oc: ---> Running in 1ba3f663f7d9
- [INFO] oc: ---> 510ca27b1a5f
- [INFO] oc: Removing intermediate container 1ba3f663f7d9
- [INFO] oc: Step 9/11 : CMD /opt/tomcat/bin/deploy-and-run.sh
- [INFO] oc: ---> Running in d47a1306ac91
- [INFO] oc: ---> 6ddb3da1e110
- [INFO] oc: Removing intermediate container d47a1306ac91
- [INFO] oc: Step 10/11 : ENV "OPENSHIFT_BUILD_NAME" "webapp-s2i-2" "OPENSHIFT_BUILD_NAMESPACE" "rokumar"
- [INFO] oc: ---> Running in fdcc46110cbb
- [INFO] oc: ---> 93a009ccaeb5
- [INFO] oc: Removing intermediate container fdcc46110cbb
- [INFO] oc: Step 11/11 : LABEL "io.openshift.build.name" "webapp-s2i-2" "io.openshift.build.namespace" "rokumar"
- [INFO] oc: ---> Running in a56de7afe59e
- [INFO] oc: ---> f3cdb3f7bff4
- [INFO] oc: Removing intermediate container a56de7afe59e
- [INFO] oc: Successfully built f3cdb3f7bff4
- [INFO] oc:
- [INFO] oc: Pushing image 172.30.39.149:5000/rokumar/webapp:latest ...
- [INFO] oc: Pushed 0/18 layers, 0% complete
- [INFO] oc: Pushed 1/18 layers, 6% complete
- [INFO] oc: Pushed 2/18 layers, 11% complete
- [INFO] oc: Pushed 3/18 layers, 17% complete
- [INFO] oc: BuildWatch: Received event ADDED , build status: BuildStatus(cancelled=null, completionTimestamp=null, config=ObjectReference(apiVersion=null, fieldPath=null, kind=BuildConfig, name=webapp-s2i, namespace=rokumar, resourceVersion=null, uid=null, additionalProperties={}), duration=null, logSnippet=null, message=null, output=BuildStatusOutput(to=null, additionalProperties={}), outputDockerImageReference=172.30.39.149:5000/rokumar/webapp:latest, phase=Running, reason=null, stages=[], startTimestamp=2020-04-01T13:52:19Z, additionalProperties={})
- [INFO] oc: Build webapp-s2i-2 status: Running
- [INFO] oc: Pushed 4/18 layers, 22% complete
- [INFO] oc: Pushed 5/18 layers, 28% complete
- [INFO] oc: Pushed 6/18 layers, 39% complete
- [INFO] oc: Pushed 7/18 layers, 44% complete
- [INFO] oc: Pushed 8/18 layers, 50% complete
- [INFO] oc: Pushed 9/18 layers, 61% complete
- [INFO] oc: Pushed 10/18 layers, 67% complete
- [INFO] oc: Pushed 11/18 layers, 72% complete
- [INFO] oc: Pushed 12/18 layers, 78% complete
- [INFO] oc: Pushed 13/18 layers, 83% complete
- [INFO] oc: Pushed 14/18 layers, 89% complete
- [INFO] oc: Pushed 15/18 layers, 94% complete
- [INFO] oc: Pushed 16/18 layers, 100% complete
- [INFO] oc: Pushed 17/18 layers, 100% complete
- [INFO] oc: Pushed 18/18 layers, 100% complete
- [INFO] oc: BuildWatch: Received event MODIFIED , build status: BuildStatus(cancelled=null, completionTimestamp=null, config=ObjectReference(apiVersion=null, fieldPath=null, kind=BuildConfig, name=webapp-s2i, namespace=rokumar, resourceVersion=null, uid=null, additionalProperties={}), duration=null, logSnippet=null, message=null, output=BuildStatusOutput(to=BuildStatusOutputTo(imageDigest=sha256:45a85b60d405a23de56cc5aaae618ef038fee34a4db90aacbdc26b56c7bc6c4b, additionalProperties={}), additionalProperties={}), outputDockerImageReference=172.30.39.149:5000/rokumar/webapp:latest, phase=Running, reason=null, stages=[], startTimestamp=2020-04-01T13:52:19Z, additionalProperties={})
- [INFO] oc: BuildWatch: Received event MODIFIED , build status: BuildStatus(cancelled=null, completionTimestamp=null, config=ObjectReference(apiVersion=null, fieldPath=null, kind=BuildConfig, name=webapp-s2i, namespace=rokumar, resourceVersion=null, uid=null, additionalProperties={}), duration=null, logSnippet=null, message=null, output=BuildStatusOutput(to=BuildStatusOutputTo(imageDigest=sha256:45a85b60d405a23de56cc5aaae618ef038fee34a4db90aacbdc26b56c7bc6c4b, additionalProperties={}), additionalProperties={}), outputDockerImageReference=172.30.39.149:5000/rokumar/webapp:latest, phase=Running, reason=null, stages=[StageInfo(durationMilliseconds=2212, name=Build, startTime=2020-04-01T13:52:24Z, steps=[StepInfo(durationMilliseconds=2212, name=DockerBuild, startTime=2020-04-01T13:52:24Z, additionalProperties={})], additionalProperties={}), StageInfo(durationMilliseconds=4546, name=PushImage, startTime=2020-04-01T13:52:27Z, steps=[StepInfo(durationMilliseconds=4546, name=PushDockerImage, startTime=2020-04-01T13:52:27Z, additionalProperties={})], additionalProperties={})], startTimestamp=2020-04-01T13:52:19Z, additionalProperties={})
- [INFO] oc: Push successful
- [INFO] oc: BuildWatch: Received event MODIFIED , build status: BuildStatus(cancelled=null, completionTimestamp=2020-04-01T13:52:32Z, config=ObjectReference(apiVersion=null, fieldPath=null, kind=BuildConfig, name=webapp-s2i, namespace=rokumar, resourceVersion=null, uid=null, additionalProperties={}), duration=13000000000, logSnippet=null, message=null, output=BuildStatusOutput(to=BuildStatusOutputTo(imageDigest=sha256:45a85b60d405a23de56cc5aaae618ef038fee34a4db90aacbdc26b56c7bc6c4b, additionalProperties={}), additionalProperties={}), outputDockerImageReference=172.30.39.149:5000/rokumar/webapp:latest, phase=Complete, reason=null, stages=[StageInfo(durationMilliseconds=2212, name=Build, startTime=2020-04-01T13:52:24Z, steps=[StepInfo(durationMilliseconds=2212, name=DockerBuild, startTime=2020-04-01T13:52:24Z, additionalProperties={})], additionalProperties={}), StageInfo(durationMilliseconds=4546, name=PushImage, startTime=2020-04-01T13:52:27Z, steps=[StepInfo(durationMilliseconds=4546, name=PushDockerImage, startTime=2020-04-01T13:52:27Z, additionalProperties={})], additionalProperties={})], startTimestamp=2020-04-01T13:52:19Z, additionalProperties={})
- [INFO] oc: Build webapp-s2i-2 status: Complete
- [INFO] oc: Build webapp-s2i-2 in status Complete
- [INFO] oc: Found tag on ImageStream webapp tag: sha256:45a85b60d405a23de56cc5aaae618ef038fee34a4db90aacbdc26b56c7bc6c4b
- [INFO] oc: ImageStream webapp written to /home/rohaan/work/repos/jkube/quickstarts/maven/webapp/target/webapp-is.yml
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 24.351 s
- [INFO] Finished at: 2020-04-01T19:22:33+05:30
- [INFO] ------------------------------------------------------------------------
- ~/work/repos/jkube/quickstarts/maven/webapp : $ git diff
- diff --git a/quickstarts/maven/webapp/pom.xml b/quickstarts/maven/webapp/pom.xml
- index 4809f9f..91e49a7 100644
- --- a/quickstarts/maven/webapp/pom.xml
- +++ b/quickstarts/maven/webapp/pom.xml
- @@ -38,6 +38,17 @@
- <artifactId>kubernetes-maven-plugin</artifactId>
- <version>${project.version}</version>
- </plugin>
- + <plugin>
- + <groupId>org.eclipse.jkube</groupId>
- + <artifactId>openshift-maven-plugin</artifactId>
- + <version>${project.version}</version>
- + <configuration>
- + <mode>openshift</mode>
- + <buildStrategy>docker</buildStrategy>
- + <verbose>true</verbose>
- + </configuration>
- +
- + </plugin>
- </plugins>
- </build>
- <properties>
- ~/work/repos/jkube/quickstarts/maven/webapp : $
Add Comment
Please, Sign In to add comment