VERIFIED ============== jsingh@fugaku ~/.ssh oc create secret generic foo --from-file=ssh-privatekey=id_ed25519 --type=kubernetes.io/ssh-auth secret/foo created jsingh@fugaku ~/.ssh oc secret link builder foo jsingh@fugaku ~/.ssh oc annotate secret foo "build.openshift.io/source-secret-match-uri-1=ssh://github.com:22/jitendar-singh/*" secret/foo annotated secret/foo annotated zsh: no such file or directory: secret/foo ✘ jsingh@fugaku ~/.ssh oc annotate secret foo "build.openshift.io/source-secret-match-uri-1=ssh://github.com:22/jitendar-singh/*" secret/foo annotated error: all resources must be specified before annotation changes: secret/foo ✘ jsingh@fugaku ~/.ssh oc annotate secret foo "build.openshift.io/source-secret-match-uri-1=ssh://github.com:22/jitendar-singh/*" secret/foo error: all resources must be specified before annotation changes: secret/foo ✘ jsingh@fugaku ~/.ssh oc annotate secret foo "build.openshift.io/source-secret-match-uri-1=ssh://github.com:22/jitendar-singh/*" error: --overwrite is false but found the following declared annotation(s): 'build.openshift.io/source-secret-match-uri-1' already has a value (ssh://github.com:22/jitendar-singh/*) ✘ jsingh@fugaku ~/.ssh oc new-build ruby~ssh://git:22/jitendar-singh/repo.git --name=foo --> Found image 63e11dc (5 weeks old) in image stream "openshift/ruby" under tag "2.7-ubi8" for "ruby" Ruby 2.7 -------- Ruby 2.7 available as container is a base platform for building and running various Ruby 2.7 applications and frameworks. Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible. Tags: builder, ruby, ruby27, ruby-27 * A source build using source code from ssh://git:22/jitendar-singh/repo.git will be created * The resulting image will be pushed to image stream tag "foo:latest" * Use 'oc start-build' to trigger a new build --> Creating resources with label build=foo ... imagestream.image.openshift.io "foo" created buildconfig.build.openshift.io "foo" created --> Success jsingh@fugaku ~/.ssh oc logs bc/foo --follow Cloning "ssh://git:22/jitendar-singh/repo.git" ... Commit: 56eb276f78b90488781417874fdd044ddda1e67e (first commit) Author: jsingh <jitsingh> Date: Wed Aug 11 11:38:05 2021 +0530 Caching blobs under "/var/cache/blobs". Getting image source signatures Copying blob sha256:296e14ee24149e14d573a1fbf5b5a625c7bb0cc22f5b2a8b180e833258187948 Copying blob sha256:359fed170a21fd169953d50193bb1b9405d5e827bed42a220d154cadf794ac23 Copying blob sha256:356f18f3a935b2f226093720b65383048249413ed99da72c87d5be58cc46661c Copying blob sha256:19c7e0d23e1f527cfe0a0de0641d5988ce8188bea662289c92599c1d2a217614 Copying blob sha256:36f41b0644b452bfe54c7ab1fe5e6bd2b30aa82958508c23e02233de69faf3db Copying config sha256:63e11dcf1bc758d78ed6ee645bbf2cdfa31e85e1ed56e76bd735ceb970895172 Writing manifest to image destination Storing signatures Generating dockerfile with builder image image-registry.openshift-image-registry.svc:5000/openshift/ruby@sha256:41c6d94414e4dc58dcebca3689879871ad84ece255cd5e075fe8f7a1927b364f STEP 1: FROM image-registry.openshift-image-registry.svc:5000/openshift/ruby@sha256:41c6d94414e4dc58dcebca3689879871ad84ece255cd5e075fe8f7a1927b364f STEP 2: LABEL "io.openshift.build.commit.author"="jsingh <jitsingh>" "io.openshift.build.commit.date"="Wed Aug 11 11:38:05 2021 +0530" "io.openshift.build.commit.id"="56eb276f78b90488781417874fdd044ddda1e67e" "io.openshift.build.commit.ref"="main" "io.openshift.build.commit.message"="first commit" "io.openshift.build.source-location"="ssh://git:22/jitendar-singh/repo.git" "io.openshift.build.image"="image-registry.openshift-image-registry.svc:5000/openshift/ruby@sha256:41c6d94414e4dc58dcebca3689879871ad84ece255cd5e075fe8f7a1927b364f" STEP 3: ENV OPENSHIFT_BUILD_NAME="foo-1" OPENSHIFT_BUILD_NAMESPACE="default" OPENSHIFT_BUILD_SOURCE="ssh://git:22/jitendar-singh/repo.git" OPENSHIFT_BUILD_COMMIT="56eb276f78b90488781417874fdd044ddda1e67e" STEP 4: USER root STEP 5: COPY upload/src /tmp/src STEP 6: RUN chown -R 1001:0 /tmp/src time="2021-09-15T06:19:25Z" level=warning msg="Path \"/run/secrets/etc-pki-entitlement\" from \"/etc/containers/mounts.conf\" doesn't exist, skipping" time="2021-09-15T06:19:25Z" level=warning msg="Path \"/run/secrets/redhat.repo\" from \"/etc/containers/mounts.conf\" doesn't exist, skipping" STEP 7: USER 1001 STEP 8: RUN /usr/libexec/s2i/assemble time="2021-09-15T06:19:26Z" level=warning msg="Path \"/run/secrets/etc-pki-entitlement\" from \"/etc/containers/mounts.conf\" doesn't exist, skipping" time="2021-09-15T06:19:26Z" level=warning msg="Path \"/run/secrets/redhat.repo\" from \"/etc/containers/mounts.conf\" doesn't exist, skipping" ---> Installing application source ... ---> Building your Ruby application from source ... WARNING: Rubygem Rack is not installed in the present image. Add rack to your Gemfile in order to start the web server. STEP 9: CMD /usr/libexec/s2i/run STEP 10: COMMIT temp.builder.openshift.io/default/foo-1:672536e4 Getting image source signatures Copying blob sha256:e39c3abf0df93fca44921f3548fcf6e139afdcb2ac9b7baa6c47b39f87113b32 Copying blob sha256:8f26704f753cbe8b20afc01e97a4cb652befe26791b4d33193afc99ce544ebf5 Copying blob sha256:83310c7c677cb8ade9613896d0dc2f68f905792407d9b175801221756dfd3016 Copying blob sha256:694adc66f3fa07d76b12086cc88422f8d60894559536ffab50e0030fd7fa91c6 Copying blob sha256:f1b22bd955f8e87301623cc951acfeda3c9849a88f367aea3cc278f3c4d55edd Copying blob sha256:daa43127cb77723c651f6e4da01c82883b62601ff7f7b4e5ab44c0865c204e39 Copying config sha256:688c1cd511ff1c843dba286deebfa6365279ff1986d65ee59fd4c7232e939fcc Writing manifest to image destination Storing signatures --> 688c1cd511f 688c1cd511ff1c843dba286deebfa6365279ff1986d65ee59fd4c7232e939fcc Pushing image image-registry.openshift-image-registry.svc:5000/default/foo:latest ... Getting image source signatures Copying blob sha256:daa43127cb77723c651f6e4da01c82883b62601ff7f7b4e5ab44c0865c204e39 Copying blob sha256:356f18f3a935b2f226093720b65383048249413ed99da72c87d5be58cc46661c Copying blob sha256:359fed170a21fd169953d50193bb1b9405d5e827bed42a220d154cadf794ac23 Copying blob sha256:36f41b0644b452bfe54c7ab1fe5e6bd2b30aa82958508c23e02233de69faf3db Copying blob sha256:296e14ee24149e14d573a1fbf5b5a625c7bb0cc22f5b2a8b180e833258187948 Copying blob sha256:19c7e0d23e1f527cfe0a0de0641d5988ce8188bea662289c92599c1d2a217614 Copying config sha256:688c1cd511ff1c843dba286deebfa6365279ff1986d65ee59fd4c7232e939fcc Writing manifest to image destination Storing signatures Successfully pushed image-registry.openshift-image-registry.svc:5000/default/foo@sha256:d041ab804e2d7cb3d71927f80df06e7b9103667997c66fbc3fea6400b56f4ceb Push successful
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.7.31 bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:3510