How do I change a promotion strategy in one of my Jenkins X environments?Update build podTemplate for Jenkins XIssue with jenkins X promotionCreate a Amazon EKS cluster with jenkins-x and cluster-autoscaler gives fails ingress on even number of nodesIs Jenkins-X and Jenkins Helm chart same?Jenkins-X: How to link external service in preview environmentwhy do you need to have staging and production on the same K8 instance when using Jenkins xJenkins X per environment values.yamlCreating a new Jenkins X loginJenkins X use secrets in Preview environmentsJenkins X extraValues.yaml overrides helm values in preview environment
Is refusing to concede in the face of an unstoppable Nexus combo punishable?
Is there a known non-euclidean geometry where two concentric circles of different radii can intersect? (as in the novel "The Universe Between")
Can pay be witheld for hours cleaning up after closing time?
What is the hex versus octal timeline?
Can you help me understand Modes from the aspect of chord changes?
What does it mean to have a subnet mask /32?
Why is Boris Johnson visiting only Paris & Berlin if every member of the EU needs to agree on a withdrawal deal?
Why does my house heat up, even when it's cool outside?
How to compare two different formulations of a problem?
If the first law of thermodynamics ensures conservation of energy, why does it allow systems to lose energy?
Sleeping solo in a double sleeping bag
Table caption in the middle of the table
Avoiding racist tropes in fantasy
The teacher logged me in as administrator for doing a short task, is the whole system now compromised?
In the MCU, why does Mjölnir retain its enchantments after Ragnarok?
How can I watch the 17th (or last, if less) line in files of a folder?
In an emergency, how do I find and share my position?
Mathematical uses of string theory
What professions would a medieval village with a population of 100 need?
Shouldn't the "credit score" prevent Americans from going deeper and deeper into personal debt?
Efficiently pathfinding many flocking enemies around obstacles
Why did this happen to Thanos's ships at the end of "Avengers: Endgame"?
Why don't we use Cavea-B
Is it safe to remove the bottom chords of a series of garage roof trusses?
How do I change a promotion strategy in one of my Jenkins X environments?
Update build podTemplate for Jenkins XIssue with jenkins X promotionCreate a Amazon EKS cluster with jenkins-x and cluster-autoscaler gives fails ingress on even number of nodesIs Jenkins-X and Jenkins Helm chart same?Jenkins-X: How to link external service in preview environmentwhy do you need to have staging and production on the same K8 instance when using Jenkins xJenkins X per environment values.yamlCreating a new Jenkins X loginJenkins X use secrets in Preview environmentsJenkins X extraValues.yaml overrides helm values in preview environment
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I've used the "jx create spring -d web -d actuator" command to create a simple Spring java application but I can't figure out how I'd change the promotion strategy from Auto to Manual. Can't see how it's being set in the environment configuration.
https://jenkins-x.io/about/features/#promotion
jenkins--x
add a comment |
I've used the "jx create spring -d web -d actuator" command to create a simple Spring java application but I can't figure out how I'd change the promotion strategy from Auto to Manual. Can't see how it's being set in the environment configuration.
https://jenkins-x.io/about/features/#promotion
jenkins--x
add a comment |
I've used the "jx create spring -d web -d actuator" command to create a simple Spring java application but I can't figure out how I'd change the promotion strategy from Auto to Manual. Can't see how it's being set in the environment configuration.
https://jenkins-x.io/about/features/#promotion
jenkins--x
I've used the "jx create spring -d web -d actuator" command to create a simple Spring java application but I can't figure out how I'd change the promotion strategy from Auto to Manual. Can't see how it's being set in the environment configuration.
https://jenkins-x.io/about/features/#promotion
jenkins--x
jenkins--x
asked Mar 27 at 16:25
icewhiteicewhite
2062 silver badges13 bronze badges
2062 silver badges13 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
you can use jx edit env
to edit your Environment
configurations. Or you can use kubectl edit env staging
if you want and edit the custom resource directly.
See: https://jenkins-x.io/commands/jx_edit_environment/
would it be something likejx edit env -n staging --promotion automatic
??
– Michael Neale
Mar 27 at 21:12
Thanks James. Running the commandjx edit env -b -n staging -p Manual
works, but I'm wondering how this applied to the github environment repo. Just keen to do it the 'GitOps' way. Loving JX BTW! ;-)
– icewhite
Mar 28 at 9:43
we're just finishing up using GitOps to manage the installation of Jenkins X itself; you can try it out creating a clusterjx create cluster gke --ng
and then a git repository is created for thedev
environment so we can manage upgrading/configuring Jenkins X in the same GitOps style. In this case you can modify the environment configurations in theenv/templates/staging-env.yaml
etc
– James Strachan
Mar 29 at 8:37
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55382102%2fhow-do-i-change-a-promotion-strategy-in-one-of-my-jenkins-x-environments%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
you can use jx edit env
to edit your Environment
configurations. Or you can use kubectl edit env staging
if you want and edit the custom resource directly.
See: https://jenkins-x.io/commands/jx_edit_environment/
would it be something likejx edit env -n staging --promotion automatic
??
– Michael Neale
Mar 27 at 21:12
Thanks James. Running the commandjx edit env -b -n staging -p Manual
works, but I'm wondering how this applied to the github environment repo. Just keen to do it the 'GitOps' way. Loving JX BTW! ;-)
– icewhite
Mar 28 at 9:43
we're just finishing up using GitOps to manage the installation of Jenkins X itself; you can try it out creating a clusterjx create cluster gke --ng
and then a git repository is created for thedev
environment so we can manage upgrading/configuring Jenkins X in the same GitOps style. In this case you can modify the environment configurations in theenv/templates/staging-env.yaml
etc
– James Strachan
Mar 29 at 8:37
add a comment |
you can use jx edit env
to edit your Environment
configurations. Or you can use kubectl edit env staging
if you want and edit the custom resource directly.
See: https://jenkins-x.io/commands/jx_edit_environment/
would it be something likejx edit env -n staging --promotion automatic
??
– Michael Neale
Mar 27 at 21:12
Thanks James. Running the commandjx edit env -b -n staging -p Manual
works, but I'm wondering how this applied to the github environment repo. Just keen to do it the 'GitOps' way. Loving JX BTW! ;-)
– icewhite
Mar 28 at 9:43
we're just finishing up using GitOps to manage the installation of Jenkins X itself; you can try it out creating a clusterjx create cluster gke --ng
and then a git repository is created for thedev
environment so we can manage upgrading/configuring Jenkins X in the same GitOps style. In this case you can modify the environment configurations in theenv/templates/staging-env.yaml
etc
– James Strachan
Mar 29 at 8:37
add a comment |
you can use jx edit env
to edit your Environment
configurations. Or you can use kubectl edit env staging
if you want and edit the custom resource directly.
See: https://jenkins-x.io/commands/jx_edit_environment/
you can use jx edit env
to edit your Environment
configurations. Or you can use kubectl edit env staging
if you want and edit the custom resource directly.
See: https://jenkins-x.io/commands/jx_edit_environment/
answered Mar 27 at 16:30
James StrachanJames Strachan
8,67129 silver badges30 bronze badges
8,67129 silver badges30 bronze badges
would it be something likejx edit env -n staging --promotion automatic
??
– Michael Neale
Mar 27 at 21:12
Thanks James. Running the commandjx edit env -b -n staging -p Manual
works, but I'm wondering how this applied to the github environment repo. Just keen to do it the 'GitOps' way. Loving JX BTW! ;-)
– icewhite
Mar 28 at 9:43
we're just finishing up using GitOps to manage the installation of Jenkins X itself; you can try it out creating a clusterjx create cluster gke --ng
and then a git repository is created for thedev
environment so we can manage upgrading/configuring Jenkins X in the same GitOps style. In this case you can modify the environment configurations in theenv/templates/staging-env.yaml
etc
– James Strachan
Mar 29 at 8:37
add a comment |
would it be something likejx edit env -n staging --promotion automatic
??
– Michael Neale
Mar 27 at 21:12
Thanks James. Running the commandjx edit env -b -n staging -p Manual
works, but I'm wondering how this applied to the github environment repo. Just keen to do it the 'GitOps' way. Loving JX BTW! ;-)
– icewhite
Mar 28 at 9:43
we're just finishing up using GitOps to manage the installation of Jenkins X itself; you can try it out creating a clusterjx create cluster gke --ng
and then a git repository is created for thedev
environment so we can manage upgrading/configuring Jenkins X in the same GitOps style. In this case you can modify the environment configurations in theenv/templates/staging-env.yaml
etc
– James Strachan
Mar 29 at 8:37
would it be something like
jx edit env -n staging --promotion automatic
??– Michael Neale
Mar 27 at 21:12
would it be something like
jx edit env -n staging --promotion automatic
??– Michael Neale
Mar 27 at 21:12
Thanks James. Running the command
jx edit env -b -n staging -p Manual
works, but I'm wondering how this applied to the github environment repo. Just keen to do it the 'GitOps' way. Loving JX BTW! ;-)– icewhite
Mar 28 at 9:43
Thanks James. Running the command
jx edit env -b -n staging -p Manual
works, but I'm wondering how this applied to the github environment repo. Just keen to do it the 'GitOps' way. Loving JX BTW! ;-)– icewhite
Mar 28 at 9:43
we're just finishing up using GitOps to manage the installation of Jenkins X itself; you can try it out creating a cluster
jx create cluster gke --ng
and then a git repository is created for the dev
environment so we can manage upgrading/configuring Jenkins X in the same GitOps style. In this case you can modify the environment configurations in the env/templates/staging-env.yaml
etc– James Strachan
Mar 29 at 8:37
we're just finishing up using GitOps to manage the installation of Jenkins X itself; you can try it out creating a cluster
jx create cluster gke --ng
and then a git repository is created for the dev
environment so we can manage upgrading/configuring Jenkins X in the same GitOps style. In this case you can modify the environment configurations in the env/templates/staging-env.yaml
etc– James Strachan
Mar 29 at 8:37
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55382102%2fhow-do-i-change-a-promotion-strategy-in-one-of-my-jenkins-x-environments%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown