Jx: How to add new environments using jx boot

Created on 17 Apr 2020  路  8Comments  路  Source: jenkins-x/jx

Summary

It should be easy to add new environments

Steps to reproduce the behavior

add a new key under "environments" in jx-requirements.yml

environments:
    key:  fishing

Expected behavior

The environment is created, just like staging and production

Actual behavior

Nothing happens

Jx version

The output of jx version is:

NAME               VERSION
jx                 2.0.1284
Kubernetes cluster v1.15.10-eks-bac369
kubectl            v1.16.2
helm client        2.14.3
git                2.18.0
Operating System   Mac OS X 10.14.6 build 18G3020

Kubernetes cluster

EKS, kubernetes 1.15

areenvironment kinenhancement lifecyclrotten prioritimportant-soon

Most helpful comment

All 8 comments

The current way to do this is described here, https://jenkins-x.io/docs/managing-jx/faq/boot/#how-do-i-add-new-environments

@babadofar as part of the migration to boot, this one was never really finalized. We will look at it and you should be aware of upcoming remote clusters.

Note that I've linked a related issue I reported (https://github.com/jenkins-x/jx/issues/7281) asking to enhance the "jx delete environment" so that it also removes the associated GitHub repository.

Probably something to consider when implementing the equivalents in jx boot.

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.

In response to this:

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

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

Was this page helpful?
0 / 5 - 0 ratings