Jenkins X:尝试从非需求回购执行 'jx boot'
Jenkins X: trying to execute 'jx boot' from a non requirements repo
我正在尝试使用 jx boot
在现有的 Kubernetes 集群 (GKE) 上安装 Jenkins X,但它总是给我错误 trying to execute 'jx boot' from a non requirements repo
事实上,我已经尝试使用 jx install
,并且它有效,但是这个命令已经被标记为 deprecated,但我发现它仍然是在 Jenkins X 的 GitHub 页面上使用的方法。
然后是另一个细节......我实际上是在使用 Terraform 创建集群,因为我不喜欢 Jenkins X 为我创建集群的想法。我也想使用 Terraform 来安装 Jenkins X,但那将是另一个问题。 :)
那么如何使用 jx boot
安装以及什么是 non requirements repo
?
谢谢
您是否正在尝试从现有 git 存储库中执行 jx boot
?尝试从那里切换到一个空的、非 git 目录 运行 jx boot
。
jx
想要克隆 jenkins-x-boot-config 并创建您的开发存储库。它不能从现有存储库中执行此操作。
我注意到的一件事是 运行ning jx boot
在没有 jx-requirements.yml
的现有存储库中它会询问您是否要检查 Jenkins X 启动配置。
Creating boot config with defaults, as not in an existing boot directory with a git repository.
No Jenkins X pipeline file jenkins-x.yml or no jx boot requirements file jx-requirements.yml found. You are not running this command from inside a Jenkins X Boot git clone
To continue we will clone https://github.com/jenkins-x/jenkins-x-boot-config.git @ master to jenkins-x-boot-config
? Do you want to clone the Jenkins X Boot Git repository? [? for help] (Y/n)
我让它执行此结帐,然后让它崩溃或取消它。
我现在可以进入新的回购协议,根据需要对 jx-requirements.yml
和 运行 进行更改。
我正在尝试使用 jx boot
在现有的 Kubernetes 集群 (GKE) 上安装 Jenkins X,但它总是给我错误 trying to execute 'jx boot' from a non requirements repo
事实上,我已经尝试使用 jx install
,并且它有效,但是这个命令已经被标记为 deprecated,但我发现它仍然是在 Jenkins X 的 GitHub 页面上使用的方法。
然后是另一个细节......我实际上是在使用 Terraform 创建集群,因为我不喜欢 Jenkins X 为我创建集群的想法。我也想使用 Terraform 来安装 Jenkins X,但那将是另一个问题。 :)
那么如何使用 jx boot
安装以及什么是 non requirements repo
?
谢谢
您是否正在尝试从现有 git 存储库中执行 jx boot
?尝试从那里切换到一个空的、非 git 目录 运行 jx boot
。
jx
想要克隆 jenkins-x-boot-config 并创建您的开发存储库。它不能从现有存储库中执行此操作。
我注意到的一件事是 运行ning jx boot
在没有 jx-requirements.yml
的现有存储库中它会询问您是否要检查 Jenkins X 启动配置。
Creating boot config with defaults, as not in an existing boot directory with a git repository.
No Jenkins X pipeline file jenkins-x.yml or no jx boot requirements file jx-requirements.yml found. You are not running this command from inside a Jenkins X Boot git clone
To continue we will clone https://github.com/jenkins-x/jenkins-x-boot-config.git @ master to jenkins-x-boot-config
? Do you want to clone the Jenkins X Boot Git repository? [? for help] (Y/n)
我让它执行此结帐,然后让它崩溃或取消它。
我现在可以进入新的回购协议,根据需要对 jx-requirements.yml
和 运行 进行更改。