Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageStream Jenkins is invalid on CRC #957

Open
jbtrystram opened this issue Feb 13, 2024 · 0 comments
Open

ImageStream Jenkins is invalid on CRC #957

jbtrystram opened this issue Feb 13, 2024 · 0 comments

Comments

@jbtrystram
Copy link
Contributor

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+

jbtrystram added a commit to jbtrystram/fedora-coreos-pipeline that referenced this issue Feb 13, 2024
jbtrystram added a commit to jbtrystram/fedora-coreos-pipeline that referenced this issue Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant