Skip to content

ImageStream Jenkins is invalid on CRC  #957

@jbtrystram

Description

@jbtrystram

I am trying to deploy the pipeline locally on CRC

./deploy \ 
    --pipeline https://github.com/jbtrystram/fedora-coreos-pipeline 
Parameters:
  JENKINS_S2I_URL=https://github.com/jbtrystram/fedora-coreos-pipeline
  JENKINS_S2I_REF=main
  JENKINS_JOBS_URL=https://github.com/jbtrystram/fedora-coreos-pipeline
  JENKINS_JOBS_REF=main

Updating:
  configmap/jenkins-config created
The ImageStream "jenkins" is invalid: spec.tags[latest].importPolicy.scheduled: Invalid value: true: only tags pointing to Docker repositories may be scheduled for background import
Traceback (most recent call last):
  File "/var/home/jibou/coreos/playground/crc/fedora-coreos-pipeline/./deploy", line 161, in <module>
    sys.exit(main())
             ^^^^^^
  File "/var/home/jibou/coreos/playground/crc/fedora-coreos-pipeline/./deploy", line 25, in main
    update_resources(args, resources)
  File "/var/home/jibou/coreos/playground/crc/fedora-coreos-pipeline/./deploy", line 105, in update_resources
    out = subprocess.run([args.oc_cmd, action, '--filename', '-'],
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['oc', 'create', '--filename', '-']' returned non-zero exit status 1.

version info :

oc version       
Client Version: 4.14.8
Kustomize Version: v5.0.1
Kubernetes Version: v1.27.8+4fab27b
Openshift version:     4.14.8

Also: Warning: apps.openshift.io/v1 DeploymentConfig is deprecated in v4.14+, unavailable in v4.10000+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions