Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- camel-example-hazelcast-kubernetes : $ mvn oc:deploy -Popenshift-install
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ----< org.apache.camel.example:camel-example-hazelcast-kubernetes >-----
- [INFO] Building Camel :: Example :: Hazelcast :: Kubernetes 3.7.0-SNAPSHOT
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] >>> openshift-maven-plugin:1.0.1:deploy (default-cli) > install @ camel-example-hazelcast-kubernetes >>>
- [INFO]
- [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ camel-example-hazelcast-kubernetes ---
- [INFO]
- [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ camel-example-hazelcast-kubernetes ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 2 resources
- [INFO]
- [INFO] --- camel-package-maven-plugin:3.7.0-SNAPSHOT:prepare-example (default) @ camel-example-hazelcast-kubernetes ---
- [INFO]
- [INFO] --- openshift-maven-plugin:1.0.1:resource (default) @ camel-example-hazelcast-kubernetes ---
- [INFO] oc: Using docker image name of namespace: default
- [INFO] oc: Running generator java-exec
- [INFO] oc: java-exec: Using Docker image quay.io/jkube/jkube-java-binary-s2i:0.0.8 as base / builder
- [INFO] oc: Using resource templates from /home/rohaan/work/repos/camel-examples/examples/camel-example-hazelcast-kubernetes/src/main/jkube
- [INFO] oc: jkube-controller: Adding a default DeploymentConfig
- [INFO] oc: jkube-service: Adding a default service 'camel-example-hazelcast-kubernetes' with ports [8080]
- [INFO] oc: jkube-revision-history: Adding revision history limit to 2
- [INFO]
- [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ camel-example-hazelcast-kubernetes ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ camel-example-hazelcast-kubernetes ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /home/rohaan/work/repos/camel-examples/examples/camel-example-hazelcast-kubernetes/src/test/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ camel-example-hazelcast-kubernetes ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ camel-example-hazelcast-kubernetes ---
- [INFO] No tests to run.
- [INFO]
- [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ camel-example-hazelcast-kubernetes ---
- [INFO] Building jar: /home/rohaan/work/repos/camel-examples/examples/camel-example-hazelcast-kubernetes/target/camel-example-hazelcast-kubernetes-3.7.0-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ camel-example-hazelcast-kubernetes ---
- [INFO] Skipping because packaging 'jar' is not pom.
- [INFO]
- [INFO] --- maven-assembly-plugin:3.0.0:single (fat-jar) @ camel-example-hazelcast-kubernetes ---
- [WARNING] Artifact: org.apache.camel.example:camel-example-hazelcast-kubernetes:jar:3.7.0-SNAPSHOT references the same file as the assembly destination file. Moving it to a temporary location for inclusion.
- [INFO] Building jar: /home/rohaan/work/repos/camel-examples/examples/camel-example-hazelcast-kubernetes/target/camel-example-hazelcast-kubernetes-3.7.0-SNAPSHOT.jar
- [WARNING] Configuration option 'appendAssemblyId' is set to false.
- Instead of attaching the assembly file: /home/rohaan/work/repos/camel-examples/examples/camel-example-hazelcast-kubernetes/target/camel-example-hazelcast-kubernetes-3.7.0-SNAPSHOT.jar, it will become the file for main project artifact.
- NOTE: If multiple descriptors or descriptor-formats are provided for this project, the value of this file will be non-deterministic!
- [WARNING] Replacing pre-existing project main-artifact file: /home/rohaan/work/repos/camel-examples/examples/camel-example-hazelcast-kubernetes/target/archive-tmp/camel-example-hazelcast-kubernetes-3.7.0-SNAPSHOT.jar
- with assembly file: /home/rohaan/work/repos/camel-examples/examples/camel-example-hazelcast-kubernetes/target/camel-example-hazelcast-kubernetes-3.7.0-SNAPSHOT.jar
- [INFO]
- [INFO] --- openshift-maven-plugin:1.0.1:build (default) @ camel-example-hazelcast-kubernetes ---
- [INFO] oc: Using OpenShift build with strategy S2I
- [INFO] oc: Running in OpenShift mode
- [INFO] oc: Running generator java-exec
- [INFO] oc: java-exec: Using Docker image quay.io/jkube/jkube-java-binary-s2i:0.0.8 as base / builder
- [INFO] oc: [camel-example-hazelcast-kubernetes:latest] "java-exec": Created docker source tar /home/rohaan/work/repos/camel-examples/examples/camel-example-hazelcast-kubernetes/target/docker/camel-example-hazelcast-kubernetes/latest/tmp/docker-build.tar
- [INFO] oc: Adding to Secret pullsecret-jkube
- [INFO] oc: Using Secret pullsecret-jkube
- [INFO] oc: Creating BuildServiceConfig camel-example-hazelcast-kubernetes-s2i for Source build
- [INFO] oc: Creating ImageStream camel-example-hazelcast-kubernetes
- [INFO] oc: Starting Build camel-example-hazelcast-kubernetes-s2i
- [INFO] oc: Waiting for build camel-example-hazelcast-kubernetes-s2i-1 to complete...
- [INFO] oc: Caching blobs under "/var/cache/blobs".
- [INFO] oc: Getting image source signatures
- [INFO] oc: Copying blob sha256:aebb8c5568533b57ee3da86262f7bff81383a2a624b9f54b9da3418705009901
- [INFO] oc: Copying blob sha256:595bd04e186b153774796bc58270a917f7a3f36b467437270a0b49eeaa410cfb
- [INFO] oc: Copying blob sha256:0fd3b5213a9b4639d32bf2ef6a3d7cc9891c4d8b23639ff7ae99d66ecb490a70
- [INFO] oc: Copying config sha256:2c283338efd907e76f202297b7635068d8a9399243333a09b5606526e3a77ce1
- [INFO] oc: Writing manifest to image destination
- [INFO] oc: Storing signatures
- [INFO] oc: Generating dockerfile with builder image quay.io/jkube/jkube-java-binary-s2i:0.0.8
- [INFO] oc: STEP 1: FROM quay.io/jkube/jkube-java-binary-s2i:0.0.8
- [INFO] oc: STEP 2: LABEL "io.openshift.build.image"="quay.io/jkube/jkube-java-binary-s2i:0.0.8" "io.openshift.build.source-location"="/tmp/build/inputs" "io.openshift.s2i.destination"="/tmp"
- [INFO] oc: STEP 3: ENV JAVA_APP_DIR="/deployments" OPENSHIFT_BUILD_NAME="camel-example-hazelcast-kubernetes-s2i-1" OPENSHIFT_BUILD_NAMESPACE="default"
- [INFO] oc: STEP 4: USER root
- [INFO] oc: STEP 5: COPY upload/src /tmp/src
- [INFO] oc: STEP 6: RUN chown -R 1000:0 /tmp/src
- [INFO] oc: STEP 7: USER 1000
- [INFO] oc: STEP 8: RUN /usr/local/s2i/assemble
- [INFO] oc: INFO S2I source build with plain binaries detected
- [INFO] oc: INFO S2I binary build from fabric8-maven-plugin detected
- [INFO] oc: INFO Copying binaries from /tmp/src/deployments to /deployments ...
- [INFO] oc: camel-example-hazelcast-kubernetes-3.7.0-SNAPSHOT.jar
- [INFO] oc: INFO Copying deployments from deployments to /deployments...
- [INFO] oc: '/tmp/src/deployments/camel-example-hazelcast-kubernetes-3.7.0-SNAPSHOT.jar' -> '/deployments/camel-example-hazelcast-kubernetes-3.7.0-SNAPSHOT.jar'
- [INFO] oc: INFO Cleaning up source directory (/tmp/src)
- [INFO] oc: STEP 9: CMD /usr/local/s2i/run
- [INFO] oc: STEP 10: COMMIT temp.builder.openshift.io/default/camel-example-hazelcast-kubernetes-s2i-1:42da76a9
- [INFO] oc: Getting image source signatures
- [INFO] oc: Copying blob sha256:b0e2911c99f3f2326c53ebd85ea90738a14c9a87b65856782afc96c239550200
- [INFO] oc: Copying blob sha256:3485805ce47cb870983d172024a22531ea82c38c6bb2e744d3396f9705f5f063
- [INFO] oc: Copying blob sha256:ad60f6c3a989d533cef90b02d1a934aebca214973da48af432c55b4e053e9437
- [INFO] oc: Copying blob sha256:fa1d224fc9167e40957e5588bb154f1bd24bebebddd6cc9d13c2c756d23e8e31
- [INFO] oc: Copying config sha256:f05125640938fbc0a5def93fc6d7d68e99ff4916b01337a21028f1e7e2186a08
- [INFO] oc: Writing manifest to image destination
- [INFO] oc: Storing signatures
- [INFO] oc: --> f0512564093
- [INFO] oc: f05125640938fbc0a5def93fc6d7d68e99ff4916b01337a21028f1e7e2186a08
- [INFO] oc:
- [INFO] oc: Pushing image image-registry.openshift-image-registry.svc:5000/default/camel-example-hazelcast-kubernetes:latest ...
- [INFO] oc: Getting image source signatures
- [INFO] oc: Copying blob sha256:aebb8c5568533b57ee3da86262f7bff81383a2a624b9f54b9da3418705009901
- [INFO] oc: Copying blob sha256:595bd04e186b153774796bc58270a917f7a3f36b467437270a0b49eeaa410cfb
- [INFO] oc: Copying blob sha256:0fd3b5213a9b4639d32bf2ef6a3d7cc9891c4d8b23639ff7ae99d66ecb490a70
- [INFO] oc: Copying blob sha256:fa1d224fc9167e40957e5588bb154f1bd24bebebddd6cc9d13c2c756d23e8e31
- [INFO] oc: Copying config sha256:f05125640938fbc0a5def93fc6d7d68e99ff4916b01337a21028f1e7e2186a08
- [INFO] oc: Writing manifest to image destination
- [INFO] oc: Storing signatures
- [INFO] oc: Successfully pushed image-registry.openshift-image-registry.svc:5000/default/camel-example-hazelcast-kubernetes@sha256:a53189dcdf9d5e729adfa770cb58646a7893e63610457fa935373d7af8c37d7b
- [INFO] oc: Push successful
- [INFO] oc: Build camel-example-hazelcast-kubernetes-s2i-1 in status Complete
- [INFO] oc: Found tag on ImageStream camel-example-hazelcast-kubernetes tag: sha256:a53189dcdf9d5e729adfa770cb58646a7893e63610457fa935373d7af8c37d7b
- [INFO] oc: ImageStream camel-example-hazelcast-kubernetes written to /home/rohaan/work/repos/camel-examples/examples/camel-example-hazelcast-kubernetes/target/camel-example-hazelcast-kubernetes-is.yml
- [INFO]
- [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ camel-example-hazelcast-kubernetes ---
- [INFO] Installing /home/rohaan/work/repos/camel-examples/examples/camel-example-hazelcast-kubernetes/target/camel-example-hazelcast-kubernetes-3.7.0-SNAPSHOT.jar to /home/rohaan/.m2/repository/org/apache/camel/example/camel-example-hazelcast-kubernetes/3.7.0-SNAPSHOT/camel-example-hazelcast-kubernetes-3.7.0-SNAPSHOT.jar
- [INFO] Installing /home/rohaan/work/repos/camel-examples/examples/camel-example-hazelcast-kubernetes/pom.xml to /home/rohaan/.m2/repository/org/apache/camel/example/camel-example-hazelcast-kubernetes/3.7.0-SNAPSHOT/camel-example-hazelcast-kubernetes-3.7.0-SNAPSHOT.pom
- [INFO] Installing /home/rohaan/work/repos/camel-examples/examples/camel-example-hazelcast-kubernetes/target/classes/META-INF/jkube/openshift.yml to /home/rohaan/.m2/repository/org/apache/camel/example/camel-example-hazelcast-kubernetes/3.7.0-SNAPSHOT/camel-example-hazelcast-kubernetes-3.7.0-SNAPSHOT-openshift.yml
- [INFO] Installing /home/rohaan/work/repos/camel-examples/examples/camel-example-hazelcast-kubernetes/target/camel-example-hazelcast-kubernetes-is.yml to /home/rohaan/.m2/repository/org/apache/camel/example/camel-example-hazelcast-kubernetes/3.7.0-SNAPSHOT/camel-example-hazelcast-kubernetes-3.7.0-SNAPSHOT-is.yml
- [INFO]
- [INFO] <<< openshift-maven-plugin:1.0.1:deploy (default-cli) < install @ camel-example-hazelcast-kubernetes <<<
- [INFO]
- [INFO]
- [INFO] --- openshift-maven-plugin:1.0.1:deploy (default-cli) @ camel-example-hazelcast-kubernetes ---
- [INFO] oc: Using OpenShift at https://api.crc.testing:6443/ in namespace default with manifest /home/rohaan/work/repos/camel-examples/examples/camel-example-hazelcast-kubernetes/target/classes/META-INF/jkube/openshift.yml
- [INFO] oc: OpenShift platform detected
- [INFO] oc: Using project: default
- [INFO] oc: Creating a Service from openshift.yml namespace default name camel-example-hazelcast-kubernetes
- [INFO] oc: Created Service: camel-example-hazelcast-kubernetes/target/jkube/applyJson/default/service-camel-example-hazelcast-kubernetes.json
- [INFO] oc: Creating a Service from openshift.yml namespace default name hazelcast
- [INFO] oc: Created Service: camel-example-hazelcast-kubernetes/target/jkube/applyJson/default/service-hazelcast.json
- [INFO] oc: Creating a Deployment from openshift.yml namespace default name hazelcast
- [INFO] oc: Created Deployment: camel-example-hazelcast-kubernetes/target/jkube/applyJson/default/deployment-hazelcast.json
- [INFO] oc: Creating a DeploymentConfig from openshift.yml namespace default name camel-example-hazelcast-kubernetes
- [INFO] oc: Created DeploymentConfig: camel-example-hazelcast-kubernetes/target/jkube/applyJson/default/deploymentconfig-camel-example-hazelcast-kubernetes.json
- [INFO] oc: Creating Route default:camel-example-hazelcast-kubernetes host: null
- [INFO] oc: HINT: Use the command `oc get pods -w` to watch your pods start up
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 01:29 min
- [INFO] Finished at: 2020-10-27T21:33:13+05:30
- [INFO] ------------------------------------------------------------------------
- camel-example-hazelcast-kubernetes : $ oc get pods
- NAME READY STATUS RESTARTS AGE
- camel-example-hazelcast-kubernetes-1-b6h5t 1/1 Running 0 11s
- camel-example-hazelcast-kubernetes-1-deploy 0/1 Completed 0 14s
- camel-example-hazelcast-kubernetes-s2i-1-build 0/1 Completed 0 75s
- hazelcast-84cc546755-w4lwc 1/1 Running 0 15s
- camel-example-hazelcast-kubernetes : $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement