Closed gazal-k closed 4 years ago
ATM Bitbucket won't work with jx boot
.
ATM Bitbucket won't work with
jx boot
.
I don't understand why there's documentation about setting it up using bitbucketcloud; https://jenkins-x.io/docs/getting-started/setup/boot/#bitbucket-cloud with lighthouse
I'm happy to report that after a bit of fiddling about I was able to setup jx using jx boot
on eks with bitbucketcloud
I'm not entirely sure what changes helped me get it working.
eksctl
jx version
isNAME VERSION
jx 2.0.838
Kubernetes cluster v1.13.10-eks-5ac0f1
kubectl v1.16.1
helm client Client: v2.14.3+g0e7f3b6
git 2.21.0
Operating System "Fedora release 30 (Thirty)"
Another minor issue I faced while setting up was when I had some ambiguous special characters in the admin password. I got these errors:
Copying the helm source directory ~/git/environment-<clusterName>-dev/env to a temporary location for building and applying /tmp/jx-helm-apply-256122755/env
Applying helm chart at /tmp/jx-helm-apply-256122755/env as release name jenkins-x to namespace jx
verifying the helm requirements versions in dir: . using version stream URL: https://github.com/jenkins-x/jenkins-x-versions.git and git ref: master
error: generating values.yaml for tree from /tmp/jx-helm-apply-256122755/env: unmarshaling /tmp/jx-helm-apply-256122755/env/parameters.yaml: error converting YAML to JSON: yaml: line 2: did not find expected ',' or ']'
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: ''
You reckon I should create another issue for that so that u guys can work in maybe some better error handling or pattern matching for the password to prevent that issue?
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://jenkins-x.io/community.
/lifecycle stale
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://jenkins-x.io/community.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://jenkins-x.io/community.
/lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
.
Mark the issue as fresh with /remove-lifecycle rotten
.
Provide feedback via https://jenkins-x.io/community.
/close
@jenkins-x-bot: Closing this issue.
@gazal-k I am trying install jx on my existing kubernetes cluster, i wanted to know how you created personal access token on bitbucket clould
Sorry @thetusharr, this was so long ago. Since then Jenkins X has changed a lot. Our SCM has also changed. We migrated from bitbucketcloud to GitHub. But I'm pretty sure lighthouse with it's usage of go-scm supports other SCMs much better now.
Check here: https://jenkins-x.io/docs/reference/components/lighthouse/ & https://github.com/jenkins-x/lighthouse
Summary
jx boot fails to create dev environment in bitbucketcloud
Steps to reproduce the behavior
changes in jx-requirements.yml
jx boot
Expected behavior
Installs Jenkins X in the EKS cluster with pipelines for the dev, staging and production environment
Actual behavior
Looks like most of the applications do get installed fine
But getting this error towards the end of the jx boot process
Trying to list pipelines shows:
Jx version
The output of
jx version
is:Jenkins type
Kubernetes cluster
EKS created using ClusterConfig similar to https://github.com/weaveworks/eksctl/blob/master/examples/eks-quickstart-app-dev.yaml
Operating system / Environment
Operating System "Fedora release 30 (Thirty)"