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

jx boot throws up on <.Requirements.repository> #6011

Closed
1 of 2 tasks
rudolph9 opened this issue Nov 1, 2019 · 3 comments · Fixed by #6013
Closed
1 of 2 tasks

jx boot throws up on <.Requirements.repository> #6011

rudolph9 opened this issue Nov 1, 2019 · 3 comments · Fixed by #6013
Assignees
Labels
area/boot issues in the `jx boot` command kind/bug Issue is a bug priority/critical
Milestone

Comments

@rudolph9
Copy link

rudolph9 commented Nov 1, 2019

Summary

The follow error is introduced by https://github.com/jenkins-x/jenkins-x-boot-config/releases/tag/v1.0.39

$ jx boot
.
.
.
? A local Jenkins X versions repository already exists, pulling the latest: Yes                                    
error: generating values.yaml for tree from /tmp/jx-helm-apply-609452780/env: failed to execute Secrets template: /tmp/jx-helm-apply-609452780/env/bucketrepo/values.tmpl.yaml: template: values.tmpl.yaml:1:23: executing "values.tmpl.yaml" at <.Requirements.repository>: map has no entry for key "repository"
error: failed to interpret pipeline file jenkins-x.yml: failed to run '/bin/sh -c jx step helm apply --boot --remote --name jenkins-x --provider-values-dir ../kubeProviders' command in directory 'env', output: ''

Steps to reproduce the behavior

jx boot with environment-clustername-dev repo based on https://github.com/jenkins-x/jenkins-x-boot-config/releases/tag/v1.0.39

Expected behavior

No error

Actual behavior

The error described in the summary

Jx version

The output of jx version is:

$ jx --version
2.0.937

Jenkins type

  • Serverless Jenkins X Pipelines (Tekton + Prow)
  • Classic Jenkins

Kubernetes cluster

gke create with jx create cluster gke

Operating system / Environment

Ubuntu 18.04

@abayer
Copy link
Contributor

abayer commented Nov 2, 2019

Ha! We hit this ourselves in our version stream tests last night, and I got a fix up - it should get merged today. Sorry for the hassle!

@sfynx
Copy link

sfynx commented Nov 2, 2019

I still get this error unless I explicitly add repository: nexus in my requirements file (it is not by default in the boot repo).

@abayer
Copy link
Contributor

abayer commented Nov 2, 2019

Yeah, it's fixed in the latest pre-release jx binary, but that won't get promoted to released until our comprehensive version stream tests run tonight. So if you update your jx binary tomorrow, you should be good. Sorry again for the inconvenience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/boot issues in the `jx boot` command kind/bug Issue is a bug priority/critical
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants