Uploaded image for project: 'CentOS Stream Pipeline'
  1. CentOS Stream Pipeline
  2. CS-2342

No default runner image on gitlab.com private runner

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • None
    • False
    • Testable
    • Low

      I'm using tags

        tags:
          - redhat
          - internal
          - openshift
      

      in my publishing step so that I can trigger an COPR build on copr.devel.redhat.com. I think that these are owned by the same team as the other runners?

      I didn't specify an image and got a failure https://gitlab.com/redhat/rhel/sst/kernel-maintainers/kmt/-/jobs/7257064566

       Running with gitlab-runner 16.7.0 (102c81ba)
        on gitlab-private-rpms-runner-runner-74559cbc56-8pdrk aQ8ERW88m, system ID: r_e3mTkyzNCJDq
      Resolving secrets
      00:00
      Preparing the "kubernetes" executor
      00:09
      ERROR: Preparation failed: check defaults error: no image specified and no default set in config
      

      This is different from the regular runners, which seem to be configured to use ruby (which I think is the default gitlab base environment), e.g. https://gitlab.com/redhat/rhel/sst/kernel-maintainers/kmt/-/jobs/7257064559

      Running with gitlab-runner 17.0.0~pre.88.g761ae5dd (761ae5dd)
        on green-2.saas-linux-small-amd64.runners-manager.gitlab.com/default ns46NMmJ, system ID: s_85d7af184313
      Resolving secrets
      Preparing the "docker+machine" executor
      00:20
      Using Docker executor with image ruby:3.1 ...
      Pulling docker image ruby:3.1 ...
      

      So this is just a suggestion to setup a default image for this environment that matches the other runners, just so that they behave more alike.

              Unassigned Unassigned
              rhn-engineering-iwienand Ian Wienand
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: